esp-open-rtos/tests/basic_wifi/Makefile
2016-08-19 17:29:27 +03:00

29 lines
404 B
Makefile

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