Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant/unused lines from hwdef files #25353

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/AR-F407SmartBat/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ CAN_ORDER 1
define HAL_DISABLE_LOOP_DELAY

define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING

# debugger support
PA13 JTMS-SWDIO SWD
Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/AeroFox-GNSS_F9P/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ MAIN_STACK 0x300
# PROCESS_STACK controls stack for main thread
PROCESS_STACK 0xA00
define HAL_DISABLE_LOOP_DELAY
define HAL_GCS_ENABLED 0
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING

# we setup a small defaults.parm
define AP_PARAM_MAX_EMBEDDED_PARAM 512
Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/AeroFox-PMU/hwdef.inc
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ PROCESS_STACK 0xA00

define HAL_DISABLE_LOOP_DELAY

define HAL_GCS_ENABLED 0
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING

# setup a small defaults.parm
define AP_PARAM_MAX_EMBEDDED_PARAM 512
Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/BirdCANdy/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ PB8 CAN1_RX CAN1
PB9 CAN1_TX CAN1
PB2 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW

define HAL_GCS_ENABLED 0
define HAL_NO_LOGGING
define HAL_NO_MONITOR_THREAD


Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ FLASH_SIZE_KB 2048
# setup build for a peripheral firmware
# env AP_PERIPH 1

# define HAL_GCS_ENABLED 0

# bootloader is installed at zero offset
FLASH_RESERVE_START_KB 128

Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/H757I_EVAL_intf/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ FLASH_SIZE_KB 2048
# setup build for a peripheral firmware
# env AP_PERIPH 1

# define HAL_GCS_ENABLED 0

# bootloader is installed at zero offset
FLASH_RESERVE_START_KB 128

Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/Here4AP/hwdef-bl.dat
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ STM32_VDD 330U
PB8 LED_SCK OUTPUT LOW
PB9 LED_DI OUTPUT HIGH

define HAL_NO_LOGGING TRUE
define HAL_NO_MONITOR_THREAD

PA13 JTMS-SWDIO SWD
Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/HerePro/hwdef-bl.dat
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ STM32_VDD 330U
# order of UARTs (and USB)
SERIAL_ORDER OTG1 UART7

define HAL_NO_LOGGING TRUE
define HAL_NO_MONITOR_THREAD

# USART3 F9
Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_Compass/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ PA11 CAN1_RX CAN1
PA12 CAN1_TX CAN1
PC13 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW

define HAL_NO_LOGGING
define HAL_NO_MONITOR_THREAD

define HAL_DEVICE_THREAD_STACK 768
Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/HolybroG4_GPS/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ PB12 CAN2_RX CAN2
PB13 CAN2_TX CAN2
PB14 GPIO_CAN2_SILENT OUTPUT PUSHPULL SPEED_LOW LOW

define HAL_NO_LOGGING
define HAL_NO_MONITOR_THREAD

define HAL_DEVICE_THREAD_STACK 768
Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/HolybroGPS/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ PB13 CAN2_TX CAN2
PA4 GPIO_CAN2_SILENT OUTPUT PUSHPULL SPEED_LOW LOW


define HAL_NO_LOGGING
define HAL_NO_MONITOR_THREAD


Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/MatekL431/hwdef.inc
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ PROCESS_STACK 0xA00

define HAL_DISABLE_LOOP_DELAY

define HAL_GCS_ENABLED 0
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING

# we setup a small defaults.parm
define AP_PARAM_MAX_EMBEDDED_PARAM 512
Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/Sierra-F405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ define DMA_RESERVE_SIZE 0

define HAL_DISABLE_LOOP_DELAY
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING
define DISABLE_SERIAL_ESC_COMM TRUE

define HAL_DEVICE_THREAD_STACK 768
Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/Sierra-L431/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ define HAL_USE_ADC TRUE
define STM32_ADC_USE_ADC1 TRUE
PA0 VDD_5V_SENS ADC1 SCALE(2)

define HAL_GCS_ENABLED 0
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING
define AP_PARAM_MAX_EMBEDDED_PARAM 512

define HAL_PERIPH_ENABLE_MAG
Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/Sierra-TrueNavPro/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ PROCESS_STACK 0xA00

# save memory
define HAL_DISABLE_LOOP_DELAY
define HAL_GCS_ENABLED 0
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING
define HAL_USE_ADC FALSE
define HAL_NO_RCIN_THREAD

Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/Sierra-TrueNorth/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ PROCESS_STACK 0xA00

# save memory
define HAL_DISABLE_LOOP_DELAY
define HAL_GCS_ENABLED 0
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING
define HAL_USE_ADC FALSE
define HAL_NO_RCIN_THREAD

Expand Down
2 changes: 0 additions & 2 deletions libraries/AP_HAL_ChibiOS/hwdef/Sierra-TrueSpeed/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ PROCESS_STACK 0xA00

# save memory
define HAL_DISABLE_LOOP_DELAY
define HAL_GCS_ENABLED 0
define HAL_NO_MONITOR_THREAD
define HAL_NO_LOGGING
define HAL_USE_ADC FALSE
define HAL_NO_RCIN_THREAD

Expand Down
1 change: 0 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/rGNSS/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ PA11 CAN1_RX CAN1
PA12 CAN1_TX CAN1
PA15 GPIO_CAN1_SILENT OUTPUT PUSHPULL SPEED_LOW LOW

define HAL_NO_LOGGING
define HAL_NO_MONITOR_THREAD

define HAL_DEVICE_THREAD_STACK 768
Expand Down