add empty mkk arch stub for sim

This commit is contained in:
Felix Ruess
2010-04-21 14:58:30 +00:00
parent 06b5ba2e16
commit d25044832e
3 changed files with 35 additions and 2 deletions
@@ -41,7 +41,8 @@ ap.CFLAGS += -DUSE_I2C1
endif
# Simulator
sim.srcs += $(SRC_BOOZ)/actuators/booz_actuators_mkk.c
sim.srcs += $(SRC_BOOZ)/actuators/booz_supervision.c
sim.srcs += $(SRC_BOOZ)/actuators/booz_actuators_mkk.c
sim.srcs += $(SRC_BOOZ_SIM)/actuators/booz_actuators_mkk_arch.c
sim.CFLAGS += -DUSE_I2C0 -DI2C0_SCLL=150 -DI2C0_SCLH=150 -DI2C0_VIC_SLOT=10
sim.srcs += i2c.c $(SRC_ARCH)/i2c_hw.c
sim.srcs += i2c.c $(SRC_ARCH)/i2c_hw.c
@@ -0,0 +1,3 @@
#include "actuators/booz_actuators_mkk.h"
void booz_actuators_mkk_arch_init(void) {}
@@ -0,0 +1,29 @@
/*
* $Id$
*
* Copyright (C) 2009 Antoine Drouin <poinix@gmail.com>
*
* This file is part of paparazzi.
*
* paparazzi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* paparazzi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with paparazzi; see the file COPYING. If not, write to
* the Free Software Foundation, 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef BOOZ_ACTUATORS_MKK_ARCH_H
#define BOOZ_ACTUATORS_MKK_ARCH_H
#define BoozActuatorsMkkArchSend() {}
#endif /* BOOZ_ACTUATORS_MKK_ARCH_H */