diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-10-06 01:18:11 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-10-06 01:18:11 +0200 |
commit | 166e2335a3133ce2c44d86da5daecca75f99a00e (patch) | |
tree | 6102543ead1a03472069044275183a08a910c306 | |
parent | cosmetic change (diff) |
fix toolchain paths
-rw-r--r-- | chibios-blink/Makefile | 2 | ||||
-rw-r--r-- | debug.mk | 2 | ||||
-rw-r--r-- | defines.mk | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/chibios-blink/Makefile b/chibios-blink/Makefile index 53c5b2a..ac29532 100644 --- a/chibios-blink/Makefile +++ b/chibios-blink/Makefile @@ -4,7 +4,7 @@ #
include ../defines.mk
-export PATH := $(TOOLCHAIN_PATH):$(PATH)
+export PATH := $(TOOLCHAIN_PATH)/bin:$(PATH)
# Compiler options here.
@@ -25,4 +25,4 @@ gdb-server: # $(OPENOCD)/src/openocd -s $(OPENOCD)/tcl -f interface/picoprobe.cfg -f target/rp2040.cfg -c "tcl_port disabled; telnet_port disabled; gdb_port 4242; rp2040.core0 configure -rtos chibios; rp2040.core1 configure -rtos chibios;" gdb: - arm-none-eabi-gdb -se "build/$(PROJECT).elf" -ex "target extended-remote localhost:4242" + $(TOOLCHAIN_PATH)/bin/arm-none-eabi-gdb -se "build/$(PROJECT).elf" -ex "target extended-remote localhost:4242" @@ -24,7 +24,7 @@ ifndef SPREADRPPICO_PATH SPREADRPPICO_PATH := .. endif -TOOLCHAIN_PATH := $(SPREADRPPICO_PATH)/contrib/gcc-arm-none-eabi-9-2020-q2-update/bin +TOOLCHAIN_PATH := $(SPREADRPPICO_PATH)/contrib/gcc-arm-none-eabi-9-2020-q2-update CHIBIOS := $(SPREADRPPICO_PATH)/contrib/ChibiOS_21.11.2 CHIBIOS_CONTRIB := $(CHIBIOS)/community OPENOCD := $(SPREADRPPICO_PATH)/contrib/openocd |