Skip to content

Commit

Permalink
oops, fix platformio-only
Browse files Browse the repository at this point in the history
  • Loading branch information
tcsullivan committed Oct 29, 2024
1 parent 53e243b commit 462c98c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- name: Create header files
run: |
cp "${GITHUB_WORKSPACE}/noisemeter-device/config.h.example" "${GITHUB_WORKSPACE}/noisemeter-device/config.h"
python "${GITHUB_WORKSPACE}/noisemeter-device/certs.py" -s api.tracket.info > "${GITHUB_WORKSPACE}/noisemeter-device/certs.h"
- name: Build PlatformIO Project (esp32-pcb)
Expand Down
8 changes: 8 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ build_flags =
-DNOISEMETER_VERSION=\"0.2.2\"
-Wall -Wextra

# Optional build flags:
# Print credentials over serial (for debugging):
# -DSTORAGE_SHOW_CREDENTIALS
# Print verbose API logging over serial (for debugging):
# -DAPI_VERBOSE
# Disable WiFi and data upload:
# -DUPLOAD_DISABLED

[env:esp32-pcb]
board = esp32-c3-devkitm-1
board_build.f_cpu = 80000000L
Expand Down

0 comments on commit 462c98c

Please sign in to comment.