Includes ESP-IDF NFC stack (deep capture, 4K Classic geometry, UL write API, open SoftAP), React dashboard with live tag diagnostics, and docs. README updated for APIs and lab Wi-Fi defaults. Made-with: Cursor
1.0 KiB
1.0 KiB
Flashing
Prerequisites
- ESP-IDF v5.x installed and exported (
get_idf) - USB cable to the DevKit USB port (USB‑JTAG / serial)
- PN532 module wired per PINOUT.md
Steps
-
Build the web assets (embeds into SPIFFS):
cd web && npm install && npm run build:fw -
Configure & flash:
cd firmware idf.py set-target esp32s3 idf.py menuconfig # set PN532 transport + GPIOs idf.py build flash monitor -
Connect to AP PN532-Toolkit / nfc-toolkit, browse to http://192.168.4.1 or http://pn532tool.local.
SPIFFS / UI missing?
If firmware/data/ is empty, the device serves a placeholder HTML. Always run npm run build:fw before idf.py build if you changed the UI.
Flash size
partitions.csv assumes 8MB flash. For 4MB, shrink factory / OTA / storage regions and disable dual OTA if needed.