mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-12 09:33:59 -03:00
hwdef: remove unused define NO_DATAFLASH
This commit is contained in:
parent
7931b10baf
commit
139c460fa5
@ -85,7 +85,6 @@ define HAL_NO_RCIN_THREAD
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -112,7 +112,6 @@ define HAL_NO_RCIN_THREAD
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ define HAL_DISABLE_LOOP_DELAY
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
@ -39,7 +39,6 @@ define HAL_DISABLE_LOOP_DELAY
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
@ -37,7 +37,6 @@ define HAL_DISABLE_LOOP_DELAY
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
@ -88,8 +88,6 @@ PC6 ESC_INT INPUT
|
|||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define SERIAL_BUFFERS_SIZE 512
|
define SERIAL_BUFFERS_SIZE 512
|
||||||
|
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 2048
|
define DMA_RESERVE_SIZE 2048
|
||||||
|
|
||||||
|
|
||||||
|
@ -65,7 +65,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
|
|||||||
# avoid timer and RCIN threads to save memory
|
# avoid timer and RCIN threads to save memory
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
|
|
||||||
PB13 VBUS INPUT OPENDRAIN
|
PB13 VBUS INPUT OPENDRAIN
|
||||||
|
@ -65,7 +65,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
|
|||||||
# avoid timer and RCIN threads to save memory
|
# avoid timer and RCIN threads to save memory
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
|
|
||||||
PB13 VBUS INPUT OPENDRAIN
|
PB13 VBUS INPUT OPENDRAIN
|
||||||
|
@ -52,8 +52,6 @@ PA14 JTCK-SWCLK SWD
|
|||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define SERIAL_BUFFERS_SIZE 64
|
define SERIAL_BUFFERS_SIZE 64
|
||||||
|
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 512
|
define DMA_RESERVE_SIZE 512
|
||||||
|
|
||||||
|
|
||||||
|
@ -79,7 +79,6 @@ define HAL_NO_RCIN_THREAD
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -120,7 +120,6 @@ define HAL_NO_RCIN_THREAD
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -48,7 +48,6 @@ define HAL_NO_MONITOR_THREAD
|
|||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
#define DISABLE_SERIAL_ESC_COMM TRUE
|
#define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,8 +52,6 @@ IMU Invensense I2C:0:0x69 ROTATION_NONE
|
|||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define SERIAL_BUFFERS_SIZE 512
|
define SERIAL_BUFFERS_SIZE 512
|
||||||
|
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 2048
|
define DMA_RESERVE_SIZE 2048
|
||||||
|
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
@ -63,8 +63,6 @@ PA14 JTCK-SWCLK SWD
|
|||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define SERIAL_BUFFERS_SIZE 512
|
define SERIAL_BUFFERS_SIZE 512
|
||||||
|
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 2048
|
define DMA_RESERVE_SIZE 2048
|
||||||
|
|
||||||
|
|
||||||
|
@ -71,8 +71,6 @@ PA14 JTCK-SWCLK SWD
|
|||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define SERIAL_BUFFERS_SIZE 512
|
define SERIAL_BUFFERS_SIZE 512
|
||||||
|
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 2048
|
define DMA_RESERVE_SIZE 2048
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,7 +41,6 @@ define HAL_DISABLE_LOOP_DELAY
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
@ -80,8 +80,6 @@ PA14 JTCK-SWCLK SWD
|
|||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define SERIAL_BUFFERS_SIZE 512
|
define SERIAL_BUFFERS_SIZE 512
|
||||||
|
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 2048
|
define DMA_RESERVE_SIZE 2048
|
||||||
|
|
||||||
|
|
||||||
|
@ -111,7 +111,6 @@ define __FPU_PRESENT 0
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -71,7 +71,6 @@ define __FPU_PRESENT 0
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -50,7 +50,6 @@ define HAL_NO_RCIN_THREAD
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -71,7 +71,6 @@ define HAL_NO_RCOUT_THREAD
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@ define HAL_NO_RCIN_THREAD
|
|||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
@ -58,8 +58,6 @@ define HAL_PERIPH_ENABLE_BARO
|
|||||||
PA0 VSENSE50 ADC1 SCALE(3)
|
PA0 VSENSE50 ADC1 SCALE(3)
|
||||||
PA1 VSENSE3v3 ADC1 SCALE(2)
|
PA1 VSENSE3v3 ADC1 SCALE(2)
|
||||||
|
|
||||||
define NO_DATAFLASH TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 2048
|
define DMA_RESERVE_SIZE 2048
|
||||||
|
|
||||||
define HAL_USE_ADC TRUE
|
define HAL_USE_ADC TRUE
|
||||||
|
@ -1002,7 +1002,6 @@ def write_mcu_config(f):
|
|||||||
#define HAL_STORAGE_SIZE 16384
|
#define HAL_STORAGE_SIZE 16384
|
||||||
#define HAL_USE_RTC FALSE
|
#define HAL_USE_RTC FALSE
|
||||||
#define DISABLE_SERIAL_ESC_COMM TRUE
|
#define DISABLE_SERIAL_ESC_COMM TRUE
|
||||||
#define NO_DATAFLASH TRUE
|
|
||||||
''')
|
''')
|
||||||
if not env_vars['EXTERNAL_PROG_FLASH_MB']:
|
if not env_vars['EXTERNAL_PROG_FLASH_MB']:
|
||||||
f.write('''
|
f.write('''
|
||||||
|
Loading…
Reference in New Issue
Block a user