tests: Add two devices test

This commit is contained in:
sheinz 2016-08-19 01:23:26 +03:00
parent 5ace1c5bff
commit 33d695ec83
11 changed files with 277 additions and 10 deletions

29
tests/basic_wifi/Makefile Normal file
View file

@ -0,0 +1,29 @@
STATION_PORT := $(ESPPORT)
AP_PORT := /dev/tty.SLAB_USBtoUART59
all: station ap
flash: ap station
clean: ap station
flash: GOAL=flash
clean: GOAL=clean
station: ESPPORT=$(STATION_PORT)
ap: ESPPORT=$(AP_PORT)
station:
$(MAKE) -C station $(GOAL)
ap:
$(MAKE) -C ap $(GOAL)
run_test:
python ../../extras/test/run_test.py $(STATION_PORT) $(AP_PORT)
.PHONY: all station ap run_test flash clean