diff options
| -rw-r--r-- | Makefile | 8 | 
1 files changed, 8 insertions, 0 deletions
@@ -267,6 +267,14 @@ endif  #############################################################  # Upload and Debug  ############################################################# + +ifneq ($(RISCV_OPENOCD_PATH),) +RISCV_OPENOCD=$(RISCV_OPENOCD_PATH)/bin/openocd +else +#if RISCV_OPENOCD_PATH is not set, just look on the PATH +RISCV_OPENOCD=openocd +endif +  ifeq ($(BSP),mee)  upload: $(PROGRAM_ELF)  | 
