X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=int%2FMakefile;h=d0f5454f9e85c746b5f37e92c1c96cab052c6479;hb=af388f6b2c06d38b400d482ac3ccc1f819b5bf9f;hp=d0ea63423b644b8ce00d2ebebc30b0ebfdcb1106;hpb=fb5465ae10e39a9505634e0aaf8e1cab9710f5d7;p=mTask.git diff --git a/int/Makefile b/int/Makefile index d0ea634..d0f5454 100644 --- a/int/Makefile +++ b/int/Makefile @@ -91,7 +91,7 @@ endif PROJECT = mTask # Imported source files and paths -CHIBIOS = /home/mrl/projects/ChibiOS +CHIBIOS = ./ChibiOS # Startup files. include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f7xx.mk # HAL-OSAL files (optional). @@ -201,7 +201,7 @@ CPPWARN = -Wall -Wextra -Wundef # # List all user C define here, like -D_DEBUG=1 -UDEFS = -DSTM +UDEFS = -DSTM #-DDEBUG # Define ASM defines here UADEFS = @@ -223,7 +223,7 @@ RULESPATH = $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC include $(RULESPATH)/rules.mk flash: build/$(PROJECT).bin - sudo openocd \ + sudo `which openocd` \ -f interface/stlink-v2-1.cfg\ -c "transport select hla_swd"\ -f target/stm32f7x.cfg \