aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/boards/MIKROE_CLICKER2_STM32/mpconfigboard.mk
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/boards/MIKROE_CLICKER2_STM32/mpconfigboard.mk')
-rw-r--r--ports/stm32/boards/MIKROE_CLICKER2_STM32/mpconfigboard.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/stm32/boards/MIKROE_CLICKER2_STM32/mpconfigboard.mk b/ports/stm32/boards/MIKROE_CLICKER2_STM32/mpconfigboard.mk
new file mode 100644
index 000000000..aa52f2116
--- /dev/null
+++ b/ports/stm32/boards/MIKROE_CLICKER2_STM32/mpconfigboard.mk
@@ -0,0 +1,13 @@
+MCU_SERIES = f4
+CMSIS_MCU = STM32F407xx
+AF_FILE = boards/stm32f405_af.csv
+ifeq ($(USE_MBOOT),1)
+# When using Mboot all the text goes together after the filesystem
+LD_FILES = boards/stm32f405.ld boards/common_blifs.ld
+TEXT0_ADDR = 0x08020000
+else
+# When not using Mboot the ISR text goes first, then the rest after the filesystem
+LD_FILES = boards/stm32f405.ld boards/common_ifs.ld
+TEXT0_ADDR = 0x08000000
+TEXT1_ADDR = 0x08020000
+endif