projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: make all the read-only descriptors as const
[bertos.git]
/
bertos
/
cpu
/
cortex-m3
/
io
/
lm3s.h
diff --git
a/bertos/cpu/cortex-m3/io/lm3s.h
b/bertos/cpu/cortex-m3/io/lm3s.h
index 98b1ffb769e10255e28e693d7b6876aa17d7482e..af8153847707e4e46abae4dfa9eeffe5d45f4c67 100644
(file)
--- a/
bertos/cpu/cortex-m3/io/lm3s.h
+++ b/
bertos/cpu/cortex-m3/io/lm3s.h
@@
-61,4
+61,13
@@
#error No i2c pins are defined for select cpu
#endif
#error No i2c pins are defined for select cpu
#endif
+
+/* Flash memory mapping */
+#if CPU_CM3_LM3S1968
+ #define FLASH_SIZE 0x40000 //< 256KiB
+ #define FLASH_PAGE_SIZE 0x400 //< 1KiB
+#else
+ #error No embedded definition for select cpu
+#endif
+
#endif /* LM3S_H */
#endif /* LM3S_H */