2021-05-19 23:17:46 -03:00
|
|
|
include ../f103-periph/hwdef.inc
|
2019-10-02 05:47:08 -03:00
|
|
|
|
|
|
|
|
2019-10-31 17:57:14 -03:00
|
|
|
# and support all external compass types
|
|
|
|
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
2023-02-11 01:14:02 -04:00
|
|
|
# .... except BMM150:
|
|
|
|
define AP_COMPASS_BMM150_ENABLED 0
|
2019-10-31 17:57:14 -03:00
|
|
|
|
2019-11-06 03:25:34 -04:00
|
|
|
# increase TX size for RTCM
|
|
|
|
undef HAL_UART_MIN_TX_SIZE
|
|
|
|
define HAL_UART_MIN_TX_SIZE 256
|
|
|
|
|
2022-04-09 20:17:23 -03:00
|
|
|
# GPS
|
2019-10-02 05:47:08 -03:00
|
|
|
define HAL_PERIPH_ENABLE_GPS
|
2022-04-09 20:17:23 -03:00
|
|
|
# restrict backends available on f103:
|
|
|
|
define AP_GPS_NOVA_ENABLED 0
|
|
|
|
define AP_GPS_SBF_ENABLED 0
|
|
|
|
define AP_GPS_GSOF_ENABLED 0
|
|
|
|
|
|
|
|
# MAG
|
2019-10-02 05:47:08 -03:00
|
|
|
define HAL_PERIPH_ENABLE_MAG
|
2020-12-22 04:16:12 -04:00
|
|
|
#define HAL_PERIPH_ENABLE_NCP5623_LED_WITHOUT_NOTIFY
|
|
|
|
define HAL_PERIPH_ENABLE_TOSHIBA_LED_WITHOUT_NOTIFY
|