diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-11-29 02:48:58 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-04-11 16:56:52 -0400 |
commit | a39a5af1cbc6f729f5577c52589538533de7c311 (patch) | |
tree | 2a7f49a123b7267dad7b3f26abd02f95a70ed0a7 /support/make/board-includes | |
parent | 3cbf2d87bfbf2d5c680525197dee861fe9a6c575 (diff) | |
download | librambutan-a39a5af1cbc6f729f5577c52589538533de7c311.tar.gz librambutan-a39a5af1cbc6f729f5577c52589538533de7c311.zip |
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')
-rw-r--r-- | support/make/board-includes/maple.mk | 6 | ||||
-rw-r--r-- | support/make/board-includes/maple_RET6.mk | 6 | ||||
-rw-r--r-- | support/make/board-includes/maple_mini.mk | 6 | ||||
-rw-r--r-- | support/make/board-includes/maple_native.mk | 6 | ||||
-rw-r--r-- | support/make/board-includes/olimex_stm32_h103.mk | 6 |
5 files changed, 30 insertions, 0 deletions
diff --git a/support/make/board-includes/maple.mk b/support/make/board-includes/maple.mk new file mode 100644 index 0000000..3c83ee7 --- /dev/null +++ b/support/make/board-includes/maple.mk @@ -0,0 +1,6 @@ +MCU := STM32F103RB +PRODUCT_ID := 0003 +ERROR_LED_PORT := GPIOA +ERROR_LED_PIN := 5 +DENSITY := STM32_MEDIUM_DENSITY +TARGET_FLAGS += -D$(DENSITY) diff --git a/support/make/board-includes/maple_RET6.mk b/support/make/board-includes/maple_RET6.mk new file mode 100644 index 0000000..3f61867 --- /dev/null +++ b/support/make/board-includes/maple_RET6.mk @@ -0,0 +1,6 @@ +MCU := STM32F103RE +PRODUCT_ID := 0003 +ERROR_LED_PORT := GPIOA +ERROR_LED_PIN := 5 +DENSITY := STM32_HIGH_DENSITY +TARGET_FLAGS += -D$(DENSITY) 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) diff --git a/support/make/board-includes/maple_native.mk b/support/make/board-includes/maple_native.mk new file mode 100644 index 0000000..555d71b --- /dev/null +++ b/support/make/board-includes/maple_native.mk @@ -0,0 +1,6 @@ +MCU := STM32F103ZE +PRODUCT_ID := 0003 +ERROR_LED_PORT := GPIOC +ERROR_LED_PIN := 15 +DENSITY := STM32_HIGH_DENSITY +TARGET_FLAGS += -D$(DENSITY) diff --git a/support/make/board-includes/olimex_stm32_h103.mk b/support/make/board-includes/olimex_stm32_h103.mk new file mode 100644 index 0000000..6b45c17 --- /dev/null +++ b/support/make/board-includes/olimex_stm32_h103.mk @@ -0,0 +1,6 @@ +MCU := STM32F103RB +PRODUCT_ID := 0003 +ERROR_LED_PORT := GPIOC +ERROR_LED_PIN := 12 +DENSITY := STM32_MEDIUM_DENSITY +TARGET_FLAGS += -D$(DENSITY) |