Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
bogdanm
Date:
Wed Jun 11 15:14:05 2014 +0100
Revision:
85:024bf7f99721
Child:
90:cb3d968589d8
Release 85 of the mbed library

Main changes:

- K64F Ethernet fixes
- Updated tests
- Fixes for various mbed targets
- Code cleanup: fixed warnings, more consistent code style
- GCC support for K64F

There is a known issue with the I2C interface on some ST targets. If you
find the I2C interface problematic on your ST board, please log a bug
against this on mbed.org.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 85:024bf7f99721 1 /* [ROM] */
bogdanm 85:024bf7f99721 2 define symbol __intvec_start__ = 0x00000000;
bogdanm 85:024bf7f99721 3 define symbol __region_ROM_start__ = 0x00000000;
bogdanm 85:024bf7f99721 4 define symbol __CRP_start__ = 0x000002FC;
bogdanm 85:024bf7f99721 5 define symbol __CRP_end__ = 0x000002FF;
bogdanm 85:024bf7f99721 6 define symbol __region_ROM_end__ = 0x0007FFFF;
bogdanm 85:024bf7f99721 7
bogdanm 85:024bf7f99721 8 /* [RAM] Vector table dynamic copy: 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8*/
bogdanm 85:024bf7f99721 9 define symbol __NVIC_start__ = 0x10000000;
bogdanm 85:024bf7f99721 10 define symbol __NVIC_end__ = 0x100000C7;
bogdanm 85:024bf7f99721 11 define symbol __region_RAM_start__ = 0x100000C8;
bogdanm 85:024bf7f99721 12 define symbol __region_RAM_end__ = 0x1000FFDF;
bogdanm 85:024bf7f99721 13 define symbol _AHB_RAM_start__ = 0x2007C000;
bogdanm 85:024bf7f99721 14 define symbol _AHB_RAM_end__ = 0x20083FFF;
bogdanm 85:024bf7f99721 15
bogdanm 85:024bf7f99721 16 /* Memory regions */
bogdanm 85:024bf7f99721 17 define memory mem with size = 4G;
bogdanm 85:024bf7f99721 18
bogdanm 85:024bf7f99721 19 define region ROM_region = mem:[from __region_ROM_start__ to __region_ROM_end__] - mem:[from __CRP_start__ to __CRP_end__];
bogdanm 85:024bf7f99721 20 define region CRP_region = mem:[from __CRP_start__ to __CRP_end__];
bogdanm 85:024bf7f99721 21
bogdanm 85:024bf7f99721 22 define region RAM_region = mem:[from __region_RAM_start__ to __region_RAM_end__];
bogdanm 85:024bf7f99721 23 define region AHB_RAM_region = mem:[from _AHB_RAM_start__ to _AHB_RAM_end__];
bogdanm 85:024bf7f99721 24
bogdanm 85:024bf7f99721 25 /* Stack and Heap */
bogdanm 85:024bf7f99721 26 define symbol __size_cstack__ = 0x800;
bogdanm 85:024bf7f99721 27 define symbol __size_heap__ = 0x800;
bogdanm 85:024bf7f99721 28 define block CSTACK with alignment = 8, size = __size_cstack__ { };
bogdanm 85:024bf7f99721 29 define block HEAP with alignment = 8, size = __size_heap__ { };
bogdanm 85:024bf7f99721 30 define block STACKHEAP with fixed order { block HEAP, block CSTACK };
bogdanm 85:024bf7f99721 31
bogdanm 85:024bf7f99721 32 initialize by copy with packing = zeros { readwrite };
bogdanm 85:024bf7f99721 33 do not initialize { section .noinit };
bogdanm 85:024bf7f99721 34
bogdanm 85:024bf7f99721 35 place at address mem:__intvec_start__ { section .intvec };
bogdanm 85:024bf7f99721 36 place at address mem:0x2FC { section CRPKEY };
bogdanm 85:024bf7f99721 37 place in ROM_region { readonly };
bogdanm 85:024bf7f99721 38 place in RAM_region { readwrite, block STACKHEAP };
bogdanm 85:024bf7f99721 39 place in AHB_RAM_region { section USB_RAM };
bogdanm 85:024bf7f99721 40 place in CRP_region { section .crp };