From a647cd9b8f8a1460997e603a22e9f077fe291d40 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 27 Jun 2022 16:50:56 +1000 Subject: [PATCH] hwdef: remove redundant 'define HAL_MINIMIZE_FEATURES 0' --- libraries/AP_HAL_ChibiOS/hwdef/BirdCANdy/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/G4-ESC/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/MatekL431/hwdef.inc | 1 - libraries/AP_HAL_ChibiOS/hwdef/Nucleo-G491/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/Nucleo-L476/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat | 1 - 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/Sierra-L431/hwdef.dat | 1 - libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.inc | 2 -- libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.inc | 2 -- libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat | 2 -- libraries/AP_HAL_ChibiOS/hwdef/mRo-M10095/hwdef.dat | 2 -- 23 files changed, 41 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/BirdCANdy/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/BirdCANdy/hwdef.dat index 1e37717eea..4348ab6a3b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/BirdCANdy/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/BirdCANdy/hwdef.dat @@ -105,8 +105,6 @@ define HAL_GCS_ENABLED 0 define HAL_NO_LOGGING define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 768 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat index 21ce328497..d4c17abc91 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CUAV_GPS/hwdef.dat @@ -132,8 +132,6 @@ define CAN_APP_NODE_NAME "org.ardupilot.cuav_gps" define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 768 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat index 54d9928d96..126ebd6786 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/FreeflyRTK/hwdef.dat @@ -120,8 +120,6 @@ define CAN_APP_NODE_NAME "org.ardupilot.FreeflyRTK" define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 768 # we setup a small defaults.parm diff --git a/libraries/AP_HAL_ChibiOS/hwdef/G4-ESC/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/G4-ESC/hwdef.dat index d43e0ecf6d..4042240ca8 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/G4-ESC/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/G4-ESC/hwdef.dat @@ -135,8 +135,6 @@ define HAL_UART_STACK_SIZE 0x200 define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 0x200 define STORAGE_THD_WA_SIZE 512 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat index ab5ae7a84b..8c49b59086 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef.dat @@ -71,8 +71,6 @@ define HAL_DISABLE_LOOP_DELAY define USB_USE_WAIT TRUE define HAL_USE_USB_MSD TRUE -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 2048 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat index b5e5496614..2a8110c785 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Hitec-Airspeed/hwdef.dat @@ -92,8 +92,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 0x200 define STORAGE_THD_WA_SIZE 512 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat index 1af1bed87d..312495b0b7 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HitecMosaic/hwdef.dat @@ -110,8 +110,6 @@ define HAL_UART_STACK_SIZE 0x200 define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - # only one I2C bus I2C_ORDER I2C1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat index f153af02e0..9fb7e7f738 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat @@ -131,8 +131,6 @@ define CAN_APP_NODE_NAME "org.ardupilot.HolybroG4_GPS" define HAL_NO_LOGGING define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 768 # we setup a small defaults.parm diff --git a/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat index 1ecc334d96..6c73e5f3d5 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat @@ -142,8 +142,6 @@ define CAN_APP_NODE_NAME "org.ardupilot.HolybroGPS" define HAL_NO_LOGGING define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 768 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/MatekL431/hwdef.inc b/libraries/AP_HAL_ChibiOS/hwdef/MatekL431/hwdef.inc index 2e5d1f2d8b..131207d14b 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/MatekL431/hwdef.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/MatekL431/hwdef.inc @@ -43,7 +43,6 @@ define HAL_DISABLE_LOOP_DELAY define HAL_GCS_ENABLED 0 define HAL_NO_MONITOR_THREAD define HAL_NO_LOGGING -define HAL_MINIMIZE_FEATURES 0 # we setup a small defaults.parm define AP_PARAM_MAX_EMBEDDED_PARAM 512 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-G491/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-G491/hwdef.dat index 1063dedd66..79525cb725 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-G491/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-G491/hwdef.dat @@ -58,8 +58,6 @@ define DMA_RESERVE_SIZE 2048 define HAL_DISABLE_LOOP_DELAY -define HAL_MINIMIZE_FEATURES 0 - define AP_PARAM_MAX_EMBEDDED_PARAM 512 define HAL_USE_ADC TRUE diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-L476/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-L476/hwdef.dat index 7af93b68cf..1d7e9c5203 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-L476/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Nucleo-L476/hwdef.dat @@ -91,8 +91,6 @@ PA4 VSENSE ADC1 SCALE(2) define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define AP_PARAM_MAX_EMBEDDED_PARAM 512 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat index 54276ecb86..310789d9c3 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat @@ -40,7 +40,6 @@ define DMA_RESERVE_SIZE 0 define HAL_DISABLE_LOOP_DELAY define HAL_NO_MONITOR_THREAD define HAL_NO_LOGGING -define HAL_MINIMIZE_FEATURES 0 define DISABLE_SERIAL_ESC_COMM TRUE define HAL_DEVICE_THREAD_STACK 768 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat index 0aa12aaf5d..e40ef72187 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F412/hwdef.dat @@ -101,7 +101,6 @@ define HAL_CAN_DEFAULT_NODE_ID 0 define CAN_APP_NODE_NAME "org.ardupilot.Sierra-F412" define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 define HAL_BUILD_AP_PERIPH define HAL_DEVICE_THREAD_STACK 768 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat index a709ddc0fe..4390aaab7c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-F9P/hwdef.dat @@ -112,7 +112,6 @@ PC1 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW define CAN_APP_NODE_NAME "org.ardupilot.Sierra-F9P" define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 define HAL_BUILD_AP_PERIPH define HAL_DEVICE_THREAD_STACK 768 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-L431/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-L431/hwdef.dat index 278c6d7383..1b3f6a787d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Sierra-L431/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Sierra-L431/hwdef.dat @@ -97,7 +97,6 @@ PA0 VDD_5V_SENS ADC1 SCALE(2) define HAL_GCS_ENABLED 0 define HAL_NO_MONITOR_THREAD define HAL_NO_LOGGING -define HAL_MINIMIZE_FEATURES 0 define AP_PARAM_MAX_EMBEDDED_PARAM 512 define CAN_APP_NODE_NAME "org.ardupilot.Sierra-L431" diff --git a/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat b/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat index 4daf80faeb..dc625eb320 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef-bl.dat @@ -95,8 +95,6 @@ define STORAGE_THD_WA_SIZE 512 define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 768 define AP_PARAM_MAX_EMBEDDED_PARAM 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef.dat index 7105534c03..a508ceda53 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/ZubaxGNSS/hwdef.dat @@ -120,8 +120,6 @@ define HAL_UART_MIN_RX_SIZE 128 define HAL_UART_STACK_SIZE 256 define STORAGE_THD_WA_SIZE 512 -define HAL_MINIMIZE_FEATURES 0 - define HAL_I2C_CLEAR_ON_TIMEOUT 0 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.inc b/libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.inc index 35c93f1eab..d321768a40 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/f103-periph/hwdef.inc @@ -103,8 +103,6 @@ define IO_THD_WA_SIZE 300 define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - # only one I2C bus I2C_ORDER I2C1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat index 49e5de5746..45f83e68ec 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-MatekGPS/hwdef.dat @@ -78,8 +78,6 @@ define HAL_UART_STACK_SIZE 512 define STORAGE_THD_WA_SIZE 512 define IO_THD_WA_SIZE 512 -define HAL_MINIMIZE_FEATURES 0 - # only one I2C bus I2C_ORDER I2C1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.inc b/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.inc index 3f89778263..68674e6b6e 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.inc +++ b/libraries/AP_HAL_ChibiOS/hwdef/f303-periph/hwdef.inc @@ -101,8 +101,6 @@ define HAL_UART_STACK_SIZE 0x300 define STORAGE_THD_WA_SIZE 512 define IO_THD_WA_SIZE 512 -define HAL_MINIMIZE_FEATURES 0 - # only one I2C bus I2C_ORDER I2C1 diff --git a/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat index 29c900b546..6cc0dc03c1 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/f405-MatekGPS/hwdef.dat @@ -51,8 +51,6 @@ define HAL_DISABLE_LOOP_DELAY define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define HAL_DEVICE_THREAD_STACK 768 # we setup a small defaults.parm diff --git a/libraries/AP_HAL_ChibiOS/hwdef/mRo-M10095/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/mRo-M10095/hwdef.dat index b8dfa9aca4..eaa64232a6 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/mRo-M10095/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/mRo-M10095/hwdef.dat @@ -84,8 +84,6 @@ PA12 CAN1_TX CAN1 define HAL_NO_MONITOR_THREAD -define HAL_MINIMIZE_FEATURES 0 - define AP_PARAM_MAX_EMBEDDED_PARAM 512 # keep ROMFS uncompressed as we don't have enough RAM