/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h substitute line 894 extern } by }

Fork of mbed by mbed official

Committer:
fblanc
Date:
Fri Dec 05 15:42:32 2014 +0000
Revision:
93:9dd889aeda0e
Parent:
90:cb3d968589d8
substitute line 894 extern } by }; /TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h

Who changed what in which revision?

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