2019-10-02 05:47:08 -03:00
|
|
|
include ../f103-periph/hwdef.dat
|
|
|
|
|
2020-05-11 02:55:16 -03:00
|
|
|
# use DNA
|
|
|
|
define HAL_CAN_DEFAULT_NODE_ID 0
|
2019-10-02 05:47:08 -03:00
|
|
|
|
|
|
|
define CAN_APP_NODE_NAME "org.ardupilot.ap_periph_gps"
|
|
|
|
|
2020-05-11 02:55:16 -03:00
|
|
|
# added rm3100 mag on SPI
|
|
|
|
SPIDEV rm3100 SPI1 DEVID1 MAG_CS MODE0 1*MHZ 1*MHZ
|
|
|
|
COMPASS RM3100 SPI:rm3100 false ROTATION_NONE
|
|
|
|
|
|
|
|
# and support all external compass types
|
|
|
|
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
|
|
|
|
|
|
|
# increase TX size for RTCM
|
|
|
|
undef HAL_UART_MIN_TX_SIZE
|
|
|
|
define HAL_UART_MIN_TX_SIZE 256
|
|
|
|
|
2019-10-02 05:47:08 -03:00
|
|
|
# GPS+MAG
|
|
|
|
define HAL_PERIPH_ENABLE_GPS
|
|
|
|
define HAL_PERIPH_ENABLE_MAG
|
2019-10-18 21:28:26 -03:00
|
|
|
define HAL_PERIPH_ENABLE_NCP5623_LED
|