File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,11 +133,19 @@ monitor:
133133
134134.PHONY : openocd
135135openocd :
136- source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) openocd
136+ source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE= $( DEVICE ) openocd
137137
138138.PHONY : gdb
139139gdb :
140- source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) gdb
140+ source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE=$(DEVICE ) gdb
141+
142+ .PHONY : gdbgui
143+ gdbgui :
144+ source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE=$(DEVICE ) gdbgui
145+
146+ .PHONY : gdbtui
147+ gdbtui :
148+ source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE=$(DEVICE ) gdbtui
141149
142150# Tools
143151
@@ -198,20 +206,3 @@ buildall:
198206flashall :
199207 $(MAKE ) flash DEVICE=tanmatsu PORT=/dev/ttyACM0
200208 $(MAKE ) flash DEVICE=mch2022 PORT=/dev/ttyACM2
201-
202-
203- # Debugging
204- .PHONY : openocd
205- openocd :
206- source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE=$(DEVICE ) openocd
207-
208- .PHONY : gdb
209- gdb :
210- source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE=$(DEVICE ) gdb
211- .PHONY : gdbgui
212-
213- gdbgui :
214- source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE=$(DEVICE ) gdbgui
215-
216- gdbtui :
217- source " $( IDF_PATH) /export.sh" && idf.py -B $(BUILD ) -DDEVICE=$(DEVICE ) gdbtui
You can’t perform that action at this time.
0 commit comments