-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
76 lines (67 loc) · 1.61 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
; 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]
name = Mecapitronic-esp32
description = Firmware for esp32
default_envs = esp32-freertos
[env]
platform = espressif32
board = az-delivery-devkit-v4
framework = arduino
upload_protocol = esptool
build_type = debug
monitor_filters = esp32_exception_decoder
build_src_filter =
+<*>
-<.git/>
-<.svn/>
-<simulator/>
-<visualizer/>
-<wiki/>
-<**/*.jpeg>
-<**/*.txt>
-<*.jpeg>
-<*.txt>
[common]
monitor_speed = 921600
[env:esp32-freertos]
[env:esp32-freertos_LD06]
monitor_speed = ${common.monitor_speed}
build_flags =
-D LD06
-D WITH_WIFI
[env:esp32-freertos_A010]
monitor_speed = ${common.monitor_speed}
build_flags =
-D A010
[env:esp32-freertos_VL53]
monitor_speed = 115200
build_flags = -D VL53
lib_deps = sparkfun/SparkFun VL53L5CX Arduino Library@^1.0.3
[env:esp32-freertos_OTOS]
monitor_speed = ${common.monitor_speed}
build_flags =
-D SPARKFUN_OTOS
;-D WITH_WIFI
lib_deps =
sparkfun/SparkFun Qwiic OTOS Arduino Library@^1.0.0
sparkfun/SparkFun Toolkit@^0.9.2
[env:esp32-freertos_All]
monitor_speed = ${common.monitor_speed}
build_flags =
-D A010
-D LD06
-D VL53
-D SPARKFUN_OTOS
-D WITH_WIFI
lib_deps =
sparkfun/SparkFun VL53L5CX Arduino Library@^1.0.3
sparkfun/SparkFun Qwiic OTOS Arduino Library@^1.0.0
sparkfun/SparkFun Toolkit@^0.9.2