-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathplatformio.ini
178 lines (158 loc) · 5 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
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
;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]
; src_dir = examples/BMA423_Accelerometer
; src_dir = examples/BMA423_Temperature
; src_dir = examples/BMA423_Feature
; src_dir = examples/BMA423_Orientation
; src_dir = examples/PCF8563_AlarmByUnits
; src_dir = examples/PCF8563_SimpleTime
; src_dir = examples/PCF8563_TimeLib
; src_dir = examples/PCF8563_TimeSynchronization
; src_dir = examples/PCF85063_SimpleTime
; src_dir = examples/PCF85063_AlarmByUnits
; src_dir = examples/PCF8563_ClockOutput
; src_dir = examples/PCF85063_ClockOutput
; src_dir = examples/QMC6310_CalibrateExample
; src_dir = examples/QMC6310_CompassExample
; src_dir = examples/QMC6310_GetDataExample
; src_dir = examples/QMC6310_GetPolarExample
; src_dir = examples/QMI8658_BlockExample
; src_dir = examples/QMI8658_CalibrationExample
; src_dir = examples/QMI8658_GetDataExample
; src_dir = examples/QMI8658_InterruptBlockExample
; src_dir = examples/QMI8658_InterruptExample
; src_dir = examples/QMI8658_LockingMechanismExample
; src_dir = examples/QMI8658_MadgwickAHRS
; src_dir = examples/QMI8658_PedometerExample
; src_dir = examples/QMI8658_ReadFromFifoExample
; src_dir = examples/QMI8658_WakeOnMotion
; src_dir = examples/QMI8658_WakeOnMotionCallBackExample
; src_dir = examples/XL9555_ExtensionIOInterrupt
; src_dir = examples/XL9555_ExtensionIORead
; src_dir = examples/XL9555_ExtensionIOWrite
; src_dir = examples/XL9555_Event
; src_dir = examples/XL9555_AdjustBacklight
; src_dir = examples/AW9364_LedDriver
; src_dir = examples/DRV2605_Basic
; src_dir = examples/CM32181_LightSensor
; src_dir = examples/CM32181_LightSensorInterrupt
; src_dir = examples/LTR553ALS_Sensor
; src_dir = examples/BHI260AP_6DoF
; src_dir = examples/BHI260AP_Orientation
; src_dir = examples/BHI260AP_StepCounter
; src_dir = examples/BHI260AP_DebugInfo
; src_dir = examples/BHI260AP_aux_BMM150
; src_dir = examples/BHI260AP_aux_BMM150_euler
; src_dir = examples/BHI260AP_aux_BMM150_quaternion
; src_dir = examples/BHI260AP_aux_BMM150_BME280
; src_dir = examples/BHI260AP_aux_BMM150_BME280_Expand_GPIO
; src_dir = examples/BHI260AP_UpdateFirmware
; src_dir = examples/BMM150_GetDataExample
; Touch devices support list
; src_dir = examples/TouchDrv_FT3267_LilyGo_T_RGB
; src_dir = examples/TouchDrv_GT911_LilyGo_T_RGB
; src_dir = examples/TouchDrv_Interface_T_RGB
; src_dir = examples/TouchDrv_FT6232_GetPoint
; src_dir = examples/TouchDrv_GT911_GetPoint
; src_dir = examples/TouchDrv_CHSC5816_GetPoint
; src_dir = examples/TouchDrv_CSTxxx_GetPoint
; src_dir = examples/TouchDrv_CST9217_GetPoint
; src_dir = examples/TouchDrv_GT9895_GetPoint
; default_envs = esp32dev
default_envs = esp32s3
; default_envs = esp32c3
; default_envs = rp2040
; default_envs = nrf52840
; default_envs = stm32
; Custom board variant
boards_dir = ./board
[env]
lib_extra_dirs = .
monitor_speed = 115200
build_flags =
; -DSENSOR_SDA=8
; -DSENSOR_SCL=9
; -DSENSOR_IRQ=3
; -DARDUINO_T_DECK
; -DARDUINO_T_AMOLED_191
; -DARDUINO_T_AMOLED_191_QWIIC
; -DARDUINO_T_AMOLED_241
; -DARDUINO_T_AMOLED_147
; -DARDUINO_T_DISPLAY_S3_PRO
; -DARDUINO_T_DISPLAY_S3
; -DARDUINO_T_EPD47_S3
; -DARDUINO_T_WATCH_S3_U
; -DLOG_PORT=Serial
-Wnarrowing
-Wtype-limits
; -Werror
-Wall
-Wunused-variable
-Werror=format
-Wmissing-field-initializers
-std=c++11
; lib_deps =
; https://github.com/CreativeRobotics/Commander
[env:esp32dev]
extends = env
platform = [email protected]
framework = arduino
board = esp32dev
build_flags =
${env.build_flags}
-DCORE_DEBUG_LEVEL=0
[env:esp32c3]
extends = env
platform = [email protected]
framework = arduino
board = esp32-c3-devkitm-1
build_flags =
${env.build_flags}
-DCORE_DEBUG_LEVEL=0
[env:esp32s3]
extends = env
platform = [email protected]
framework = arduino
board = esp32-s3-devkitm-1
build_flags =
${env.build_flags}
-DARDUINO_USB_CDC_ON_BOOT=1
; -UARDUINO_USB_CDC_ON_BOOT
-DCORE_DEBUG_LEVEL=0
[env:rp2040]
extends = env
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board = pico
framework = arduino
board_build.core = earlephilhower
[env:nrf52840]
extends = env
platform = [email protected]
board = nrf52840_dk_adafruit
framework = arduino
monitor_speed = 115200
upload_protocol = nrfutil
; upload_protocol = nrfjprog
; upload_protocol = jlink
build_flags =
${env.build_flags}
-DCFG_DEBUG=3
-DCFG_LOGGER=0
-DCFG_SYSVIEW=1
; lib_deps =
; adafruit/SdFat - Adafruit Fork @ ^2.2.3 ;BHI260AP_UpdateFirmware example use
; https://github.com/CreativeRobotics/Commander ;BHI260AP_aux_BMM150_BME280_Expand_GPIO example use
[env:stm32]
extends = env
platform = ststm32
framework = arduino
board = nucleo_f411re
upload_protocol = stlink