aboutsummaryrefslogtreecommitdiffstats
path: root/support/make
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 /support/make
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 'support/make')
-rw-r--r--support/make/board-includes/cm900.mk10
-rw-r--r--support/make/board-includes/opencm904.mk10
2 files changed, 20 insertions, 0 deletions
diff --git a/support/make/board-includes/cm900.mk b/support/make/board-includes/cm900.mk
new file mode 100644
index 0000000..f9a09ac
--- /dev/null
+++ b/support/make/board-includes/cm900.mk
@@ -0,0 +1,10 @@
+MCU := STM32F103C8
+PRODUCT_ID := 0003
+ERROR_LED_PORT := GPIOB
+ERROR_LED_PIN := 2
+MCU_SERIES := stm32f1
+MCU_F1_LINE := performance
+# This crap is due to ld-script limitations. If you know of a better
+# way to go about this (like some magic ld switches to specify MEMORY
+# at the command line), please tell us!
+LD_MEM_DIR := sram_20k_flash_128k
diff --git a/support/make/board-includes/opencm904.mk b/support/make/board-includes/opencm904.mk
new file mode 100644
index 0000000..f3a4aa7
--- /dev/null
+++ b/support/make/board-includes/opencm904.mk
@@ -0,0 +1,10 @@
+MCU := STM32F103CB
+PRODUCT_ID := 0003
+ERROR_LED_PORT := GPIOB
+ERROR_LED_PIN := 9
+MCU_SERIES := stm32f1
+MCU_F1_LINE := performance
+# This crap is due to ld-script limitations. If you know of a better
+# way to go about this (like some magic ld switches to specify MEMORY
+# at the command line), please tell us!
+LD_MEM_DIR := sram_20k_flash_128k