File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
variants/arduino_due_x/linker_scripts/gcc Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ compiler.path={runtime.ide.path}/hardware/tools/g++_arm_none_eabi/bin/
7
7
#compiler.path=C:/arm-none-eabi-gcc-4_6/bin/
8
8
compiler.c.cmd=arm-none-eabi-gcc
9
9
compiler.c.flags=-c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -Dprintf=iprintf
10
- compiler.c.elf.cmd=arm-none-eabi-gcc
10
+ compiler.c.elf.cmd=arm-none-eabi-g++
11
11
compiler.c.elf.flags=-Os -Wl,--gc-sections
12
12
compiler.S.flags=-c -g -assembler-with-cpp
13
13
compiler.cpp.cmd=arm-none-eabi-g++
@@ -62,7 +62,7 @@ tools.bossac.path={runtime.ide.path}/hardware/tools
62
62
63
63
tools.bossac.upload.params.verbose=-i -d
64
64
tools.bossac.upload.params.quiet=
65
- tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -e -w -v -b "{build.path}/{build.project_name}.bin"
65
+ tools.bossac.upload.pattern="{path}/{cmd}" {upload.verbose} --port={serial.port.file} -e -w -v -b "{build.path}/{build.project_name}.bin" -R
66
66
67
67
# specialized tool for adk2 to twiddle the erase line before running bossac
68
68
tools.adk2install.cmd=adk2install
Original file line number Diff line number Diff line change 41
41
}
42
42
43
43
/* The stack size used by the application. NOTE : you need to adjust */
44
- STACK_SIZE = DEFINED (STACK_SIZE) ? STACK_SIZE : 0x2000 ;
44
+ STACK_SIZE = DEFINED (STACK_SIZE) ? STACK_SIZE : 0x8000 ;
45
45
46
46
/* Section Definitions */
47
47
SECTIONS
@@ -117,7 +117,7 @@ SECTIONS
117
117
} > ram
118
118
119
119
/* .bss section which is used for uninitialized data */
120
- .bss (NOLOAD) :
120
+ .bss ALIGN ( 4) (NOLOAD) :
121
121
{
122
122
. = ALIGN (4);
123
123
_sbss = . ;
You can’t perform that action at this time.
0 commit comments