HAL_ChibiOS: enable sensors in peripheral firmwares
This commit is contained in:
parent
fa76d1fbe6
commit
64921b64f5
@ -78,10 +78,12 @@ define HAL_I2C_INTERNAL_MASK 0
|
|||||||
I2C_ORDER I2C3
|
I2C_ORDER I2C3
|
||||||
|
|
||||||
# IST compass
|
# IST compass
|
||||||
COMPASS IST8310 I2C:0:0x0C false ROTATION_NONE
|
|
||||||
COMPASS IST8310 I2C:0:0x0D false ROTATION_NONE
|
|
||||||
COMPASS IST8310 I2C:0:0x0E false ROTATION_NONE
|
COMPASS IST8310 I2C:0:0x0E false ROTATION_NONE
|
||||||
COMPASS IST8310 I2C:0:0x0F false ROTATION_NONE
|
|
||||||
|
# BMP388 baro
|
||||||
|
BARO BMP388 I2C:0:0x76
|
||||||
|
|
||||||
|
define HAL_BARO_ALLOW_INIT_NO_BARO
|
||||||
|
|
||||||
define HAL_USE_ADC FALSE
|
define HAL_USE_ADC FALSE
|
||||||
define STM32_ADC_USE_ADC1 FALSE
|
define STM32_ADC_USE_ADC1 FALSE
|
||||||
|
@ -141,3 +141,7 @@ define HAL_I2C_INTERNAL_MASK 0
|
|||||||
# disable dual GPS and GPS blending to save flash space
|
# disable dual GPS and GPS blending to save flash space
|
||||||
define GPS_MAX_RECEIVERS 1
|
define GPS_MAX_RECEIVERS 1
|
||||||
define GPS_MAX_INSTANCES 1
|
define GPS_MAX_INSTANCES 1
|
||||||
|
|
||||||
|
# GPS+MAG
|
||||||
|
define HAL_PERIPH_ENABLE_GPS
|
||||||
|
define HAL_PERIPH_ENABLE_MAG
|
||||||
|
Loading…
Reference in New Issue
Block a user