change keil_ram.ini to lpc43xx_debug_init.ini

This commit is contained in:
hathach
2014-04-08 13:56:53 +07:00
parent 30d452abf5
commit e53af2c4ad
7 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
FUNC void Setup (unsigned int region) {
region &= 0xFF000000;
_WDWORD(0x40043100, region); // Set the shadow pointer
_WDWORD(0xE000ED08, 0); // Set the vector table offset to 0
SP = _RDWORD(region); // Setup Stack Pointer
PC = _RDWORD(region+4); // Setup Program Counter
}
LOAD %L INCREMENTAL
Setup(__scatterload); // Get ready to execute image in SRAM or whatever region it is in g,main