mirror of https://github.com/ArduPilot/ardupilot
hwdef: remove un-needed AP_PARAM_MAX_EMBEDDED_PARAM default
these boards have <= 1024, and we have code in place which defaults this value tto 1024
This commit is contained in:
parent
7cf66d917c
commit
d0e7039b68
|
@ -157,8 +157,6 @@ define HAL_BATT_CURR_SCALE 26.7
|
||||||
#define BOARD_RSSI_ANA_PIN 8
|
#define BOARD_RSSI_ANA_PIN 8
|
||||||
#define HAL_DEFAULT_AIRSPEED_PIN 10
|
#define HAL_DEFAULT_AIRSPEED_PIN 10
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
define HAL_WITH_DSP FALSE
|
define HAL_WITH_DSP FALSE
|
||||||
define HAL_GYROFFT_ENABLED 0
|
define HAL_GYROFFT_ENABLED 0
|
||||||
|
|
||||||
|
|
|
@ -149,8 +149,6 @@ define HAL_OSD_TYPE_DEFAULT 1
|
||||||
# Font for OSD
|
# Font for OSD
|
||||||
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||||
|
|
||||||
# -------reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
define HAL_GYROFFT_ENABLED 0
|
define HAL_GYROFFT_ENABLED 0
|
||||||
|
|
||||||
# --------------------- save flash ----------------------
|
# --------------------- save flash ----------------------
|
||||||
|
|
|
@ -164,6 +164,3 @@ define HAL_MSP_ENABLED 1
|
||||||
# need to probe external baros even 'though we're minimised:
|
# need to probe external baros even 'though we're minimised:
|
||||||
undef AP_BARO_PROBE_EXTERNAL_I2C_BUSES
|
undef AP_BARO_PROBE_EXTERNAL_I2C_BUSES
|
||||||
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 1
|
define AP_BARO_PROBE_EXTERNAL_I2C_BUSES 1
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
|
|
|
@ -156,9 +156,6 @@ define STM32_PWM_USE_ADVANCED TRUE
|
||||||
define HAL_PARACHUTE_ENABLED 0
|
define HAL_PARACHUTE_ENABLED 0
|
||||||
define HAL_SPRAYER_ENABLED 0
|
define HAL_SPRAYER_ENABLED 0
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
|
|
||||||
define HAL_MOUNT_ENABLED 0
|
define HAL_MOUNT_ENABLED 0
|
||||||
|
|
||||||
# save some flash
|
# save some flash
|
||||||
|
|
|
@ -170,9 +170,4 @@ undef AP_BATTERY_SMBUS_ENABLED
|
||||||
define AP_BATTERY_SMBUS_ENABLED 0
|
define AP_BATTERY_SMBUS_ENABLED 0
|
||||||
define HAL_PARACHUTE_ENABLED 0
|
define HAL_PARACHUTE_ENABLED 0
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
define DEFAULT_NTF_LED_TYPES 487
|
define DEFAULT_NTF_LED_TYPES 487
|
||||||
|
|
|
@ -170,8 +170,6 @@ define HAL_BATT_CURR_SCALE 66.7
|
||||||
define BOARD_RSSI_ANA_PIN 8
|
define BOARD_RSSI_ANA_PIN 8
|
||||||
define HAL_DEFAULT_AIRSPEED_PIN 10
|
define HAL_DEFAULT_AIRSPEED_PIN 10
|
||||||
|
|
||||||
# -------reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
define HAL_GYROFFT_ENABLED 0
|
define HAL_GYROFFT_ENABLED 0
|
||||||
|
|
||||||
# --------------------- save flash ----------------------
|
# --------------------- save flash ----------------------
|
||||||
|
|
|
@ -182,8 +182,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||||
|
|
||||||
define STM32_PWM_USE_ADVANCED TRUE
|
define STM32_PWM_USE_ADVANCED TRUE
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
define HAL_GYROFFT_ENABLED 0
|
define HAL_GYROFFT_ENABLED 0
|
||||||
|
|
||||||
# save some flash
|
# save some flash
|
||||||
|
|
|
@ -160,9 +160,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||||
define HAL_PARACHUTE_ENABLED 0
|
define HAL_PARACHUTE_ENABLED 0
|
||||||
define HAL_SPRAYER_ENABLED 0
|
define HAL_SPRAYER_ENABLED 0
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -169,8 +169,6 @@ PC13 PINIO1 OUTPUT GPIO(81) LOW
|
||||||
|
|
||||||
define STM32_PWM_USE_ADVANCED TRUE
|
define STM32_PWM_USE_ADVANCED TRUE
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
define HAL_WITH_DSP FALSE
|
define HAL_WITH_DSP FALSE
|
||||||
|
|
||||||
# save some flash
|
# save some flash
|
||||||
|
|
|
@ -128,9 +128,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font*.bin
|
||||||
define HAL_PARACHUTE_ENABLED 0
|
define HAL_PARACHUTE_ENABLED 0
|
||||||
define HAL_SPRAYER_ENABLED 0
|
define HAL_SPRAYER_ENABLED 0
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
|
|
||||||
# minimal drivers to reduce flash usage
|
# minimal drivers to reduce flash usage
|
||||||
include ../include/minimize_fpv_osd.inc
|
include ../include/minimize_fpv_osd.inc
|
||||||
include ../include/no_bootloader_DFU.inc
|
include ../include/no_bootloader_DFU.inc
|
||||||
|
|
|
@ -136,8 +136,6 @@ FLASH_RESERVE_START_KB 64
|
||||||
# enable RAMTROM parameter storage
|
# enable RAMTROM parameter storage
|
||||||
#define HAL_WITH_RAMTRON 1
|
#define HAL_WITH_RAMTRON 1
|
||||||
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
|
|
||||||
# enable FAT filesystem
|
# enable FAT filesystem
|
||||||
define HAL_OS_FATFS_IO 1
|
define HAL_OS_FATFS_IO 1
|
||||||
|
|
||||||
|
|
|
@ -154,9 +154,6 @@ ROMFS_WILDCARD libraries/AP_OSD/fonts/font0.bin
|
||||||
define HAL_PARACHUTE_ENABLED 0
|
define HAL_PARACHUTE_ENABLED 0
|
||||||
define HAL_SPRAYER_ENABLED 0
|
define HAL_SPRAYER_ENABLED 0
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
|
|
||||||
# save some flash
|
# save some flash
|
||||||
include ../include/save_some_flash.inc
|
include ../include/save_some_flash.inc
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,6 @@ define HAL_OS_FATFS_IO 1
|
||||||
# disable parachute and sprayer to save flash
|
# disable parachute and sprayer to save flash
|
||||||
define HAL_PARACHUTE_ENABLED 0
|
define HAL_PARACHUTE_ENABLED 0
|
||||||
|
|
||||||
# reduce max size of embedded params for apj_tool.py
|
|
||||||
define AP_PARAM_MAX_EMBEDDED_PARAM 1024
|
|
||||||
define HAL_GYROFFT_ENABLED 0
|
define HAL_GYROFFT_ENABLED 0
|
||||||
|
|
||||||
# save some flash
|
# save some flash
|
||||||
|
|
Loading…
Reference in New Issue