mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
Diff: targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini
- Revision:
- 256:76fd9a263045
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini Tue Jul 15 07:45:08 2014 +0100 @@ -0,0 +1,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 +