mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
hwdef: stop defining STORAGE_FLASH_PAGE in hwdef-bl.dat
this should only be in hwdef.dat, so we don't have it in 2 places
This commit is contained in:
parent
2a40e85356
commit
b3b4506279
@ -15,10 +15,6 @@ FLASH_SIZE_KB 2048
|
|||||||
# bootloader starts at zero offset
|
# bootloader starts at zero offset
|
||||||
FLASH_RESERVE_START_KB 0
|
FLASH_RESERVE_START_KB 0
|
||||||
|
|
||||||
# use last 2 pages for flash storage
|
|
||||||
# H743 has 16 pages of 128k each
|
|
||||||
STORAGE_FLASH_PAGE 14
|
|
||||||
|
|
||||||
# the location where the bootloader will put the firmware
|
# the location where the bootloader will put the firmware
|
||||||
# the H743 has 128k sectors
|
# the H743 has 128k sectors
|
||||||
FLASH_BOOTLOADER_LOAD_KB 128
|
FLASH_BOOTLOADER_LOAD_KB 128
|
||||||
|
@ -18,7 +18,6 @@ FLASH_RESERVE_START_KB 0
|
|||||||
# the location where the bootloader will put the firmware
|
# the location where the bootloader will put the firmware
|
||||||
FLASH_BOOTLOADER_LOAD_KB 128
|
FLASH_BOOTLOADER_LOAD_KB 128
|
||||||
|
|
||||||
STORAGE_FLASH_PAGE 14
|
|
||||||
define HAL_STORAGE_SIZE 32768
|
define HAL_STORAGE_SIZE 32768
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
|
@ -18,7 +18,6 @@ FLASH_RESERVE_START_KB 0
|
|||||||
# the location where the bootloader will put the firmware
|
# the location where the bootloader will put the firmware
|
||||||
FLASH_BOOTLOADER_LOAD_KB 128
|
FLASH_BOOTLOADER_LOAD_KB 128
|
||||||
|
|
||||||
STORAGE_FLASH_PAGE 14
|
|
||||||
define HAL_STORAGE_SIZE 32768
|
define HAL_STORAGE_SIZE 32768
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
|
@ -18,8 +18,6 @@ FLASH_RESERVE_START_KB 0
|
|||||||
# the location where the bootloader will put the firmware
|
# the location where the bootloader will put the firmware
|
||||||
FLASH_BOOTLOADER_LOAD_KB 384
|
FLASH_BOOTLOADER_LOAD_KB 384
|
||||||
|
|
||||||
STORAGE_FLASH_PAGE 1
|
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
SERIAL_ORDER OTG1
|
SERIAL_ORDER OTG1
|
||||||
|
|
||||||
|
@ -15,10 +15,6 @@ FLASH_SIZE_KB 2048
|
|||||||
# bootloader starts at zero offset
|
# bootloader starts at zero offset
|
||||||
FLASH_RESERVE_START_KB 0
|
FLASH_RESERVE_START_KB 0
|
||||||
|
|
||||||
# use last 2 pages for flash storage
|
|
||||||
# H743 has 16 pages of 128k each
|
|
||||||
STORAGE_FLASH_PAGE 14
|
|
||||||
|
|
||||||
# the location where the bootloader will put the firmware
|
# the location where the bootloader will put the firmware
|
||||||
# the H743 has 128k sectors
|
# the H743 has 128k sectors
|
||||||
FLASH_BOOTLOADER_LOAD_KB 128
|
FLASH_BOOTLOADER_LOAD_KB 128
|
||||||
|
@ -24,7 +24,6 @@ define CH_CFG_ST_FREQUENCY 1000000
|
|||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 16384
|
define HAL_STORAGE_SIZE 16384
|
||||||
define STORAGE_FLASH_PAGE 1
|
|
||||||
|
|
||||||
# Enable the sensor voltage pin
|
# Enable the sensor voltage pin
|
||||||
PC13 VDD_3V3_SENSORS_EN OUTPUT HIGH
|
PC13 VDD_3V3_SENSORS_EN OUTPUT HIGH
|
||||||
|
@ -24,7 +24,6 @@ define CH_CFG_ST_FREQUENCY 1000000
|
|||||||
FLASH_SIZE_KB 1024
|
FLASH_SIZE_KB 1024
|
||||||
|
|
||||||
define HAL_STORAGE_SIZE 16384
|
define HAL_STORAGE_SIZE 16384
|
||||||
define STORAGE_FLASH_PAGE 1
|
|
||||||
|
|
||||||
STDOUT_SERIAL SD1
|
STDOUT_SERIAL SD1
|
||||||
STDOUT_BAUDRATE 57600
|
STDOUT_BAUDRATE 57600
|
||||||
|
@ -21,9 +21,7 @@ FLASH_BOOTLOADER_LOAD_KB 128
|
|||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
SERIAL_ORDER OTG1
|
SERIAL_ORDER OTG1
|
||||||
|
|
||||||
# use last 2 pages for flash storage
|
|
||||||
# H743 has 16 pages of 128k each
|
# H743 has 16 pages of 128k each
|
||||||
STORAGE_FLASH_PAGE 14
|
|
||||||
define HAL_STORAGE_SIZE 32768
|
define HAL_STORAGE_SIZE 32768
|
||||||
|
|
||||||
# PA10 IO-debug-console
|
# PA10 IO-debug-console
|
||||||
|
@ -27,7 +27,6 @@ define CH_CFG_ST_FREQUENCY 1000
|
|||||||
FLASH_SIZE_KB 256
|
FLASH_SIZE_KB 256
|
||||||
|
|
||||||
# store parameters in last 2 pages
|
# store parameters in last 2 pages
|
||||||
STORAGE_FLASH_PAGE 126
|
|
||||||
define HAL_STORAGE_SIZE 800
|
define HAL_STORAGE_SIZE 800
|
||||||
|
|
||||||
# USART3 for debug
|
# USART3 for debug
|
||||||
|
Loading…
Reference in New Issue
Block a user