2018-04-01 21:46:35 -03:00
|
|
|
# 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
|
2018-07-05 01:16:25 -03:00
|
|
|
undef PB13
|
2018-04-01 21:46:35 -03:00
|
|
|
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
|