-
Notifications
You must be signed in to change notification settings - Fork 194
/
platformio.ini
49 lines (43 loc) · 1.24 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
; 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 = airm2m_core_esp32c3
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
[env:airm2m_core_esp32c3]
platform = espressif32
board = airm2m_core_esp32c3
framework = arduino
monitor_speed = 115200
; The defs for an generic ESP32-C3 board off Aliexpress
; For example this one: https://www.aliexpress.com/item/1005005319963906.html
[env:generic_esp32c3]
platform = espressif32
board = esp32-c3-devkitc-02
board_build.flash_mode = dio
framework = arduino
monitor_speed = 115200
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
; The defs for an generic ESP32-NodeMCU (ESP32S) board off Aliexpress
[env:generic_nodemcu-32s]
platform = espressif32
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
[env:m5stickc]
platform = espressif32
board = m5stick-c
framework = arduino
monitor_speed = 115200