-
Notifications
You must be signed in to change notification settings - Fork 3
/
platformio.ini
56 lines (53 loc) · 1.45 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
; 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
[env:esp32dev_rel]
build_type = release
platform = [email protected]
platform_packages = framework-arduinoespressif32
board = esp32dev
framework = arduino
monitor_filters = esp32_exception_decoder, default
upload_speed = 2000000
monitor_speed = 115200
build_flags =
-Os # optimize for size
-DRELEASE
-DCA_USE_LITTLEFS
-DLOGGER_LOG_LEVEL=2
-DCORE_DEBUG_LEVEL=0
board_build.partitions = partitions/esp32_partition_app1332k_fs1434k.csv
;board_build.partitions = partitions/esp32_partition_app1572k_fs983k.csv
board_build.filesystem = littlefs
#board_build.f_cpu = 160
extra_scripts = download_fs.py
lib_deps =
ConfigAssist
bblanchon/ArduinoJson
claws/BH1750
adafruit/Adafruit Unified Sensor
adafruit/DHT sensor library
links2004/WebSockets
Time
[env:esp32dev_test]
extends = env:esp32dev_rel
build_type = debug
build_flags =
debug_build_flags = -Os
-DCA_USE_LITTLEFS
-DVERBOSE_MODE
-DLOGGER_LOG_LEVEL=3
[env:esp32dev_dbg]
extends = env:esp32dev_rel
build_type = debug
build_flags =
debug_build_flags = -Os
-DCA_USE_LITTLEFS
-DVERBOSE_MODE
-DLOGGER_LOG_LEVEL=4