aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
authorFabio Utzig <utzig@utzig.org>2016-02-23 00:07:23 +0000
committerFabio Utzig <utzig@utzig.org>2016-02-23 00:07:23 +0000
commit7b08ab4ae5e671d6b3f2bee8dfb01bd70199c8bf (patch)
tree140b70e4fec6d191e48cc3f08da5f472b3cae894 /os/hal/ports
parente612ccf6ca2f1a9f279ba963414dd819100cef97 (diff)
downloadChibiOS-7b08ab4ae5e671d6b3f2bee8dfb01bd70199c8bf.tar.gz
ChibiOS-7b08ab4ae5e671d6b3f2bee8dfb01bd70199c8bf.tar.bz2
ChibiOS-7b08ab4ae5e671d6b3f2bee8dfb01bd70199c8bf.zip
[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
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/KINETIS/K20x/hal_lld.c2
1 files changed, 1 insertions, 1 deletions
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 */