From 6a6053dfed6fc1a7f50be0c62782d0050758cd0b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 12 May 2014 22:51:50 -0700 Subject: [PATCH] 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 --- src/lpc/ao_arch.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2