-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
73 lines (64 loc) · 2.19 KB
/
platformio.ini
File metadata and controls
73 lines (64 loc) · 2.19 KB
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
; PlatformIO Project Configuration File, open in PlatformIO and select src_dir to run different examples
[platformio]
lib_dir = .
src_dir = examples/SingleWS2812Blink
;src_dir = examples/BlockWS2812Blink
[env]
; Special pioarduino cores
;platform = https://github.com/pioarduino/platform-espressif32.git#develop
;platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
platform = espressif32
framework = arduino
board = esp32dev
;board = esp32-s3-devkitc-1
monitor_speed = 115200
build_flags =
-DCORE_DEBUG_LEVEL=4 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -Wno-format-extra-args
;lib_deps =
; https://github.com/hackffm/Single_WS2812_Bitbang_Write
[env:esp12e]
platform = espressif8266
board = esp12e
monitor_speed = 74880
upload_speed = 230400
;upload_speed = 57600
board_build.flash_mode = dout
upload_resetmethod = nodemcu
; F_CPU is 80 MHz by default, enable line below to set to 160 MHz
;board_build.f_cpu = 160000000L
build_flags = ${env.build_flags}
-DWS2812_LED_PIN=13
[env:esp32dev]
platform = espressif32
board = esp32dev
monitor_filters = esp32_exception_decoder
; 80 / 160 / 240 MHz supported, default is 240 MHz
;board_build.f_cpu = 16000000L
build_flags = ${env.build_flags}
-DWS2812_LED_PIN=33
; Manual definition for ESP32-S3FH4R2 (Flash + PSRAM = QSPI = QIO)
[env:esp32-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
build_type = debug
board_build.f_cpu = 240000000L
board_build.arduino.memory_type = qio_qspi
board_build.flash_mode = qio
board_build.psram_type = qio
board_upload.flash_size = 4MB
board_upload.maximum_size = 4194304
board_build.partitions = default.csv
build_flags = ${env.build_flags}
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM
-DWS2812_LED_PIN=8
board_build.filesystem = littlefs
monitor_filters = esp32_exception_decoder
; board made accessible via board/esp32-s3f4r2.json (compatible with ESP32-S3-SuperMini)
[env:esp32-s3f4r2]
platform = espressif32
board = esp32-s3f4r2
monitor_filters = esp32_exception_decoder
build_flags = ${env.build_flags}
-DWS2812_LED_PIN=48