mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Start of a new ColdFire/CodeWarrior demo.
This commit is contained in:
parent
8e219f83f0
commit
709b7ee223
57 changed files with 8456 additions and 0 deletions
21
Demo/ColdFire_MCF52221_CodeWarrior/sources/cfm.c
Normal file
21
Demo/ColdFire_MCF52221_CodeWarrior/sources/cfm.c
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
/* CFM init */
|
||||
|
||||
#define KEY_UPPER 0
|
||||
#define KEY_LOWER 0
|
||||
#define CFMPROT 0
|
||||
#define CFMSACC 0
|
||||
#define CFMDACC 0
|
||||
#define CFMSEC 0
|
||||
|
||||
#pragma define_section cfmconfig ".cfmconfig" far_absolute R
|
||||
#pragma explicit_zero_data on
|
||||
|
||||
__declspec(cfmconfig) unsigned long _cfm[6] = {
|
||||
KEY_UPPER, /* 0x00000400 */
|
||||
KEY_LOWER, /* 0x00000404 */
|
||||
CFMPROT, /* 0x00000408 */
|
||||
CFMSACC, /* 0x0000040C */
|
||||
CFMDACC, /* 0x00000410 */
|
||||
CFMSEC, /* 0x00000414 */
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue