aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/KINETIS/K20x
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/KINETIS/K20x')
-rw-r--r--os/hal/ports/KINETIS/K20x/hal_lld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/KINETIS/K20x/hal_lld.c b/os/hal/ports/KINETIS/K20x/hal_lld.c
index fe98a05c4..e25509769 100644
--- a/os/hal/ports/KINETIS/K20x/hal_lld.c
+++ b/os/hal/ports/KINETIS/K20x/hal_lld.c
@@ -36,7 +36,11 @@
/* Driver local variables and types. */
/*===========================================================================*/
+#ifdef __CC_ARM
+__attribute__ ((section(".ARM.__at_0x400")))
+#else
__attribute__ ((section(".cfmconfig")))
+#endif
const uint8_t _cfm[0x10] = {
0xFF, /* NV_BACKKEY3: KEY=0xFF */
0xFF, /* NV_BACKKEY2: KEY=0xFF */