mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
Makefile: Suppress J-Link GDB server output
Redirect J-Link GDB server stdout and stderr to /dev/null to prevent its output from mixing with GDB output in the terminal.
This commit is contained in:
parent
9937b9cc1e
commit
bcb20f45ac
2
Makefile
2
Makefile
@ -255,7 +255,7 @@ endif
|
|||||||
jlink:
|
jlink:
|
||||||
setsid ${JLINK_GDB_SERVER} -speed ${JLINK_SPEED} -nogui \
|
setsid ${JLINK_GDB_SERVER} -speed ${JLINK_SPEED} -nogui \
|
||||||
-if ${JLINK_INTERFACE} -halt -cpu cortex-m \
|
-if ${JLINK_INTERFACE} -halt -cpu cortex-m \
|
||||||
-device ${JLINK_DEVICE} -novd ${JLINK_SCRIPT} & \
|
-device ${JLINK_DEVICE} -novd ${JLINK_SCRIPT} >/dev/null 2>&1 & \
|
||||||
JLINK_PID=$$!; \
|
JLINK_PID=$$!; \
|
||||||
trap "kill $$JLINK_PID 2>/dev/null" EXIT; \
|
trap "kill $$JLINK_PID 2>/dev/null" EXIT; \
|
||||||
sleep 1 && jlink-gdb $(FW_DIR)/$(FIRMWARE).elf
|
sleep 1 && jlink-gdb $(FW_DIR)/$(FIRMWARE).elf
|
||||||
|
Loading…
Reference in New Issue
Block a user