mirror of https://github.com/rusefi/ChibiOS.git
[KINETIS] Remove flash protection code from demo
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7221 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
72c19a33e0
commit
2ed2fd66ec
|
@ -17,27 +17,6 @@
|
|||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
|
||||
__attribute__ ((section(".cfmconfig")))
|
||||
const uint8_t _cfm[0x10] = {
|
||||
0xFF, /* NV_BACKKEY3: KEY=0xFF */
|
||||
0xFF, /* NV_BACKKEY2: KEY=0xFF */
|
||||
0xFF, /* NV_BACKKEY1: KEY=0xFF */
|
||||
0xFF, /* NV_BACKKEY0: KEY=0xFF */
|
||||
0xFF, /* NV_BACKKEY7: KEY=0xFF */
|
||||
0xFF, /* NV_BACKKEY6: KEY=0xFF */
|
||||
0xFF, /* NV_BACKKEY5: KEY=0xFF */
|
||||
0xFF, /* NV_BACKKEY4: KEY=0xFF */
|
||||
0xFF, /* NV_FPROT3: PROT=0xFF */
|
||||
0xFF, /* NV_FPROT2: PROT=0xFF */
|
||||
0xFF, /* NV_FPROT1: PROT=0xFF */
|
||||
0xFF, /* NV_FPROT0: PROT=0xFF */
|
||||
0xBE, /* NV_FSEC: KEYEN=1,MEEN=3,FSLACC=3,SEC=2 */
|
||||
0xFF, /* NV_FOPT: ??=1,??=1,FAST_INIT=1,LPBOOT1=1,RESET_PIN_CFG=1,
|
||||
NMI_DIS=1,EZPORT_DIS=1,LPBOOT0=1 */
|
||||
0xFF,
|
||||
0xFF
|
||||
};
|
||||
|
||||
void spicb(SPIDriver *spip) {
|
||||
|
||||
(void)spip;
|
||||
|
|
Loading…
Reference in New Issue