mbed library sources modified for open wear
Dependents: openwear-lifelogger-example
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini@310:6188e0254baa, 2014-09-16 (annotated)
- Committer:
- janekm
- Date:
- Tue Sep 16 22:42:01 2014 +0000
- Revision:
- 310:6188e0254baa
- Parent:
- 256:76fd9a263045
N/A
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 256:76fd9a263045 | 1 | |
mbed_official | 256:76fd9a263045 | 2 | FUNC void Setup (unsigned int region) { |
mbed_official | 256:76fd9a263045 | 3 | region &= 0xFF000000; |
mbed_official | 256:76fd9a263045 | 4 | _WDWORD(0x40043100, region); // Set the shadow pointer |
mbed_official | 256:76fd9a263045 | 5 | _WDWORD(0xE000ED08, 0); // Set the vector table offset to 0 |
mbed_official | 256:76fd9a263045 | 6 | SP = _RDWORD(0); // Setup Stack Pointer |
mbed_official | 256:76fd9a263045 | 7 | PC = _RDWORD(4); // Setup Program Counter |
mbed_official | 256:76fd9a263045 | 8 | } |
mbed_official | 256:76fd9a263045 | 9 | |
mbed_official | 256:76fd9a263045 | 10 | LOAD %L INCREMENTAL |
mbed_official | 256:76fd9a263045 | 11 | Setup(0x14000000); // Get ready to execute image in QSPI |
mbed_official | 256:76fd9a263045 | 12 |