-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathplatformio.ini
109 lines (85 loc) · 2.05 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
; 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]
#default_envs = esp32, esp8266
[env]
framework = arduino
build_src_flags = -O3 -Wno-unused-function -Wno-unused-value
monitor_speed = 115200
[esp32]
platform = espressif32@6.8.1
upload_speed = 921600
#monitor_filters = esp32_exception_decoder
#build_type = debug
build_flags =
-DARDUINO_LOOP_STACK_SIZE=8192
-DCORE_DEBUG_LEVEL=0
[env:esp32]
extends = esp32
board = esp32dev
[env:esp32-c3]
extends = esp32
board = esp32-c3-devkitm-1
build_flags =
${esp32.build_flags}
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
[env:esp32-s2]
extends = esp32
board = esp32-s2-kaluga-1
[env:esp32-s3]
extends = esp32
board = esp32-s3-devkitc-1
build_flags =
${esp32.build_flags}
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
[env:esp8266]
platform = espressif8266@4.2.1
board = esp12e
upload_speed = 460800
#board_build.f_cpu = 160000000L
#build_type = debug
#monitor_filters = esp8266_exception_decoder
build_flags =
-Wl,-Teagle.flash.4m1m.ld
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
[env:rpi-pico]
platform = raspberrypi
board = pico
[env:rpi-pico-w]
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = rpipicow
board_build.core = earlephilhower
[env:maix-one]
platform = kendryte210
board = sipeed-maix-one-dock
[env:mkrwifi1010]
platform = atmelsam
board = mkrwifi1010
[env:arduino101]
platform = intel_arc32
board = genuino101
[env:mega1284]
platform = atmelavr
board = wildfirev3
[env:az3166]
platform = ststm32
board = mxchip_az3166
[env:tinyble]
platform = nordicnrf51
board = seeedTinyBLE
[env:blenano2]
platform = nordicnrf52
board = redbear_blenano2
[env:teensy40]
platform = teensy
board = teensy40
upload_protocol = teensy-cli