-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
32 lines (32 loc) · 1.06 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
[env:esp32]
platform = espressif32
framework = arduino
board = nodemcu-32s
lib_deps = FastLED
build_unflags = -Wno-error=unused-but-set-variable
-Wno-error=unused-variable
-Wno-error=unused-function
-Wno-unused-parameter
-Wno-sign-compare
-Wno-old-style-declaration
build_flags = -Wall
-Werror
-Wno-error=deprecated-declarations
# FastLED I2S
# -DFASTLED_ESP32_I2S=1
# -DFASTLED_ESP32_FLASH_LOCK=1
# -DFASTLED_I2S_MAX_CONTROLLERS=1
# FastLED RMT
# -DFASTLED_ESP32_FLASH_LOCK=1
# -DFASTLED_RMT_MAX_CHANNELS=1
# -DFASTLED_RMT_BUILTIN_DRIVER=true
# ESP32 Arduino logs
-DLOG_LOCAL_LEVEL=ESP_LOG_NONE
-DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
-DCONFIG_ARDUHAL_LOG_COLORS=1
src_build_flags = -Wextra
#monitor_speed = 74880 # bootloader baudrate
monitor_speed = 115200
monitor_filters = direct
esp32_exception_decoder
upload_protocol = esptool