-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
41 lines (36 loc) · 1.79 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
; 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]
;Espressif 32 platform ------------------------------------------------------------------------------------
;platform = [email protected]
platform = [email protected] ;force to use platform v6.1.0
;platform = espressif32 ;use latest version
;Arduino framework ----------------------------------------------------------------------------------------
framework = arduino
;uncomment the following line, if you want to download the arduino framework automatically
;platform_packages = platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.6 ;force to use v2.0.6
; ESP32 board ---------------------------------------------------------------------------------------------
board = esp32dev
board_build.mcu = esp32
;board_build.f_cpu = 240000000L
;board_build.f_flash = 40000000L
;board_build.partitions = huge_app.csv ; this setting enables more flash memory for the app. No OTA!
monitor_speed = 115200
;monitor_port = COM4 ;your port may vary!
upload_protocol = esptool
;upload_port = COM4 ;your port may vary!
;upload_port = /dev/cu.wchusbserial52BC0196871
monitor_filters = esp32_exception_decoder ; This option will show more informations in case of a backtrace!
lib_deps =
# RECOMMENDED
# Accept new functionality in a backwards compatible manner and patches
bblanchon/ArduinoTrace @ ^1.2.0
build_flags =
-DCORE_DEBUG_LEVEL=5 ; 0= none, 1= error, 2= warn, 3= info, 4= debug, 5= verbose