-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathplatformio.ini
More file actions
48 lines (39 loc) · 1.27 KB
/
Copy pathplatformio.ini
File metadata and controls
48 lines (39 loc) · 1.27 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
; 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-c3-devkitm-1
[env:esp32-c3-devkitm-1]
; Arduino-ESP32 3.x (ESP_I2S + rgbLedWrite); official PIO platform stays on 2.x
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
lib_deps =
adafruit/Adafruit PWM Servo Driver Library
adafruit/Adafruit GFX Library
adafruit/Adafruit SSD1306
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
board_build.partitions = partitions.csv
board_build.filesystem = littlefs
extra_scripts =
pre:scripts/copy_assets.py
post:scripts/upload_fs_after_upload.py
; Host Unity tests — never flash. Run: pio test -e native
test_ignore = *
[env:native]
platform = native
test_framework = unity
test_build_src = true
build_src_filter =
-<**/*.*>
+<settings/validate.cpp>
build_flags = -std=c++17