-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
55 lines (51 loc) · 1.45 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
; 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
;
;
;
; =======================================================
; Initial experimental setup for PlatformIO support.
;
; Arduino Core >= 3 seems not to be supported yet, so we need to figure out
; how to move on from here (ensure compatibility with Arduino Core 2,
; build with ESP-IDF, ...).
;
; https://github.com/platformio/platform-espressif32/releases
;
; Please help to improve!
; =======================================================
[platformio]
src_dir = colibri ; for Arduino IDE support
default_envs = super_mini_c3
[common]
build_flags =
-D ARDUINO=20320
-D ARDUINO_USB_CDC_ON_BOOT=1
-D ARDUINO_USB_MODE=1
-D CORE_DEBUG_LEVEL=0 ; debug log level from 0 (none) to 5 (verbose)
-D COLIBRI_PIO_BUILD=1
lib_deps_builtin =
;SPI
;Wire
lib_deps_external =
;bblanchon/[email protected]
;h2zero/[email protected]
[env]
platform = espressif32
framework = arduino
;upload_port = /dev/ttyACM0
;monitor_port = /dev/ttyACM0
monitor_speed = 115200
build_flags =
${common.build_flags}
-D FOO=0
; Board definitions
[env:super_mini_c3]
board = dfrobot_beetle_esp32c3