1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-18 12:54:25 +01:00

Fixed platforms.txt linker step. Increased stack size.

This commit is contained in:
Cristian Maglie 2012-08-13 12:45:36 +02:00
parent 1e496de034
commit e2c98640c9
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ compiler.path={runtime.ide.path}/hardware/tools/g++_arm_none_eabi/bin/
#compiler.path=C:/arm-none-eabi-gcc-4_6/bin/ #compiler.path=C:/arm-none-eabi-gcc-4_6/bin/
compiler.c.cmd=arm-none-eabi-gcc compiler.c.cmd=arm-none-eabi-gcc
compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf
compiler.c.elf.cmd=arm-none-eabi-gcc compiler.c.elf.cmd=arm-none-eabi-g++
compiler.c.elf.flags=-Os -Wl,--gc-sections compiler.c.elf.flags=-Os -Wl,--gc-sections
compiler.S.flags=-c -g -assembler-with-cpp compiler.S.flags=-c -g -assembler-with-cpp
compiler.cpp.cmd=arm-none-eabi-g++ compiler.cpp.cmd=arm-none-eabi-g++
@ -62,7 +62,7 @@ tools.bossac.path={runtime.ide.path}/hardware/tools
tools.bossac.upload.params.verbose=-i -d tools.bossac.upload.params.verbose=-i -d
tools.bossac.upload.params.quiet= tools.bossac.upload.params.quiet=
tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -e -w -v -b "{build.path}/{build.project_name}.bin" tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -e -w -v -b "{build.path}/{build.project_name}.bin" -R
# specialized tool for adk2 to twiddle the erase line before running bossac # specialized tool for adk2 to twiddle the erase line before running bossac
tools.adk2install.cmd=adk2install tools.adk2install.cmd=adk2install

View File

@ -41,7 +41,7 @@ MEMORY
} }
/* The stack size used by the application. NOTE: you need to adjust */ /* The stack size used by the application. NOTE: you need to adjust */
STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x2000 ; STACK_SIZE = DEFINED(STACK_SIZE) ? STACK_SIZE : 0x8000 ;
/* Section Definitions */ /* Section Definitions */
SECTIONS SECTIONS
@ -117,7 +117,7 @@ SECTIONS
} > ram } > ram
/* .bss section which is used for uninitialized data */ /* .bss section which is used for uninitialized data */
.bss (NOLOAD) : .bss ALIGN(4) (NOLOAD) :
{ {
. = ALIGN(4); . = ALIGN(4);
_sbss = . ; _sbss = . ;