-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
65 lines (59 loc) · 1.52 KB
/
Copy pathplatformio.ini
File metadata and controls
65 lines (59 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
extra_configs =
secrets.ini
local.ini
[node32s]
platform = espressif32
framework = arduino
board = esp32dev # node32s
board_build.filesystem = littlefs
board_build.partitions = min_spiffs.csv
monitor_speed = 115200
check_tool = clangtidy
monitor_filters = esp32_exception_decoder
;build_type = debug
build_type = release
extra_scripts = pre:build_svelte.py
lib_deps =
chl33/og3@^0.6.2
chl33/og3x-oled@^0.6.1
chl33/og3x-shtc3@^0.6.0
adafruit/Adafruit BusIO
adafruit/Adafruit Unified Sensor
adafruit/Adafruit SHTC3 Library
bakercp/CRC32
bblanchon/ArduinoJson@^7.0.0
heman/AsyncMqttClient-esphome@^2.1.0
elims/PsychicMqttClient@^0.2.4
hoeken/PsychicHttp@^2.1.1
thingpulse/ESP8266 and ESP32 OLED driver for SSD1306 displays@^4.6.1
Wire
SPI
WiFi
build_flags =
${local.build_flags}
'-Wall'
'-D OTA_PASSWORD="${secrets.otaPassword}"'
'-D WIFI_OLED'
lib_ldf_mode = chain
lib_compat_mode = strict
[env:usb]
extends = node32s
upload_protocol = esptool
upload_port = /dev/ttyUSB0
[env:wifi]
extends = node32s
upload_protocol = espota
upload_port = ${local.uploadPort}
upload_flags =
${local.wifi_upload_flags}
--auth='${secrets.otaPassword}'