diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-09-18 11:37:48 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-09-18 11:59:43 -0400 |
commit | 9b70c052ccc7e9b28e8e935ba4fccb888a4889da (patch) | |
tree | b0e9fed7b22214ca1f6e3c1fdaebf5613e3e34ba /src/generic/armcm_boot.c | |
parent | 1c6a8267f9514ee5d02948719acab7bae4407311 (diff) | |
download | kutter-9b70c052ccc7e9b28e8e935ba4fccb888a4889da.tar.gz kutter-9b70c052ccc7e9b28e8e935ba4fccb888a4889da.tar.xz kutter-9b70c052ccc7e9b28e8e935ba4fccb888a4889da.zip |
armcm_boot: Export MCU definition from armcm_boot
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/generic/armcm_boot.c')
-rw-r--r-- | src/generic/armcm_boot.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/generic/armcm_boot.c b/src/generic/armcm_boot.c index e11e2412..ad7461ca 100644 --- a/src/generic/armcm_boot.c +++ b/src/generic/armcm_boot.c @@ -5,7 +5,12 @@ // This file may be distributed under the terms of the GNU GPLv3 license. #include "armcm_boot.h" // DECL_ARMCM_IRQ +#include "autoconf.h" // CONFIG_MCU #include "board/internal.h" // SystemInit +#include "command.h" // DECL_CONSTANT_STR + +// Export MCU type +DECL_CONSTANT_STR("MCU", CONFIG_MCU); // Symbols created by armcm_link.lds.S linker script extern uint32_t _data_start, _data_end, _data_flash; |