Organize defines in ab_boot.h better
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user