hmc472/firmware/Makefile
Ryan Malloy 613611d37a Add ESP32-S2 firmware for HMC472A attenuator control
PlatformIO/Arduino firmware for WEMOS/LOLIN S2 Mini:
- 6-bit GPIO control (GPIOs 1-6) with glitch-free register writes
- REST API: /status, /set, /config, /sweep endpoints
- Web UI with PCB green theme, slider, presets, pin visualization
- NVS persistence of attenuation setting across power cycles
- Sweep mode for automated attenuation stepping
- mDNS (attenuator.local), OTA updates, watchdog
2026-02-02 21:24:29 -07:00

22 lines
261 B
Makefile

.PHONY: build upload uploadfs monitor clean ota
build:
pio run
upload:
pio run -t upload
uploadfs:
pio run -t uploadfs
monitor:
pio device monitor
flash: upload uploadfs
clean:
pio run -t clean
ota:
pio run -t upload --upload-port attenuator.local