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:
parent
1e496de034
commit
e2c98640c9
@ -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
|
||||||
|
@ -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 = . ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user