tests: Add two devices test
This commit is contained in:
parent
5ace1c5bff
commit
33d695ec83
11 changed files with 277 additions and 10 deletions
29
tests/basic_wifi/Makefile
Normal file
29
tests/basic_wifi/Makefile
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue