mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_Bootloader: add support for flashing erasing and verifying ext flash
This commit is contained in:
1 parent
faedb12493
commit
75bcc76189
3 files changed
+144
-1
No files matched your search
@@ -43,7 +43,8 @@ extern "C" {
|
||||
struct boardinfo board_info = {
|
||||
.board_type = APJ_BOARD_ID,
|
||||
.board_rev = 0,
|
||||
.fw_size = (BOARD_FLASH_SIZE - (FLASH_BOOTLOADER_LOAD_KB + FLASH_RESERVE_END_KB + APP_START_OFFSET_KB))*1024
|
||||
.fw_size = (BOARD_FLASH_SIZE - (FLASH_BOOTLOADER_LOAD_KB + FLASH_RESERVE_END_KB + APP_START_OFFSET_KB))*1024,
|
||||
.extf_size = (EXTERNAL_PROG_FLASH_MB * 1024 * 1024)
|
||||
};
|
||||
|
||||
#ifndef HAL_BOOTLOADER_TIMEOUT
|
||||
|
||||
Reference in new issue
Block a user