projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d190810
)
altos: Assume all LPC products will have 32KB of flash
author
Keith Packard
<keithp@keithp.com>
Tue, 13 May 2014 05:51:50 +0000
(22:51 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 13 May 2014 05:51:50 +0000
(22:51 -0700)
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>
src/lpc/ao_arch.h
patch
|
blob
|
history
diff --git
a/src/lpc/ao_arch.h
b/src/lpc/ao_arch.h
index dd0debd449925fab5da90df2fbe5d634adc67f7f..5fbb8dfaa0f24183341d1d78dbbc49e80cdf16b3 100644
(file)
--- 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