From: Keith Packard Date: Tue, 13 May 2014 05:51:50 +0000 (-0700) Subject: altos: Assume all LPC products will have 32KB of flash X-Git-Tag: 1.3.2.2~110 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=6a6053dfed6fc1a7f50be0c62782d0050758cd0b altos: Assume all LPC products will have 32KB of flash If we ever use something smaller than this, we'll need to figure out how to tell how much memory the device has. Signed-off-by: Keith Packard --- diff --git a/src/lpc/ao_arch.h b/src/lpc/ao_arch.h index dd0debd4..5fbb8dfa 100644 --- a/src/lpc/ao_arch.h +++ b/src/lpc/ao_arch.h @@ -140,6 +140,7 @@ ao_serial_init(void); #define AO_SPI_SPEED_FAST AO_SPI_SPEED_12MHz #define AO_BOOT_APPLICATION_BASE ((uint32_t *) 0x00001000) +#define AO_BOOT_APPLICATION_BOUND ((uint32_t *) (0x00000000 + 32 * 1024)) #define AO_BOOT_LOADER_BASE ((uint32_t *) 0x00000000) #define HAS_BOOT_LOADER 1