summaryrefslogtreecommitdiff
path: root/tmk_core/tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini
blob: a5c3700b654528e1fa609f1daca091abcc3b708d (plain)
1
2
3
4
5
6
7
8
9
10
11
12

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(0);                     // Setup Stack Pointer
  PC = _RDWORD(4);                 // Setup Program Counter
}

LOAD %L INCREMENTAL
Setup(0x14000000); // Get ready to execute image in QSPI