forked from michaelkamprath/diy-air-quality-monitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
49 lines (45 loc) · 1.13 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
; 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
build_flags =
-D TEMPLATE_PLACEHOLDER=94 ; ASCII for symbol for template variables in HTML: ^ symbol
monitor_port = /dev/cu.SLAB_USBtoUART
upload_port = /dev/cu.SLAB_USBtoUART
test_port = /dev/cu.SLAB_USBtoUART
monitor_speed = 9600
[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
[env:ezsbc]
platform = espressif32
framework = arduino
board = esp32dev
lib_deps =
${env.lib_deps}
build_flags =
${env.build_flags}
-D MCU_BOARD_TYPE=2