mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-01-20 16:50:35 -05:00
This commit is contained in:
parent
5c64e1fad9
commit
4baf272c92
5062 changed files with 1554463 additions and 0 deletions
13
20100923-V6.1.0-RC2/Demo/CORTEX_LPC1768_IAR/Flash.mac
Normal file
13
20100923-V6.1.0-RC2/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