[riot-notifications] [RIOT-OS/RIOT] murdock: enable esp32-wroom-32 for CI testing (#11449)

Kaspar Schleiser notifications at github.com
Fri Apr 26 12:40:51 CEST 2019


kaspar030 commented on this pull request.



> @@ -8,4 +8,10 @@ PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
 include $(RIOTMAKE)/tools/serial.inc.mk
 
 # reset tool configuration
-export RESET = esptool.py --before default_reset run
+ifeq (1,$(ESP_RESET_DTRTOGGLE))
+  # use dtr tool from https://github.com/kaspar030/rtsdtr for reset
+  # used by Murdock
+  export RESET = dtr $(PORT) 0 && dtr $(PORT) 1
+else
+  export RESET ?= esptool.py --before default_reset run

Unfortunately not, it doesn't work with the "make test" target. In that use-case, the test terminal program has the tty open, then "make reset" is called. esptool tries to connect to the bootloader instead of just resetting via RTS/DTR, and fails because the test terminal is hijacking the communication.

Also, on the RPi workers, spawning python takes seconds. ;)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11449#discussion_r278896582
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190426/844107e5/attachment.html>


More information about the notifications mailing list