hwdef: remove unused define NO_DATAFLASH

This commit is contained in:
Peter Barker 2021-11-24 13:31:51 +11:00 committed by Andrew Tridgell
parent 7931b10baf
commit 139c460fa5
24 changed files with 0 additions and 31 deletions

View File

@ -85,7 +85,6 @@ define HAL_NO_RCIN_THREAD
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -112,7 +112,6 @@ define HAL_NO_RCIN_THREAD
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -41,7 +41,6 @@ define HAL_DISABLE_LOOP_DELAY
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define HAL_NO_RCIN_THREAD

View File

@ -39,7 +39,6 @@ define HAL_DISABLE_LOOP_DELAY
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define HAL_NO_RCIN_THREAD

View File

@ -37,7 +37,6 @@ define HAL_DISABLE_LOOP_DELAY
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define HAL_NO_RCIN_THREAD

View File

@ -88,8 +88,6 @@ PC6 ESC_INT INPUT
define HAL_NO_GPIO_IRQ
define SERIAL_BUFFERS_SIZE 512
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 2048

View File

@ -65,7 +65,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
# avoid timer and RCIN threads to save memory
define HAL_NO_RCIN_THREAD
define HAL_NO_GPIO_IRQ
define NO_DATAFLASH TRUE
define DISABLE_SERIAL_ESC_COMM TRUE
PB13 VBUS INPUT OPENDRAIN

View File

@ -65,7 +65,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
# avoid timer and RCIN threads to save memory
define HAL_NO_RCIN_THREAD
define HAL_NO_GPIO_IRQ
define NO_DATAFLASH TRUE
define DISABLE_SERIAL_ESC_COMM TRUE
PB13 VBUS INPUT OPENDRAIN

View File

@ -52,8 +52,6 @@ PA14 JTCK-SWCLK SWD
define HAL_NO_GPIO_IRQ
define SERIAL_BUFFERS_SIZE 64
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 512

View File

@ -79,7 +79,6 @@ define HAL_NO_RCIN_THREAD
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -120,7 +120,6 @@ define HAL_NO_RCIN_THREAD
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -48,7 +48,6 @@ define HAL_NO_MONITOR_THREAD
define HAL_DISABLE_LOOP_DELAY
define HAL_USE_RTC FALSE
#define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define HAL_NO_RCIN_THREAD

View File

@ -52,8 +52,6 @@ IMU Invensense I2C:0:0x69 ROTATION_NONE
define HAL_NO_GPIO_IRQ
define SERIAL_BUFFERS_SIZE 512
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 2048
define HAL_DISABLE_LOOP_DELAY

View File

@ -63,8 +63,6 @@ PA14 JTCK-SWCLK SWD
define HAL_NO_GPIO_IRQ
define SERIAL_BUFFERS_SIZE 512
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 2048

View File

@ -71,8 +71,6 @@ PA14 JTCK-SWCLK SWD
define HAL_NO_GPIO_IRQ
define SERIAL_BUFFERS_SIZE 512
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 2048

View File

@ -41,7 +41,6 @@ define HAL_DISABLE_LOOP_DELAY
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define HAL_NO_RCIN_THREAD

View File

@ -80,8 +80,6 @@ PA14 JTCK-SWCLK SWD
define HAL_NO_GPIO_IRQ
define SERIAL_BUFFERS_SIZE 512
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 2048

View File

@ -111,7 +111,6 @@ define __FPU_PRESENT 0
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -71,7 +71,6 @@ define __FPU_PRESENT 0
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -50,7 +50,6 @@ define HAL_NO_RCIN_THREAD
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -71,7 +71,6 @@ define HAL_NO_RCOUT_THREAD
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -40,7 +40,6 @@ define HAL_NO_RCIN_THREAD
define HAL_USE_RTC FALSE
define DISABLE_SERIAL_ESC_COMM TRUE
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 0

View File

@ -58,8 +58,6 @@ define HAL_PERIPH_ENABLE_BARO
PA0 VSENSE50 ADC1 SCALE(3)
PA1 VSENSE3v3 ADC1 SCALE(2)
define NO_DATAFLASH TRUE
define DMA_RESERVE_SIZE 2048
define HAL_USE_ADC TRUE

View File

@ -1002,7 +1002,6 @@ def write_mcu_config(f):
#define HAL_STORAGE_SIZE 16384
#define HAL_USE_RTC FALSE
#define DISABLE_SERIAL_ESC_COMM TRUE
#define NO_DATAFLASH TRUE
''')
if not env_vars['EXTERNAL_PROG_FLASH_MB']:
f.write('''