mbed library sources

Dependents:   Marvino mbot

Fork of mbed-src by mbed official

Committer:
jaerts
Date:
Tue Dec 22 13:22:16 2015 +0000
Revision:
637:ed69428d4850
Parent:
507:d4fc7603a669
Add very shady LPC1768 CAN Filter implementation

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 507:d4fc7603a669 1 /* [ROM] */
mbed_official 507:d4fc7603a669 2 define symbol __intvec_start__ = 0x0;
mbed_official 507:d4fc7603a669 3 define symbol __region_ROM_start__ = 0x0;
mbed_official 507:d4fc7603a669 4 define symbol __region_ROM_end__ = 0x0003FFFF;
mbed_official 507:d4fc7603a669 5
mbed_official 507:d4fc7603a669 6 /* [RAM] Vector table dynamic copy: 79 vectors * 4 bytes = 316 bytes (0x13C) */
mbed_official 507:d4fc7603a669 7 define symbol __NVIC_start__ = 0x00000000;
mbed_official 507:d4fc7603a669 8 define symbol __NVIC_end__ = 0x00000140; /* to be aligned on 8 bytes */
mbed_official 507:d4fc7603a669 9 define symbol __region_RAM_start__ = 0x20000000;
mbed_official 507:d4fc7603a669 10 define symbol __region_RAM_end__ = 0x20007FFF;
mbed_official 507:d4fc7603a669 11
mbed_official 507:d4fc7603a669 12 /* Memory regions */
mbed_official 507:d4fc7603a669 13 define memory mem with size = 4G;
mbed_official 507:d4fc7603a669 14 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__];
mbed_official 507:d4fc7603a669 15 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
mbed_official 507:d4fc7603a669 16
mbed_official 507:d4fc7603a669 17 /* Stack and Heap */
mbed_official 507:d4fc7603a669 18 define symbol __size_cstack__ = 0x800;
mbed_official 507:d4fc7603a669 19 define symbol __size_heap__ = 0x800;
mbed_official 507:d4fc7603a669 20 define block CSTACK with alignment = 8, size = __size_cstack__ { };
mbed_official 507:d4fc7603a669 21 define block HEAP with alignment = 8, size = __size_heap__ { };
mbed_official 507:d4fc7603a669 22
mbed_official 507:d4fc7603a669 23 initialize by copy { readwrite };
mbed_official 507:d4fc7603a669 24 do not initialize { section .noinit };
mbed_official 507:d4fc7603a669 25
mbed_official 507:d4fc7603a669 26 place at address mem:__intvec_start__ { readonly section .intvec };
mbed_official 507:d4fc7603a669 27 place in ROM_region { readonly };
mbed_official 507:d4fc7603a669 28 place in RAM_region { readwrite,
mbed_official 507:d4fc7603a669 29 block CSTACK, block HEAP };