Move project to repo root and add Makefile

The Makefile wraps the build, USB and WiFi flashing, the serial monitor
and font generation, with toolchain paths that can be overridden.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-05 12:45:11 +13:00
1 parent 3b4154d8bf
commit 9f84330b91
17 files changed
+53 -9

No files matched your search

+9 -9
View File
@@ -29,12 +29,16 @@ Ground goes to VGA pin 5 and pins 6–8, and VGA pin 9
## Build and flash
You need ESP-IDF 5.4 or later.
You need ESP-IDF 5.4 or later. The paths at the top of the `Makefile` point
at the toolchain to use; override them if yours are elsewhere.
```
cd vga_test
idf.py set-target esp32s3
idf.py build flash
make # build
make flash # flash over USB (PORT=/dev/ttyACM0)
make ota # flash over WiFi (BOARD=<board-ip>)
make monitor # serial console
make font # regenerate main/font_data.h
make clean
```
The serial console is on the USB-Serial-JTAG port, because GPIO 43/44 carry
@@ -46,8 +50,4 @@ The board starts its own access point, `ESP32-VGA` (password `esp32vga`).
You can also give it your home WiFi details in Settings. Open its IP address
in a browser.
To update the firmware over WiFi, use the page's Settings section, or run:
```
curl -X POST --data-binary @build/vga_test.bin http://<board-ip>/api/ota
```
To update the firmware over WiFi, use the page's Settings section or `make ota`.