aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/stm32f1/include
diff options
context:
space:
mode:
authorPerry Hung <iperry@gmail.com>2014-02-27 16:30:59 -0500
committerPerry Hung <iperry@gmail.com>2014-02-27 16:30:59 -0500
commit139e4b1a1ae547540d32aa66d47c4e69b1b57bbf (patch)
treecdc4072da906e0728db620328529ab6e3fab838b /libmaple/stm32f1/include
parent113d0de7eb0fea6939d8ac13f3cfc8cdfdd5d447 (diff)
parent43c2295119205bc40a0d21f2994ade9f84c5397c (diff)
downloadlibrambutan-139e4b1a1ae547540d32aa66d47c4e69b1b57bbf.tar.gz
librambutan-139e4b1a1ae547540d32aa66d47c4e69b1b57bbf.zip
Merge pull request #85 from Gregwar/robotis
Adding support for cm900 and opencm904 boards (robotis)
Diffstat (limited to 'libmaple/stm32f1/include')
-rw-r--r--libmaple/stm32f1/include/series/stm32.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libmaple/stm32f1/include/series/stm32.h b/libmaple/stm32f1/include/series/stm32.h
index f6e96f8..42a9744 100644
--- a/libmaple/stm32f1/include/series/stm32.h
+++ b/libmaple/stm32f1/include/series/stm32.h
@@ -98,6 +98,13 @@ extern "C" {
# define STM32_SRAM_END ((void*)0x20002000)
# define STM32_MEDIUM_DENSITY
+#elif defined(MCU_STM32F103C8)
+# define STM32_NR_GPIO_PORTS 4
+# define STM32_SRAM_END ((void*)0x20005000)
+# define NR_GPIO_PORTS STM32_NR_GPIO_PORTS
+# define STM32_F1_LINE STM32_F1_LINE_PERFORMANCE
+# define STM32_MEDIUM_DENSITY
+
#else
#warning "Unsupported or unspecified STM32F1 MCU."
#endif