a small request

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

a small request

Chris Efstathiou
Hi.

I would love to have the OPEN PILOT REVO MINI autopilot board also added
to the baro_board.makefile soi won't have to edit it when a new release
comes.

Chris

Here is the part i want added

# OpenPilot Revo mini
else ifeq ($(BOARD), openpilot_revo_mini)
   BARO_BOARD_CFLAGS += -DUSE_I2C1
   BARO_BOARD_CFLAGS += -DBB_MS5611_I2C_DEV=i2c1
   BARO_BOARD_CFLAGS += -DBB_MS5611_SLAVE_ADDR=0xEE

   BARO_BOARD_CFLAGS += -DBARO_BOARD=BARO_MS5611_I2C
   BARO_BOARD_SRCS += peripherals/ms5611.c
   BARO_BOARD_SRCS += peripherals/ms5611_i2c.c
   BARO_BOARD_SRCS += boards/baro_board_ms5611_i2c.c


There is already an OPENPILOT REVO BOARD but it is the one with the 433
mhz radio incluided

# OpenPilot Revo
else ifeq ($(BOARD), openpilot_revo)
   ifeq ($(BOARD_VERSION), nano)
     BARO_BOARD_CFLAGS += -DUSE_I2C3
     BARO_BOARD_CFLAGS += -DBB_MS5611_I2C_DEV=i2c3
     #BARO_BOARD_CFLAGS += -DBB_MS5611_SLAVE_ADDR=0xEC
   else
     BARO_BOARD_CFLAGS += -DUSE_I2C1
     BARO_BOARD_CFLAGS += -DBB_MS5611_I2C_DEV=i2c1
   endif
   BARO_BOARD_CFLAGS += -DBARO_BOARD=BARO_MS5611_I2C
   BARO_BOARD_SRCS += peripherals/ms5611.c
   BARO_BOARD_SRCS += peripherals/ms5611_i2c.c
   BARO_BOARD_SRCS += boards/baro_board_ms5611_i2c.c


_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel