aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f4/main.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-07-27 16:43:35 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-07-27 21:32:04 -0400
commit16616662eddb17abe204c61abcf7066e6b526bf3 (patch)
tree99ca0e1c0bcaf1d282e7215310f1c8d6510acd76 /src/stm32f4/main.c
parent961d13ee1a903c30008a625ba7e03631e4903999 (diff)
downloadkutter-16616662eddb17abe204c61abcf7066e6b526bf3.tar.gz
kutter-16616662eddb17abe204c61abcf7066e6b526bf3.tar.xz
kutter-16616662eddb17abe204c61abcf7066e6b526bf3.zip
stm32f4: Add Kconfig build rules for STM32F405/7
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32f4/main.c')
-rw-r--r--src/stm32f4/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm32f4/main.c b/src/stm32f4/main.c
index a1a60578..a6424770 100644
--- a/src/stm32f4/main.c
+++ b/src/stm32f4/main.c
@@ -4,11 +4,12 @@
//
// This file may be distributed under the terms of the GNU GPLv3 license.
+#include "autoconf.h" // CONFIG_MCU
#include "command.h" // DECL_CONSTANT_STR
#include "internal.h" // clock_setup
#include "sched.h" // sched_main
-DECL_CONSTANT_STR("MCU", "stm32f446");
+DECL_CONSTANT_STR("MCU", CONFIG_MCU);
void
command_reset(uint32_t *args)