hwdef: tidy AP_Radio includes

This commit is contained in:
Peter Barker 2024-02-01 16:45:16 +11:00 committed by Peter Barker
parent 85439360d7
commit 0d26118b12
3 changed files with 12 additions and 0 deletions

View File

@ -110,6 +110,10 @@ IMU Invensense SPI:icm20789 ROTATION_NONE
define HAL_GPIO_RADIO_IRQ 100
define HAL_RCINPUT_WITH_AP_RADIO 1
define AP_RADIO_BACKEND_DEFAULT_ENABLED 0
define AP_RADIO_CC2500_ENABLED 1
define AP_RADIO_CYRF6936_ENABLED 1
STORAGE_FLASH_PAGE 1
define HAL_STORAGE_SIZE 15360

View File

@ -100,6 +100,11 @@ IMU Invensense I2C:1:0x68 ROTATION_NONE
define HAL_GPIO_RADIO_IRQ 100
define HAL_RCINPUT_WITH_AP_RADIO 1
define AP_RADIO_BACKEND_DEFAULT_ENABLED 0
define AP_RADIO_CC2500_ENABLED 1
define AP_RADIO_CYRF6936_ENABLED 1
define AP_RADIO_BK2425_ENABLED 1
STORAGE_FLASH_PAGE 1
define HAL_STORAGE_SIZE 15360

View File

@ -32,6 +32,9 @@ SERIAL_ORDER OTG1 USART2 EMPTY UART4
# enable AP_Radio support
define HAL_RCINPUT_WITH_AP_RADIO 1
define AP_RADIO_BACKEND_DEFAULT_ENABLED 0
define AP_RADIO_CC2500_ENABLED 1
define AP_RADIO_CYRF6936_ENABLED 1
define HAL_GPIO_RADIO_RESET 1 // PB0 GPIO from FMU3