Skip to content

Commit

Permalink
more flexibility with openocd
Browse files Browse the repository at this point in the history
also new delta table now tested and works
  • Loading branch information
mondaugen committed Dec 1, 2023
1 parent 3f850e8 commit 98ede55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ifeq ($(filter /tmp/manual.zip /tmp/manual.html /tmp/env_ramp.png,$(MAKECMDGOALS
endif
endif

OPENOCD ?= openocd
OPENOCD_INTERFACE ?= interface/stlink-v2.cfg
OPENOCD_BOARD ?= /usr/local/share/openocd/scripts/board/stm32f429discovery.cfg#board/stm32f429discovery.cfg
OPTIMIZE ?= -O0
Expand Down Expand Up @@ -82,7 +83,7 @@ TESTS = $(addprefix $(TESTDIR)/,\
VPATH += :test
CC = arm-none-eabi-gcc
STRIP = arm-none-eabi-strip
OCD = openocd -f $(OPENOCD_BOARD) -f $(OPENOCD_INTERFACE)
OCD = $(OPENOCD) $(OPENOCD_EXTRA) -f $(OPENOCD_BOARD) -f $(OPENOCD_INTERFACE)
PYTHON = python3
CONST_OBJS = objs/tables.o
HW_OBJS = $(addprefix $(OBJSDIR)/,$(notdir $(addsuffix .o, $(basename $(HW_SRC)))))
Expand Down

0 comments on commit 98ede55

Please sign in to comment.