Organize defines in ab_boot.h better

This commit is contained in:
Michael Ehrenreich
2022-04-28 03:43:51 +02:00
parent 9fa8b64e81
commit 4376dceb23

View File

@ -2,12 +2,18 @@
#include <stdint.h> #include <stdint.h>
#define CONFIG_START 0x0803f800
#define FLASH_START 0x08000000 #define FLASH_START 0x08000000
#define FLASH_END 0x08040000 #define AB_BOOT_SIZE 0x00002000
#define APP_A_START 0x08002000 #define APP_A_START 0x08002000
#define APP_B_START 0x08020800 #define APP_B_START 0x08020800
// 122 KiB
#define APP_SIZE 0x1e800
#define CONFIG_START 0x0803f800
#define CONFIG_SIZE 0x800
#define FLASH_END 0x08040000
struct ab_boot_config struct ab_boot_config
{ {