aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorDavid Kiliani <mail@davidkiliani.de>2011-09-17 20:23:41 +0200
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-27 16:44:53 -0400
commit1873871aeaacad66d9c8b06211c7b32aaea5c829 (patch)
treeec7db0f9c53fa58f9a040163c5659c27572e0789 /support
parentdcddff677ce2aa4cc5c1cb424fb83b5dcf44730d (diff)
Add support for the Olimex STM32 H103 board.
Pin layout and header files for the STM32 H103 prototype board from Olimex featuring an STM32F103RBT6 chip. This commit contains all necessary changes to compile with BOARD=olimex_stm32_h103. Signed-off-by: David Kiliani <mail@davidkiliani.de>
Diffstat (limited to 'support')
l---------support/ld/olimex_stm32_h1031
-rw-r--r--support/make/target-config.mk10
2 files changed, 11 insertions, 0 deletions
diff --git a/support/ld/olimex_stm32_h103 b/support/ld/olimex_stm32_h103
new file mode 120000
index 0000000..2d8bbed
--- /dev/null
+++ b/support/ld/olimex_stm32_h103
@@ -0,0 +1 @@
+maple \ No newline at end of file
diff --git a/support/make/target-config.mk b/support/make/target-config.mk
index a30a5da..c12fe3b 100644
--- a/support/make/target-config.mk
+++ b/support/make/target-config.mk
@@ -40,6 +40,16 @@ ifeq ($(BOARD), maple_RET6)
SRAM_SIZE := 65536
endif
+ifeq ($(BOARD), olimex_stm32_h103)
+ MCU := STM32F103RB
+ PRODUCT_ID := 0003
+ ERROR_LED_PORT := GPIOC
+ ERROR_LED_PIN := 12
+ DENSITY := STM32_MEDIUM_DENSITY
+ FLASH_SIZE := 131072
+ SRAM_SIZE := 20480
+endif
+
# Memory target-specific configuration values
ifeq ($(MEMORY_TARGET), ram)