Skip to content

Commit 513750e

Browse files
committed
updated example local.ini and secrets.ini
1 parent 4d96c8a commit 513750e

3 files changed

Lines changed: 17 additions & 13 deletions

File tree

.github/workflows/platformio-run.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ jobs:
2020
- name: Install PlatformIO Core
2121
run: pip install --upgrade platformio
2222
- name: Setup secrets for build
23-
run: cp secrets.ini.example secrets.ini && cp secrets-usb.ini.example secrets-usb.ini
23+
run: cp secrets.ini.example secrets.ini && cp local.ini.example local.ini
2424
- name: Build PlatformIO Project
2525
run: pio run

local.ini.example

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[platformio]
2+
default_envs = usb
3+
4+
[local]
5+
build_flags =
6+
7+
[wifi]
8+
upload_protocol = espota
9+
upload_flags =
10+
--auth='${secrets.otaPassword}'
11+
12+
13+
[env:lora133a]
14+
extends = node32s, wifi
15+
upload_port = BOARD_IP_ADDRESSS

secrets.ini.example

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,2 @@
11
[secrets]
2-
# IP address where log messages are sent.
3-
udpLogTarget = 192, 168, 0, 20
4-
# Add a password for other-the-air password updates.
5-
otaPassword = {password-here}
6-
# Add a password for the Soft-AP mode.
7-
# This will allow soft-AP Wifi to be encrypted.
8-
apPassword = {password-here}
9-
# Use WiFi to update firmware
10-
uploadProtocol = espota
11-
# IP address of board
12-
uploadPort = 192.168.0.99
13-
uploadAuth = --auth='${secrets.otaPassword}'
2+
otaPassword = {OTA_PASSWORD_HERE}

0 commit comments

Comments
 (0)