From 7b08ab4ae5e671d6b3f2bee8dfb01bd70199c8bf Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Tue, 23 Feb 2016 00:07:23 +0000 Subject: [PATCH] [KINETIS] Add used flags for K20x flash config git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8926 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/KINETIS/K20x/hal_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/ports/KINETIS/K20x/hal_lld.c b/os/hal/ports/KINETIS/K20x/hal_lld.c index e25509769..1e102414e 100644 --- a/os/hal/ports/KINETIS/K20x/hal_lld.c +++ b/os/hal/ports/KINETIS/K20x/hal_lld.c @@ -39,7 +39,7 @@ #ifdef __CC_ARM __attribute__ ((section(".ARM.__at_0x400"))) #else -__attribute__ ((section(".cfmconfig"))) +__attribute__ ((used, section(".cfmconfig"))) #endif const uint8_t _cfm[0x10] = { 0xFF, /* NV_BACKKEY3: KEY=0xFF */