[KINETIS] Fix flash security block removal on RVCT
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8206 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
3ba46de332
commit
82ed9f3093
|
@ -36,7 +36,11 @@
|
||||||
/* Driver local variables and types. */
|
/* Driver local variables and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
#ifdef __CC_ARM
|
||||||
|
__attribute__ ((section(".ARM.__at_0x400")))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".cfmconfig")))
|
__attribute__ ((section(".cfmconfig")))
|
||||||
|
#endif
|
||||||
const uint8_t _cfm[0x10] = {
|
const uint8_t _cfm[0x10] = {
|
||||||
0xFF, /* NV_BACKKEY3: KEY=0xFF */
|
0xFF, /* NV_BACKKEY3: KEY=0xFF */
|
||||||
0xFF, /* NV_BACKKEY2: KEY=0xFF */
|
0xFF, /* NV_BACKKEY2: KEY=0xFF */
|
||||||
|
|
|
@ -37,7 +37,11 @@
|
||||||
/* Driver local variables and types. */
|
/* Driver local variables and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
#ifdef __CC_ARM
|
||||||
|
__attribute__ ((section(".ARM.__at_0x400")))
|
||||||
|
#else
|
||||||
__attribute__ ((section(".cfmconfig")))
|
__attribute__ ((section(".cfmconfig")))
|
||||||
|
#endif
|
||||||
const uint8_t _cfm[0x10] = {
|
const uint8_t _cfm[0x10] = {
|
||||||
0xFF, /* NV_BACKKEY3: KEY=0xFF */
|
0xFF, /* NV_BACKKEY3: KEY=0xFF */
|
||||||
0xFF, /* NV_BACKKEY2: KEY=0xFF */
|
0xFF, /* NV_BACKKEY2: KEY=0xFF */
|
||||||
|
|
Loading…
Reference in New Issue