-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
executable file
·52 lines (45 loc) · 1.23 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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[env]
platform = espressif32
framework = espidf
build_flags =
-D CONFIG_BLINK_PERIOD=1000
[env:esp32]
board = esp32dev
build_flags =
${env.build_flags}
-D CONFIG_BLINK_LED_GPIO=1
-D CONFIG_BLINK_GPIO=2
; Serial Monitor options
monitor_speed = 115200
monitor_flags =
-f
esp32_exception_decoder
; Debug options
upload_protocol = esp-prog
debug_tool = esp-prog
debug_init_break = tbreak app_main
[env:esp32s3]
board = esp32-s3-devkitc-1
build_flags =
${env.build_flags}
; https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/hw-reference/esp32s3/user-guide-devkitc-1.html#pin-layout
-D CONFIG_BLINK_LED_RMT=1
-D CONFIG_BLINK_LED_RMT_CHANNEL=0
-D CONFIG_BLINK_GPIO=48
; Serial Monitor options
monitor_speed = 115200
monitor_flags =
-f
esp32_exception_decoder
; Debug options
upload_protocol = esp-builtin
debug_tool = esp-builtin
debug_init_break = tbreak app_main