-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
39 lines (32 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
; 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Select here wich default environment build (comment and uncomment the line that is needed)
; Build Device Selection
[platformio]
;default_envs = esp32dev ; Build ESP32 with ESP-IDF Framework
default_envs = esp32_c3_devkitm_1 ; Build ESP32-C3 with ESP-IDF Framework
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ESP-IDF Build Configs
; ESP-IDF ESP32
[env:esp32dev]
platform = espressif32@6.4.0 ; ESP-IDF v5.1.1, Arduino v2.0.11 (ESP-IDF v4.4.5)
board = esp32dev
framework = espidf
build_flags =
-DLOG_LOCAL_LEVEL=ESP_LOG_INFO
; ESP-IDF ESP32-C3
[env:esp32_c3_devkitm_1]
platform = espressif32@6.4.0 ; ESP-IDF v5.1.1, Arduino v2.0.11 (ESP-IDF v4.4.5)
board = esp32-c3-devkitm-1
board_build.mcu = esp32c3
framework = espidf
build_flags =
-DLOG_LOCAL_LEVEL=ESP_LOG_INFO