-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
52 lines (48 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
42
43
44
45
46
47
48
49
50
51
52
; 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]
include_dir = firmware/include
lib_dir = firmware/lib
src_dir = firmware/src
[env:esp8285]
platform = espressif8266
framework = arduino
board = esp8285
board_build.f_cpu = 160000000L
build_flags = -O3
build_unflags = -Os
upload_speed = 921600
upload_resetmethod = nodemcu
monitor_speed = 230400
lib_deps = bblanchon/ArduinoJson@^6.21.2
[env:pico32]
platform = espressif32
# https://github.com/platformio/platform-espressif32/issues/1225
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.1/esp32-arduino-libs-idf-release_v5.1-632e0c2a.zip
framework = arduino
board = pico32
build_flags = -O3
build_unflags = -Os
monitor_speed = 230400
lib_deps = bblanchon/ArduinoJson@^6.21.2
[env:esp32-s3-devkitc-1]
platform = espressif32
# https://github.com/platformio/platform-espressif32/issues/1225
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.7
platformio/framework-arduinoespressif32-libs @ https://github.com/espressif/esp32-arduino-lib-builder/releases/download/idf-release_v5.1/esp32-arduino-libs-idf-release_v5.1-632e0c2a.zip
framework = arduino
board = esp32-s3-devkitc-1
build_flags = -O3
build_unflags = -Os
monitor_speed = 230400
lib_deps = bblanchon/ArduinoJson@^6.21.2