diff options
| author | Yuval Adam <_@yuv.al> | 2026-01-15 11:30:00 +0100 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2026-01-15 11:30:00 +0100 |
| commit | fb5e3c4848d331142376c48b9eb0cf082fb703b1 (patch) | |
| tree | 8ad7c40eebfb31785ba14846f072e3232b9e2089 /README.md | |
| parent | 7f36a29aa97919fdf394b19cb325a900800fb080 (diff) | |
Makefile
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -30,17 +30,17 @@ Then edit `config.h` with your WiFi and MQTT settings. ## Build & Upload ```bash -# Find your port -arduino-cli board list - -# Compile -arduino-cli compile --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=16M,PSRAM=opi" . +make compile # compile only +make upload # upload only +make monitor # serial monitor +make flash # compile + upload +make all # compile + upload + monitor +``` -# Upload (replace /dev/ttyACM0 with your port) -arduino-cli upload --fqbn "esp32:esp32:esp32s3:CDCOnBoot=cdc,FlashSize=16M,PSRAM=opi" --port /dev/ttyACM0 . +If your port differs from `/dev/ttyACM0`, override it: -# Monitor -arduino-cli monitor --port /dev/ttyACM0 --config baudrate=115200 +```bash +make flash PORT=/dev/ttyUSB0 ``` ## Expected Output |
