Browse Source

HAL_ChibiOS: added fmuv4-beta hardware definition

for an old pixracer quad I have (and I believe Peter has one too)
mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
751c3a554a
  1. 14
      libraries/AP_HAL_ChibiOS/hwdef/fmuv4-beta/hwdef.dat

14
libraries/AP_HAL_ChibiOS/hwdef/fmuv4-beta/hwdef.dat

@ -0,0 +1,14 @@ @@ -0,0 +1,14 @@
# hardware config for early beta pixracer boards (prior to R12)
include ../fmuv4/hwdef.dat
# SPI2 SCK is on PB13
#define GPIO_SPI2_SCK (GPIO_SPI2_SCK_2|GPIO_SPEED_50MHz)
undef SPI2_SCK
PB13 SPI2_SCK SPI2
# note that PC13 (SBUS invert) is active low on this board
# baro is on main sensors bus
define HAL_BARO_MS5611_SPI_INT_NAME "ms5611_int2"
SPIDEV ms5611_int2 SPI1 DEVID3 BARO_CS MODE3 20*MHZ 20*MHZ
Loading…
Cancel
Save