X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fscripts%2Fcortex-m3_rom.ld;h=94a181363000e522a58d6d4c3326c9e8cc747724;hb=d369c385f36aae74d203f6c40ee81c80d9032bbc;hp=bed63240712b9b336ed6ba9dbc1cb338c70fb1c6;hpb=66289a0e7fa93342bc3d8621fa20c5a542807e1e;p=bertos.git diff --git a/bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld b/bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld index bed63240..94a18136 100644 --- a/bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld +++ b/bertos/cpu/cortex-m3/scripts/cortex-m3_rom.ld @@ -38,10 +38,6 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") OUTPUT_ARCH(arm) -/* - * Define stack size here - */ -STACK_SIZE = 0x1000; /* * Allocate section memory @@ -94,6 +90,7 @@ SECTIONS /* * Allocated stack at the end of bss section. * Data heap is allocate at end of stack. + * STACK_SIZE variable is defined in the CPU specific linker script file. */ PROVIDE (__msp_start = .); . = ALIGN(8);