summaryrefslogtreecommitdiff
path: root/src/lpc/ao_arch.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-06-24 14:23:53 -0700
committerKeith Packard <keithp@keithp.com>2013-06-24 14:30:22 -0700
commit0dd148e388944d8d265da51d62806c4a00b2c13d (patch)
treee1212b3cbc0d5a77d0fe1d676e07f86fef91a52f /src/lpc/ao_arch.h
parent2568b36ae9d38ae1607ec08b84b06e0fe84bd3ba (diff)
altos/lpc: Add boot loader
Support the USB boot loader, add USB pull-up support. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lpc/ao_arch.h')
-rw-r--r--src/lpc/ao_arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lpc/ao_arch.h b/src/lpc/ao_arch.h
index f605e3d2..a8d3cfc4 100644
--- a/src/lpc/ao_arch.h
+++ b/src/lpc/ao_arch.h
@@ -137,4 +137,8 @@ ao_serial_init(void);
#define AO_SPI_SPEED_FAST AO_SPI_SPEED_12MHz
+#define AO_BOOT_APPLICATION_BASE ((uint32_t *) 0x00001000)
+#define AO_BOOT_LOADER_BASE ((uint32_t *) 0x00000000)
+#define HAS_BOOT_LOADER 1
+
#endif /* _AO_ARCH_H_ */