aboutsummaryrefslogtreecommitdiff
path: root/support/make/board-includes/maple_mini.mk
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-11-29 02:48:58 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:52 -0400
commitc0d60e37a023e3d952f2421eda056ead989e58b3 (patch)
tree2a7f49a123b7267dad7b3f26abd02f95a70ed0a7 /support/make/board-includes/maple_mini.mk
parentfcb6e1ed2871d9bc251642e56e69b0e46dc162c1 (diff)
build system: Add board include files for target-config.mk.
target-config.mk is getting a little long with all the boards in it. Break out the board-specific bits into individual files under support/make/board-includes. This has the added benefit that adding a new board requires less dirtying of the working tree, which is nice for jumping around branches with an experimental board. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support/make/board-includes/maple_mini.mk')
-rw-r--r--support/make/board-includes/maple_mini.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/make/board-includes/maple_mini.mk b/support/make/board-includes/maple_mini.mk
new file mode 100644
index 0000000..b1afa4f
--- /dev/null
+++ b/support/make/board-includes/maple_mini.mk
@@ -0,0 +1,6 @@
+MCU := STM32F103CB
+PRODUCT_ID := 0003
+ERROR_LED_PORT := GPIOB
+ERROR_LED_PIN := 1
+DENSITY := STM32_MEDIUM_DENSITY
+TARGET_FLAGS += -D$(DENSITY)