squelch errors from netcat when it needs to start oocd
be nice if I could _keep_ errors when V=1 but....
This commit is contained in:
parent
cb945fa671
commit
835fafe270
1 changed files with 2 additions and 2 deletions
4
rules.mk
4
rules.mk
|
|
@ -152,13 +152,13 @@ $(PROJECT).elf: $(OBJS) $(LDSCRIPT)
|
|||
%.flash: %.elf
|
||||
@printf " FLASH\t$<\n"
|
||||
ifeq (,$(OOCD_FILE))
|
||||
$(Q)(echo "halt; program $(*).elf verify reset" | nc -4 localhost 4444 ) || \
|
||||
$(Q)(echo "halt; program $(*).elf verify reset" | nc -4 localhost 4444 2>/dev/null) || \
|
||||
$(OOCD) -f interface/$(OOCD_INTERFACE).cfg \
|
||||
-f target/$(OOCD_TARGET).cfg \
|
||||
-c "program $(*).elf verify reset exit" \
|
||||
$(NULL)
|
||||
else
|
||||
$(Q)(echo "halt; program $(*).elf verify reset" | nc -4 localhost 4444 ) || \
|
||||
$(Q)(echo "halt; program $(*).elf verify reset" | nc -4 localhost 4444 2>/dev/null) || \
|
||||
$(OOCD) -f $(OOCD_FILE) \
|
||||
-c "program $(*).elf verify reset exit" \
|
||||
$(NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue