aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc43xx/vector.c
AgeCommit message (Collapse)Author
2012-10-05unified vector table initializationchrysn
the cortex generic interrupts get moved to lib/cm3/vector.c, the platorms' individual irq names, initialization and handler prototypes go to platoform specific irq.h files. as the vector.c file heavily depends on platoform specific headers, it can't be built once-and-for-all in lib/cm3/, so there are inclusion stubs in the various architecture dirs; this might be better solved with Makefile / include path handling. one particular file is lib/lpc43xx/vector.c; that platform's initialization code contains an additional section to copy everything from flash to ram (which probably performs better there). that code still resides in the inclusion stub, and gets mashed in using defines. would need a cleaner implementation together with the Makefile solution. this commit contains some files of the upcoming efm32 branch, from which it was cherry-picked. the .bin files produced from before and after this commit only differ in lpc43xx, where the startup sequence was subtly modified.
2012-09-03Use a specific symbol for data source address in flashNicolas Schodet
That way, data source address does not depend on any other unrelated change in linker script. This also fixes cases when .data input section is aligned on 8 bytes. The new version does not provide any address for the output section so that it is aligned to the strictest input section. The _data_loadaddr symbol will always take this alignment into account.
2012-06-13Fix Linker bug copy ROM to RAM & exec from RAM (need more test).TitanMKD
2012-06-10Added ROM to RAM code copy & exec with example of how to use it ↵TitanMKD
(miniblink_rom_to_ram).
2012-05-22semicolons might helpMichael Ossmann
2012-05-22gpio.c, vector.c updated for LPC43xxMichael Ossmann
2012-05-22new lib/lpc43xx, starting with copy of lpc17xxMichael Ossmann