forked from jhoff/Split-Flap-Display
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
65 lines (54 loc) · 1.5 KB
/
platformio.ini
File metadata and controls
65 lines (54 loc) · 1.5 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]
name=Split Flap Display
default_envs=esp32_c3
boards_dir=.pio/boards
data_dir=.pio/build/littlefs
[env]
framework=arduino
board_build.filesystem=littlefs
platform=platformio/espressif32
upload_protocol=esptool
extra_scripts=post:build/scripts/gzip_littlefs.py
lib_deps=
bblanchon/ArduinoJson@^7.3.1
mathieucarbou/ESPAsyncWebServer@^3.6.0
hmueller01/PubSubClient3
build_flags=
'-D STARTUP_DELAY=2000'
; '-D WIFI_SSID="MySsid"' ; hardcoded wifi credentials
; '-D WIFI_PASS="123456"' ; ( for settings development )
; OTA-specific settings (can be combined with any env)
[env:ota]
upload_protocol=espota
upload_port=splitflap.local
; upload_flags = --auth=yourpassword
[env:esp32_c3]
extends=env
board=esp32-c3-devkitm-1
monitor_speed=460800
build_flags=
${env.build_flags}
'-D SERIAL_SPEED=460800'
'-D ARDUINO_USB_MODE=1'
'-D ARDUINO_USB_CDC_ON_BOOT=1'
[env:esp32_c3_ota]
extends=env:esp32_c3, env:ota
[env:esp32_s3]
extends=env
board=esp32-s3-fh4r2
monitor_speed=115200
build_flags=
${env.build_flags}
'-D SERIAL_SPEED=115200'
'-D WIFI_TX_POWER=28'
[env:esp32_s3_ota]
extends=env:esp32_s3, env:ota