Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit 4d7184f

Browse files
authored
Update Adafruit Packages_Patches
1 parent 7e85083 commit 4d7184f

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Packages_Patches/adafruit/hardware/nrf52/0.23.0/platform.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ compiler.optimization_flag=-Ofast
3434
compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
3535
compiler.c.cmd=arm-none-eabi-gcc
3636
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+
3843
compiler.c.elf.flags={compiler.optimization_flag} -Wl,--gc-sections -save-temps
3944
compiler.S.cmd=arm-none-eabi-gcc
4045
compiler.S.flags=-mcpu={build.mcu} -mthumb -mabi=aapcs {compiler.optimization_flag} -g -c {build.float_flags} -x assembler-with-cpp

Packages_Patches/adafruit/hardware/nrf52/0.24.0/platform.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ compiler.optimization_flag=-Ofast
3434
compiler.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
3535
compiler.c.cmd=arm-none-eabi-gcc
3636
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+
3842
compiler.c.elf.flags={compiler.optimization_flag} -Wl,--gc-sections -save-temps
3943
compiler.S.cmd=arm-none-eabi-gcc
4044
compiler.S.flags=-mcpu={build.mcu} -mthumb -mabi=aapcs {compiler.optimization_flag} -g -c {build.float_flags} -x assembler-with-cpp

0 commit comments

Comments
 (0)