aboutsummaryrefslogtreecommitdiffstats
path: root/support/make/board-includes/robotis_opencm904.mk
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2015-02-28 23:47:30 -0800
committerbnewbold <bnewbold@robocracy.org>2015-02-28 23:47:30 -0800
commitc9151c2d8960809b34b42e9b3e0f8d918e27afe4 (patch)
tree567b7a78d63151d36ff85b225ecc7738bb75c0fe /support/make/board-includes/robotis_opencm904.mk
parenta1f09df5fb39bd1d53f06b45b06c0d26ef0a182c (diff)
downloadlibrambutan-c9151c2d8960809b34b42e9b3e0f8d918e27afe4.tar.gz
librambutan-c9151c2d8960809b34b42e9b3e0f8d918e27afe4.zip
board support: opencm904 -> robotis_opencm904
Diffstat (limited to 'support/make/board-includes/robotis_opencm904.mk')
-rw-r--r--support/make/board-includes/robotis_opencm904.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/support/make/board-includes/robotis_opencm904.mk b/support/make/board-includes/robotis_opencm904.mk
new file mode 100644
index 0000000..64d3351
--- /dev/null
+++ b/support/make/board-includes/robotis_opencm904.mk
@@ -0,0 +1,15 @@
+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!
+ifeq ($(BOOTLOADER),maple)
+LD_MEM_DIR := sram_20k_flash_128k
+endif
+ifeq ($(BOOTLOADER),robotis)
+LD_MEM_DIR := sram_20k_flash_128k_robotis
+endif