HAL_ChibiOS: added fmuv4-beta hardware definition

for an old pixracer quad I have (and I believe Peter has one too)
This commit is contained in:
Andrew Tridgell 2018-04-02 10:46:35 +10:00
parent 1fc0047fd9
commit 751c3a554a

View File

@ -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