WIP: Add bootloader for A/B update support #12

Draft
mickdermack wants to merge 9 commits from feature-ab-bootloader into master
7 changed files with 452 additions and 23 deletions
Showing only changes of commit 4376dceb23 - Show all commits

View File

@@ -2,12 +2,18 @@
#include <stdint.h>
#define CONFIG_START 0x0803f800
#define FLASH_START 0x08000000
#define FLASH_END 0x08040000
#define AB_BOOT_SIZE 0x00002000
#define APP_A_START 0x08002000
#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
{