hwdef: remove unused STM32_PWM_USE_ADVANCED defines

This commit is contained in:
Peter Barker 2024-03-23 15:24:52 +11:00 committed by Peter Barker
parent 5d369b2634
commit 85d25b205f
36 changed files with 0 additions and 74 deletions

View File

@ -187,9 +187,6 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
#define OSD_ENABLED 0 #define OSD_ENABLED 0
define STM32_PWM_USE_ADVANCED TRUE
# --------------------- save flash ---------------------- # --------------------- save flash ----------------------
include ../include/minimize_features.inc include ../include/minimize_features.inc

View File

@ -192,9 +192,6 @@ define HAL_COMPASS_AUTO_ROT_DEFAULT 2
#define OSD_ENABLED 0 #define OSD_ENABLED 0
define STM32_PWM_USE_ADVANCED TRUE
# --------------------- save flash ---------------------- # --------------------- save flash ----------------------
include ../include/minimize_features.inc include ../include/minimize_features.inc

View File

@ -134,8 +134,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
define STM32_PWM_USE_ADVANCED TRUE
# save some flash # save some flash
include ../include/minimize_fpv_osd.inc include ../include/minimize_fpv_osd.inc

View File

@ -10,7 +10,6 @@ undef BARO
undef PD15 undef PD15
undef PE9 PE11 PB8 PB9 PB11 PB10 PA10 PA9 PA3 PA2 undef PE9 PE11 PB8 PB9 PB11 PB10 PA10 PA9 PA3 PA2
undef HAL_DEFAULT_INS_FAST_SAMPLE DMA_PRIORITY DMA_NOSHARE undef HAL_DEFAULT_INS_FAST_SAMPLE DMA_PRIORITY DMA_NOSHARE
undef STM32_PWM_USE_ADVANCED
undef I2C1 undef I2C1
# board ID for firmware load # board ID for firmware load

View File

@ -135,8 +135,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
define STM32_PWM_USE_ADVANCED TRUE
define DEFAULT_NTF_LED_TYPES 257 define DEFAULT_NTF_LED_TYPES 257

View File

@ -10,7 +10,6 @@ undef BARO
undef PD15 undef PD15
undef PE9 PE11 PB8 PB9 PB11 PB10 PA10 PA9 PA3 PA2 undef PE9 PE11 PB8 PB9 PB11 PB10 PA10 PA9 PA3 PA2
undef HAL_DEFAULT_INS_FAST_SAMPLE DMA_PRIORITY DMA_NOSHARE undef HAL_DEFAULT_INS_FAST_SAMPLE DMA_PRIORITY DMA_NOSHARE
undef STM32_PWM_USE_ADVANCED
undef I2C1 undef I2C1
# board ID for firmware load # board ID for firmware load

View File

@ -150,8 +150,6 @@ define ALLOW_ARM_NO_COMPASS
define HAL_PROBE_EXTERNAL_I2C_COMPASSES define HAL_PROBE_EXTERNAL_I2C_COMPASSES
define HAL_I2C_INTERNAL_MASK 0 define HAL_I2C_INTERNAL_MASK 0
define STM32_PWM_USE_ADVANCED TRUE
# save some flash # save some flash
include ../include/minimize_fpv_osd.inc include ../include/minimize_fpv_osd.inc

View File

@ -112,7 +112,6 @@ PB6 I2C1_SCL I2C1
PB7 I2C1_SDA I2C1 PB7 I2C1_SDA I2C1
# PWM pins S1-S6 # PWM pins S1-S6
define STM32_PWM_USE_ADVANCED TRUE
PC8 TIM8_CH3 TIM8 PWM(1) GPIO(50) PC8 TIM8_CH3 TIM8 PWM(1) GPIO(50)
PC9 TIM8_CH4 TIM8 PWM(2) GPIO(51) PC9 TIM8_CH4 TIM8 PWM(2) GPIO(51)
PB8 TIM4_CH3 TIM4 PWM(3) GPIO(52) PB8 TIM4_CH3 TIM4 PWM(3) GPIO(52)

View File

@ -158,8 +158,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
define STM32_PWM_USE_ADVANCED TRUE
# FFT option (disabled by default) # FFT option (disabled by default)
# define HAL_GYROFFT_ENABLED 1 # define HAL_GYROFFT_ENABLED 1
# define AP_OAPATHPLANNER_ENABLED 0 # define AP_OAPATHPLANNER_ENABLED 0

View File

@ -43,8 +43,6 @@ PB14 TIM1_CH2N TIM1 PWM(8) GPIO(57)
PA8 TIM1_CH1 TIM1 PWM(9) GPIO(58) BIDIR PA8 TIM1_CH1 TIM1 PWM(9) GPIO(58) BIDIR
PA15 TIM2_CH1 TIM2 PWM(10) GPIO(59) NODMA # no output PA15 TIM2_CH1 TIM2 PWM(10) GPIO(59) NODMA # no output
define STM32_PWM_USE_ADVANCED TRUE
# Beeper # Beeper
#PA7 TIM3_CH2 TIM3 GPIO(32) ALARM #PA7 TIM3_CH2 TIM3 GPIO(32) ALARM

View File

@ -37,8 +37,6 @@ PC8 TIM8_CH3 TIM8 PWM(5) GPIO(56) # LED strip
DMA_PRIORITY ADC* USART3* TIM3* TIM5* SPI3* SPI1* DMA_PRIORITY ADC* USART3* TIM3* TIM5* SPI3* SPI1*
DMA_NOSHARE SPI3_RX DMA_NOSHARE SPI3_RX
define STM32_PWM_USE_ADVANCED TRUE
# save some flash # save some flash
include ../include/save_some_flash.inc include ../include/save_some_flash.inc
define HAL_PARACHUTE_ENABLED 0 define HAL_PARACHUTE_ENABLED 0

View File

@ -138,8 +138,6 @@ define HAL_BARO_ALLOW_INIT_NO_BARO
define HAL_OS_FATFS_IO 1 define HAL_OS_FATFS_IO 1
define STM32_PWM_USE_ADVANCED TRUE
# disable parachute to save flash # disable parachute to save flash
define HAL_PARACHUTE_ENABLED 0 define HAL_PARACHUTE_ENABLED 0

View File

@ -150,8 +150,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
define STM32_PWM_USE_ADVANCED TRUE
# disable parachute and sprayer to save flash # disable parachute and sprayer to save flash
define HAL_PARACHUTE_ENABLED 0 define HAL_PARACHUTE_ENABLED 0
define HAL_SPRAYER_ENABLED 0 define HAL_SPRAYER_ENABLED 0

View File

@ -157,6 +157,4 @@ define HAL_OS_FATFS_IO 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
define STM32_PWM_USE_ADVANCED TRUE
define DEFAULT_NTF_LED_TYPES 257 define DEFAULT_NTF_LED_TYPES 257

View File

@ -157,8 +157,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
define STM32_PWM_USE_ADVANCED TRUE
define DEFAULT_NTF_LED_TYPES 257 define DEFAULT_NTF_LED_TYPES 257
define AP_SCRIPTING_ENABLED 0 define AP_SCRIPTING_ENABLED 0

View File

@ -192,8 +192,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
define STM32_PWM_USE_ADVANCED TRUE
define DEFAULT_NTF_LED_TYPES 257 define DEFAULT_NTF_LED_TYPES 257
define AP_SCRIPTING_ENABLED 0 define AP_SCRIPTING_ENABLED 0

View File

@ -41,8 +41,6 @@ PB7 TIM4_CH2 TIM4 PWM(8) GPIO(57)
PA15 TIM2_CH1 TIM2 PWM(9) GPIO(58) # LED pin PA15 TIM2_CH1 TIM2 PWM(9) GPIO(58) # LED pin
define STM32_PWM_USE_ADVANCED TRUE
# Beeper # Beeper
PA8 TIM1_CH1 TIM1 GPIO(32) ALARM PA8 TIM1_CH1 TIM1 GPIO(32) ALARM

View File

@ -44,8 +44,6 @@ PA6 TIM13_CH1 TIM13 PWM(10) GPIO(59) NODMA
PB6 TIM4_CH1 TIM4 PWM(11) GPIO(60) NODMA PB6 TIM4_CH1 TIM4 PWM(11) GPIO(60) NODMA
PB1 TIM3_CH4 TIM3 PWM(12) GPIO(61) # LED pad PB1 TIM3_CH4 TIM3 PWM(12) GPIO(61) # LED pad
define STM32_PWM_USE_ADVANCED TRUE
# Beeper # Beeper
PB9 TIM11_CH1 TIM11 GPIO(32) ALARM PB9 TIM11_CH1 TIM11 GPIO(32) ALARM

View File

@ -180,8 +180,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
define STM32_PWM_USE_ADVANCED TRUE
define HAL_GYROFFT_ENABLED 0 define HAL_GYROFFT_ENABLED 0
# save some flash # save some flash

View File

@ -159,7 +159,5 @@ BARO BMP280 I2C:0:0x76
define HAL_OS_FATFS_IO 1 define HAL_OS_FATFS_IO 1
define STM32_PWM_USE_ADVANCED TRUE
# we are low on flash on this board # we are low on flash on this board
include ../include/minimize_features.inc include ../include/minimize_features.inc

View File

@ -3,7 +3,6 @@
include ../OmnibusNanoV6/hwdef.dat include ../OmnibusNanoV6/hwdef.dat
undef PB0 PB1 PA3 PB5 undef PB0 PB1 PA3 PB5
undef STM32_PWM_USE_ADVANCED
PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50) PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50)
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR

View File

@ -143,9 +143,6 @@ define HAL_GPIO_A_LED_PIN 41
define OSD_ENABLED 1 define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
#To complementary channels work we define this
define STM32_PWM_USE_ADVANCED TRUE
#font for the osd #font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -170,8 +170,6 @@ define HAL_I2C_INTERNAL_MASK 0
# filesystem setup on sdcard # filesystem setup on sdcard
define HAL_OS_FATFS_IO 1 define HAL_OS_FATFS_IO 1
define STM32_PWM_USE_ADVANCED TRUE
define HAL_STORAGE_SIZE 16384 define HAL_STORAGE_SIZE 16384
# DMA # DMA

View File

@ -143,8 +143,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
define STM32_PWM_USE_ADVANCED TRUE
# save some flash # save some flash
include ../include/save_some_flash.inc include ../include/save_some_flash.inc
include ../include/minimize_fpv_osd.inc include ../include/minimize_fpv_osd.inc

View File

@ -188,7 +188,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
define HAL_OS_FATFS_IO 1 define HAL_OS_FATFS_IO 1
define BOARD_PWM_COUNT_DEFAULT 11 define BOARD_PWM_COUNT_DEFAULT 11
define STM32_PWM_USE_ADVANCED TRUE
define HAL_STORAGE_SIZE 16384 define HAL_STORAGE_SIZE 16384

View File

@ -193,8 +193,6 @@ define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
define STM32_PWM_USE_ADVANCED TRUE
define DEFAULT_NTF_LED_TYPES 257 define DEFAULT_NTF_LED_TYPES 257
define AP_SCRIPTING_ENABLED 0 define AP_SCRIPTING_ENABLED 0

View File

@ -167,8 +167,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
#VTX power control #VTX power control
PC13 PINIO1 OUTPUT GPIO(81) LOW PC13 PINIO1 OUTPUT GPIO(81) LOW
define STM32_PWM_USE_ADVANCED TRUE
# minimal drivers to reduce flash usage # minimal drivers to reduce flash usage
include ../include/minimize_fpv_osd.inc include ../include/minimize_fpv_osd.inc

View File

@ -161,7 +161,5 @@ define HAL_BATT_CURR_PIN 11
define HAL_BATT_VOLT_SCALE 10.1 define HAL_BATT_VOLT_SCALE 10.1
define HAL_BATT_CURR_SCALE 17.0 define HAL_BATT_CURR_SCALE 17.0
define STM32_PWM_USE_ADVANCED TRUE
# save some flash # save some flash
include ../include/minimize_features.inc include ../include/minimize_features.inc

View File

@ -161,7 +161,5 @@ define HAL_BATT_CURR_PIN 11
define HAL_BATT_VOLT_SCALE 10.1 define HAL_BATT_VOLT_SCALE 10.1
define HAL_BATT_CURR_SCALE 17.0 define HAL_BATT_CURR_SCALE 17.0
define STM32_PWM_USE_ADVANCED TRUE
# minimal drivers to reduce flash usage # minimal drivers to reduce flash usage
include ../include/minimize_features.inc include ../include/minimize_features.inc

View File

@ -161,5 +161,3 @@ define HAL_BATT_VOLT_PIN 10
define HAL_BATT_CURR_PIN 11 define HAL_BATT_CURR_PIN 11
define HAL_BATT_VOLT_SCALE 10.1 define HAL_BATT_VOLT_SCALE 10.1
define HAL_BATT_CURR_SCALE 17.0 define HAL_BATT_CURR_SCALE 17.0
define STM32_PWM_USE_ADVANCED TRUE

View File

@ -161,7 +161,5 @@ define HAL_BATT_CURR_PIN 11
define HAL_BATT_VOLT_SCALE 10.1 define HAL_BATT_VOLT_SCALE 10.1
define HAL_BATT_CURR_SCALE 17.0 define HAL_BATT_CURR_SCALE 17.0
define STM32_PWM_USE_ADVANCED TRUE
# minimal drivers to reduce flash usage # minimal drivers to reduce flash usage
include ../include/minimize_features.inc include ../include/minimize_features.inc

View File

@ -164,8 +164,6 @@ define HAL_BATT_CURR_PIN -1
define HAL_BATT_VOLT_SCALE 10.1 define HAL_BATT_VOLT_SCALE 10.1
define HAL_BATT_CURR_SCALE 17.0 define HAL_BATT_CURR_SCALE 17.0
define STM32_PWM_USE_ADVANCED TRUE
# save some flash # save some flash
include ../include/save_some_flash.inc include ../include/save_some_flash.inc
define HAL_SPEKTRUM_TELEM_ENABLED 0 define HAL_SPEKTRUM_TELEM_ENABLED 0

View File

@ -100,8 +100,5 @@ define HAL_BATT_CURR_SCALE 18.2
define HAL_GPIO_A_LED_PIN 57 define HAL_GPIO_A_LED_PIN 57
#To complementary channels work we define this
define STM32_PWM_USE_ADVANCED TRUE
# 64kB FLASH_RESERVE_START_KB means we're lacking a lot of space: # 64kB FLASH_RESERVE_START_KB means we're lacking a lot of space:
include ../include/minimize_features.inc include ../include/minimize_features.inc

View File

@ -144,9 +144,6 @@ define HAL_BATT_CURR_SCALE 18.2
define OSD_ENABLED 1 define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1 define HAL_OSD_TYPE_DEFAULT 1
#To complementary channels work we define this
define STM32_PWM_USE_ADVANCED TRUE
#font for the osd #font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin

View File

@ -144,10 +144,6 @@ define BOARD_RSSI_ANA_PIN 0
define HAL_GPIO_A_LED_PIN 41 define HAL_GPIO_A_LED_PIN 41
#To have complementary channels work we define this
define STM32_PWM_USE_ADVANCED TRUE
define OSD_ENABLED 1 define OSD_ENABLED 1
#font for the osd #font for the osd
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin

View File

@ -134,7 +134,5 @@ SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 32*MHZ 32*MHZ
# enable logging to dataflash # enable logging to dataflash
define HAL_LOGGING_DATAFLASH_ENABLED 1 define HAL_LOGGING_DATAFLASH_ENABLED 1
define STM32_PWM_USE_ADVANCED TRUE
# we are low on flash on this board # we are low on flash on this board
include ../include/minimize_features.inc include ../include/minimize_features.inc