Add test Makefiles for IDEs

Add Wizard test script
This commit is contained in:
Sergio R. Caprile committed 2024-10-04 17:35:02 -03:00
1 parent 5af2de635e
commit f3cd74cb46
7 files changed
+173 -12

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
ROOT ?= $(realpath $(CURDIR)/../..)
PROJECTS ?= $(wildcard ../../examples/esp32/*)
TARGET ?= Debug
DOCKER = docker run --rm -v $(ROOT):$(ROOT) -v $(CURDIR):/root -w $(CURDIR)
IMAGE ?= espressif/idf
all: $(PROJECTS)
echo
$(PROJECTS): FORCE
(make -C $@ build && make -C $@ clean) || ( \
$(DOCKER) $(IMAGE) /bin/bash -c 'cd $@ && idf.py build' && \
rm -rf build sdkconfig )
FORCE: