aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/libmaple.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-03-16 17:37:21 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-03-16 17:56:54 -0400
commit4862d1eae5813e278cfbb1d5e0a040010b92eb3f (patch)
treeb0771810e7d1da7d254375b4758128dce3793668 /libmaple/libmaple.h
parent04ee498b46393250c31606e526c28cb3b2b870ed (diff)
downloadlibrambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.tar.gz
librambutan-4862d1eae5813e278cfbb1d5e0a040010b92eb3f.zip
Maple RET6 edition support
Diffstat (limited to 'libmaple/libmaple.h')
-rw-r--r--libmaple/libmaple.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h
index 0bbd34e..7814730 100644
--- a/libmaple/libmaple.h
+++ b/libmaple/libmaple.h
@@ -56,7 +56,6 @@
/* e.g., LeafLabs Maple Native */
#define NR_GPIO_PORTS 7
-
#define SRAM_SIZE 0x10000
#elif defined(MCU_STM32F103CB)
@@ -69,6 +68,12 @@
#define SRAM_SIZE 0x5000
+#elif defined(MCU_STM32F103RE)
+ /* e.g., LeafLabs Maple RET6 edition */
+
+ #define NR_GPIO_PORTS 4
+ #define SRAM_SIZE 0x10000
+
#else
#error "No MCU type specified. Add something like -DMCU_STM32F103RB " \