mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Initial IAR LPC1768 demo. Work in progress at this point.
This commit is contained in:
parent
87bb2c58b2
commit
fb01731f41
57 changed files with 13450 additions and 0 deletions
13
Demo/CORTEX_LPC1768_IAR/Flash.mac
Normal file
13
Demo/CORTEX_LPC1768_IAR/Flash.mac
Normal file
|
@ -0,0 +1,13 @@
|
|||
execUserReset()
|
||||
{
|
||||
__writeMemory32(0x00000000, 0xE000ED08, "Memory"); //Vector table remap at 0x00000000
|
||||
}
|
||||
|
||||
execUserPreload()
|
||||
{
|
||||
// If the MAM values was wrong, a dummy read is necessary to get the flash memory in sync.
|
||||
__writeMemory32(0x00000001, 0x400FC040, "Memory"); // MEMMAP = 1
|
||||
__readMemory32(0x00000000, "Memory");
|
||||
__writeMemory32(0x00000000, 0xE000ED08, "Memory"); //Vector table remap at 0x00000000
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue