diff options
author | Keith Packard <keithp@keithp.com> | 2014-05-12 22:51:50 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-05-12 22:51:50 -0700 |
commit | 6a6053dfed6fc1a7f50be0c62782d0050758cd0b (patch) | |
tree | 9a8d0e4773bcc729833fdcc73351b57d11a1e73a /src | |
parent | d1908101241b1002fbc582b0a2c27045065a6615 (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/lpc/ao_arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |