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