This repository was archived by the owner on Jan 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Packages_Patches/adafruit/hardware/nrf52 Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,12 @@ compiler.optimization_flag=-Ofast
34
34
compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
35
35
compiler.c.cmd=arm-none-eabi-gcc
36
36
compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.warning_flags} {build.float_flags} -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD
37
- compiler.c.elf.cmd=arm-none-eabi-gcc
37
+
38
+
39
+ # KH, Error here to use gcc, must use g++
40
+ #compiler.c.elf.cmd=arm-none-eabi-gcc
41
+ compiler.c.elf.cmd=arm-none-eabi-g++
42
+
38
43
compiler.c.elf.flags={compiler.optimization_flag} -Wl,--gc-sections -save-temps
39
44
compiler.S.cmd=arm-none-eabi-gcc
40
45
compiler.S.flags=-mcpu={build.mcu} -mthumb -mabi=aapcs {compiler.optimization_flag} -g -c {build.float_flags} -x assembler-with-cpp
Original file line number Diff line number Diff line change @@ -34,7 +34,11 @@ compiler.optimization_flag=-Ofast
34
34
compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
35
35
compiler.c.cmd=arm-none-eabi-gcc
36
36
compiler.c.flags=-mcpu={build.mcu} -mthumb -c -g {compiler.warning_flags} {build.float_flags} -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD
37
- compiler.c.elf.cmd=arm-none-eabi-gcc
37
+
38
+ # KH, Error here to use gcc, must use g++
39
+ #compiler.c.elf.cmd=arm-none-eabi-gcc
40
+ compiler.c.elf.cmd=arm-none-eabi-g++
41
+
38
42
compiler.c.elf.flags={compiler.optimization_flag} -Wl,--gc-sections -save-temps
39
43
compiler.S.cmd=arm-none-eabi-gcc
40
44
compiler.S.flags=-mcpu={build.mcu} -mthumb -mabi=aapcs {compiler.optimization_flag} -g -c {build.float_flags} -x assembler-with-cpp
You can’t perform that action at this time.
0 commit comments