-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathplatformio.ini
More file actions
133 lines (123 loc) · 2.79 KB
/
platformio.ini
File metadata and controls
133 lines (123 loc) · 2.79 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
; 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 = C3Mini
[env]
platform = espressif32
framework = espidf
build_unflags = -Werror=all
[env:pico32_debug]
upload_protocol = esptool
upload_port = COM41
board = pico32_cust
debug_tool = esp-prog
debug_speed = 6000
debug_init_break = tbreak app_main
board_build.partitions = pico_partitions.csv
build_type = debug
build_flags =
-DRTOS_FREERTOS=y
-DPCB_PICO=y
-DCPU_ESP32=y
[env:pico32]
board = pico32_cust
upload_protocol = esptool
monitor_speed = 115200
build_type = release
board_build.partitions = pico_partitions.csv
build_flags =
-DRTOS_FREERTOS=y
-DPCB_PICO=y
-DCPU_ESP32=y
-DBLUETOOTH=y
[env:HappymodelEP82]
platform = espressif8266
board = esp8285
board_build.ldscript = eagle.flash.1m144.ld
upload_speed = 921600
monitor_speed = 115200
board_build.f_cpu = 160000000L
upload_protocol = esptool
upload_port = COM6
build_type = release
board_build.partitions = pico_partitions.csv
build_flags =
-DRTOS_FREERTOS=y
-DPCB_HMEP82=y
-DCPU_ESP8285=y
-DSBUS_IN=y
[env:Node32s_Wroom32]
board = node32s
upload_protocol = esptool
monitor_speed = 115200
upload_port = COM4
#monitor_port = COM41
#debug_tool = esp-prog
#sboard_build.partitions = partitions.csv
build_flags =
-DRTOS_FREERTOS=y
-DPCB_WROOM=y
-DBLUETOOTH=y
-DCPU_ESP32=y
[env:C3Mini]
board_build.flash_mode: dio
board = esp32-c3-devkitm-1
upload_protocol = esptool
build_type = debug
monitor_speed = 115200
upload_port = COM4
monitor_port = COM4
#debug_tool = esptool
build_flags =
-DRTOS_FREERTOS=y
-DPCB_C3MINI=y
-DCPU_ESP32=y
-DBLUETOOTH=y
-DBLUETOOTH5=y
[env:C3Mini_2]
board_build.flash_mode: dio
board = esp32-c3-devkitm-1
upload_protocol = esptool
build_type = debug
monitor_speed = 115200
upload_port = COM18
monitor_port = COM18
#debug_tool = esptool
build_flags =
-DRTOS_FREERTOS=y
-DPCB_C3MINI=y
-DCPU_ESP32=y
-DBLUETOOTH=y
-DBLUETOOTH5=y
[env:RM_pico]
board = pico32_cust
upload_protocol = esptool
monitor_speed = 115200
build_type = release
board_build.partitions = pico_partitions.csv
build_flags =
-DRTOS_FREERTOS=y
-DPCB_RMPICO=y
-DCPU_ESP32=y
-DBLUETOOTH=y
[env:C3SuperMini]
board_build.flash_mode: dio
board = esp32-c3-devkitm-1
#debug_tool = esptool
upload_protocol = esptool
monitor_speed = 115200
upload_port = /dev/ttyACM0
monitor_port = /dev/ttyACM0
build_flags =
-DRTOS_FREERTOS=y
-DPCB_C3SUPERMINI=y
-DCPU_ESP32=y
-DBLUETOOTH=y
-DBLUETOOTH5=y