forked from leCandas/M5Stamp-C3
-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
48 lines (43 loc) · 1.49 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
; 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:esp32c3]
platform =
https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
platform_packages =
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.3
platformio/tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v3.2/esptool-v3.2.zip
framework = arduino
board = esp32-c3-devkitm-1
board_build.mcu = esp32c3
board_build.partitions = huge_app.csv
board_build.variant = esp32c3
board_build.f_cpu = 160000000L
board_build.f_flash = 80000000L
board_build.flash_mode = dio
board_build.arduino.ldscript = esp32c3_out.ld
build_unflags =
-DARDUINO_ESP32_DEV
; -DARDUINO_VARIANT="esp32"
build_flags =
-DARDUINO_ESP32C3_DEV
; -DARDUINO_VARIANT="esp32c3"
lib_deps =
adafruit/Adafruit NeoPixel@^1.10.4
monitor_speed = 115200
monitor_filters = time
; Work also with:
; [env:ESP32-C3]
; platform = espressif32
; platform_packages = framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.3
; board = esp32-c3-devkitm-1
; framework = arduino
; lib_deps = adafruit/Adafruit NeoPixel@^1.10.4
; ;upload_port = COM8
; board_build.flash_mode = dio