esp32: add support for basic GPIO

GPIO is much more advanced on the ESP32, but this is a starting point.
It gets examples/blinky1 to work.
This commit is contained in:
Ayke van Laethem
2020-08-31 14:28:31 +02:00
committed by Ron Evans
parent 0e6d2af028
commit 753162f4e0
4 changed files with 57 additions and 2 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ ifneq ($(AVR), 0)
@$(MD5SUM) test.hex
endif
ifneq ($(XTENSA), 0)
$(TINYGO) build -size short -o test.bin -target=esp32 examples/serial
$(TINYGO) build -size short -o test.bin -target=esp32-wroom-32 examples/blinky1
endif
$(TINYGO) build -size short -o test.hex -target=hifive1b examples/blinky1
@$(MD5SUM) test.hex