From ecf93f6d86036125202136ea4eddf6e3aabb096a Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 7 Mar 2024 17:05:34 +1100 Subject: [PATCH] hwdef: remove redundant defines from hwdefs this is set in the periph defaults file --- libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat | 1 - libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat | 1 - libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat | 4 ---- 3 files changed, 6 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat index 57a1c2684f..4952b98e52 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat @@ -87,7 +87,6 @@ define HAL_NO_GPIO_IRQ # avoid RCIN thread to save memory define HAL_USE_RTC FALSE define DMA_RESERVE_SIZE 0 -define PERIPH_FW TRUE # enable CAN support PA11 CAN1_RX CAN1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat index 042a8a0a09..79cb3ce542 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat @@ -98,7 +98,6 @@ define HAL_NO_GPIO_IRQ # avoid RCIN thread to save memory define HAL_USE_RTC TRUE define DMA_RESERVE_SIZE 0 -define PERIPH_FW TRUE # enable CAN support PB8 CAN1_RX CAN1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat index 373df3048c..b8d89d3226 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/kha_eth/hwdef.dat @@ -132,10 +132,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE #define HAL_NO_GPIO_IRQ define HAL_PERIPH_SHOW_SERIAL_MANAGER_PARAMS - -define PERIPH_FW TRUE -#define NO_DATAFLASH TRUE - ################################# # AP_Periph - configurations specific to this App #################################