2020-02-16 18:46:58 -04:00
|
|
|
include ../f303-periph/hwdef.dat
|
|
|
|
|
2020-02-16 19:31:07 -04:00
|
|
|
# start as DNA
|
|
|
|
define HAL_CAN_DEFAULT_NODE_ID 0
|
2020-02-16 18:46:58 -04:00
|
|
|
|
|
|
|
define CAN_APP_NODE_NAME "org.ardupilot.mro_m10025"
|
|
|
|
|
|
|
|
# added rm3100 mag on SPI
|
|
|
|
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
|
|
|
|
COMPASS RM3100 SPI:rm3100 false ROTATION_NONE
|
|
|
|
|
|
|
|
# an I2C baro (DPS310)
|
2020-07-09 05:15:37 -03:00
|
|
|
BARO DPS310 I2C:0:0x77
|
2020-02-16 18:46:58 -04:00
|
|
|
|
|
|
|
# GPS+MAG+LED+Baro
|
|
|
|
define HAL_PERIPH_ENABLE_GPS
|
|
|
|
define HAL_PERIPH_ENABLE_MAG
|
2020-12-22 04:16:12 -04:00
|
|
|
define HAL_PERIPH_ENABLE_NCP5623_BGR_LED_WITHOUT_NOTIFY
|
2020-02-16 18:46:58 -04:00
|
|
|
define HAL_PERIPH_ENABLE_BARO
|
|
|
|
# I2C Airspeed sensor must use a different address than 0x77
|
|
|
|
define HAL_PERIPH_ENABLE_AIRSPEED
|
|
|
|
|
|
|
|
# Safety button
|
|
|
|
PC13 SAFE_BUTTON INPUT PULLUP
|
|
|
|
# Button is active LOW
|
|
|
|
define HAL_SAFE_BUTTON_ON 0
|