From 59d66d1e7325b180aad6c0858497a5ba9645e4e8 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Thu, 27 Apr 2023 16:05:19 +0200 Subject: [PATCH] Makefile: add XTENSA=0 flag to skip Xtensa tests This can be useful, to quickly run the tests without compile errors because of missing Xtensa support. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 2db981a..317f7b1 100644 --- a/Makefile +++ b/Makefile @@ -231,10 +231,12 @@ smoke-test: @md5sum ./build/test.hex tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/xpt2046/main.go @md5sum ./build/test.uf2 +ifneq ($(XTENSA), 0) tinygo build -size short -o ./build/test.elf -target=m5stack-core2 ./examples/ft6336/basic/ @md5sum ./build/test.elf tinygo build -size short -o ./build/test.elf -target=m5stack-core2 ./examples/ft6336/touchpaint/ @md5sum ./build/test.elf +endif tinygo build -size short -o ./build/test.hex -target=nucleo-wl55jc ./examples/sx126x/lora_rxtx/ @md5sum ./build/test.hex tinygo build -size short -o ./build/test.uf2 -target=pico ./examples/ssd1289/main.go