Add PN532 toolkit firmware, web UI, and embedded SPIFFS assets

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
This commit is contained in:
drjones
2026-03-29 09:32:55 -07:00
parent d1068d965b
commit 8968560565
73 changed files with 8802 additions and 28 deletions

12
firmware/flash.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Flash PN532 toolkit. Requires ESP-IDF 5.x in PATH (run export.sh first).
set -euo pipefail
ROOT="$(cd "$(dirname "$0")" && pwd)"
PORT="${ESPPORT:-${1:-/dev/cu.usbserial-A5069RR4}}"
cd "$ROOT"
if ! command -v idf.py >/dev/null 2>&1; then
echo "idf.py not found. Source your ESP-IDF export.sh, then re-run:" >&2
echo " ESPPORT=$PORT $0" >&2
exit 1
fi
idf.py -p "$PORT" flash