From e612ccf6ca2f1a9f279ba963414dd819100cef97 Mon Sep 17 00:00:00 2001 From: Fabio Utzig Date: Tue, 23 Feb 2016 00:02:07 +0000 Subject: [KINETIS] Add used flash for flash config git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8925 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/KINETIS/KL2x/hal_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal/ports') diff --git a/os/hal/ports/KINETIS/KL2x/hal_lld.c b/os/hal/ports/KINETIS/KL2x/hal_lld.c index e006e1228..dce158811 100644 --- a/os/hal/ports/KINETIS/KL2x/hal_lld.c +++ b/os/hal/ports/KINETIS/KL2x/hal_lld.c @@ -40,7 +40,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 */ -- cgit v1.2.3