mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC43XX/TOOLCHAIN_ARM_STD/LPC43xx_spifi.ini@323:9e901b0a5aa1, 2014-09-13 (annotated)
- Committer:
- shaoziyang
- Date:
- Sat Sep 13 14:25:46 2014 +0000
- Revision:
- 323:9e901b0a5aa1
- Parent:
- 256:76fd9a263045
test with CLOCK_SETUP = 0
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 |