blob: 1e48e902e24327be73aa1941e6ecc792622a4c60 [file] [log] [blame]
Brian Silverman44311d62013-12-06 22:03:29 -08001#ifndef CAPE_BOOTLOADER_HANDOFF_H_
2#define CAPE_BOOTLOADER_HANDOFF_H_
3
4// This file has constants and functions for dealing with the handoff between
5// the bootloader and the main code.
6
7// How much flash the bootloader has (starting at address 0).
Brian Silvermaned183e62013-12-18 15:51:16 -08008#define BOOTLOADER_FLASH_SIZE 0x4000
Brian Silverman44311d62013-12-06 22:03:29 -08009// Where the main code's flash starts.
10#define MAIN_FLASH_START BOOTLOADER_FLASH_SIZE
11
12#define RAM_START 0x20000000
Brian Silverman33b66f42013-12-06 22:29:52 -080013#define RAM_SIZE 0x20000
Brian Silverman44311d62013-12-06 22:03:29 -080014
15#endif // CAPE_BOOTLOADER_HANDOFF_H_