aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorGrégoire Passault <g.passault@gmail.com>2014-11-26 22:58:20 -0500
committerbnewbold <bnewbold@robocracy.org>2015-02-28 23:14:52 -0800
commitf23af97214dc8664a1bc83951a65040e121a7364 (patch)
tree84fe5b8f94348cb9f4e9b90bc7c96edcbdcc078d /support
parent8e213031af85fdf544b957cec18406f51eb2a077 (diff)
downloadlibrambutan-f23af97214dc8664a1bc83951a65040e121a7364.tar.gz
librambutan-f23af97214dc8664a1bc83951a65040e121a7364.zip
Adding support for NUCLEO-F103RB
Signed-off-by: Grégoire Passault <g.passault@gmail.com>
Diffstat (limited to 'support')
-rw-r--r--support/make/board-includes/nucleo.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/support/make/board-includes/nucleo.mk b/support/make/board-includes/nucleo.mk
new file mode 100644
index 0000000..a2943ce
--- /dev/null
+++ b/support/make/board-includes/nucleo.mk
@@ -0,0 +1,10 @@
+MCU := STM32F103RB
+PRODUCT_ID := 0003
+ERROR_LED_PORT := GPIOA
+ERROR_LED_PIN := 5
+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