-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplatformio.ini
77 lines (72 loc) · 1.79 KB
/
platformio.ini
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
66
67
68
69
70
71
72
73
74
75
76
77
; 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]
default_envs = tinypico
[env]
lib_deps =
WiFi
ArduinoJson
Vector
ESP Async WebServer
Adafruit BME680 Library
PubSubClient
build_flags =
-D TEMPLATE_PLACEHOLDER=94 ; ASCII for symbol for template variables in HTML: ^ symbol
-D USE_LittleFS=1
lib_ldf_mode = deep
monitor_speed = 9600
board_build.filesystem = littlefs
board_build.partitions = huge_app.csv
[env:tinypico]
platform = espressif32
framework = arduino
board = tinypico
lib_deps =
${env.lib_deps}
TinyPICO Helper Library
build_flags =
${env.build_flags}
-D MCU_BOARD_TYPE=1
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-D SERIAL_TX_PIN=32
-D SERIAL_RX_PIN=33
monitor_port = /dev/cu.SLAB_USBtoUART
upload_port = /dev/cu.SLAB_USBtoUART
test_port = /dev/cu.SLAB_USBtoUART
[env:ezsbc]
platform = espressif32
framework = arduino
board = esp32dev
lib_deps =
${env.lib_deps}
build_flags =
${env.build_flags}
-D MCU_BOARD_TYPE=2
-D SERIAL_TX_PIN=32
-D SERIAL_RX_PIN=33
monitor_port = /dev/cu.SLAB_USBtoUART6
upload_port = /dev/cu.SLAB_USBtoUART6
test_port = /dev/cu.SLAB_USBtoUART6
[env:yd-esp32-s3]
platform = espressif32
framework = arduino
board = esp32s3box
lib_deps =
${env.lib_deps}
FastLED
build_flags =
${env.build_flags}
-D MCU_BOARD_TYPE=3
-D SERIAL_TX_PIN=1
-D SERIAL_RX_PIN=2
monitor_port = /dev/cu.usbmodem14601
upload_port = /dev/cu.usbmodem14601
test_port = /dev/cu.usbmodem14601