-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
63 lines (57 loc) · 1.33 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
; 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 = ESP32-EUC
description = "EUC Lights module based on ESP32"
default_envs = esp32
[flags]
build_unflags =
-std=gnu++11
build_flags =
-std=gnu++17
[env]
platform = espressif32@^6.8.1
framework = arduino
monitor_speed = 115200
upload_speed = 460800
lib_deps =
h2zero/NimBLE-Arduino@^1.4.0
fastled/FastLED@^3.7.1
GyverLibs/TimerMs@^1.2
GyverLibs/EncButton@^3.5.11
GyverLibs/FileData@^1.0.2
[esp32_base]
build_unflags =
${flags.build_unflags}
build_flags =
${flags.build_flags}
-DFASTLED_INTERNAL
-DFASTLED_ESP32_SPI_BUS HSPI
monitor_speed = 115200
upload_speed = 460800
[env:esp32]
extends = esp32_base
board = esp32dev
[env:debug]
extends = env:esp32
board = esp32dev
monitor_filters =
esp32_exception_decoder
default
; direct
log2file
; colorize
; debug
build_type = debug
build_flags =
${flags.build_flags}
-DLOG_LOCAL_LEVEL=ESP_LOG_VERBOSE
-DCORE_DEBUG_LEVEL=5
-DCONFIG_NIMBLE_CPP_LOG_LEVEL=2