generated from RCMgames/RCMv2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
62 lines (55 loc) · 1.63 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
; PlatformIO Project Configuration File
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = RCMv3
data_dir = docs/ds
[env]
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
framework = arduino
board_build.partitions = rcmv3_partitions.csv
board_build.filesystem = littlefs
lib_deps =
me-no-dev/ESP Async WebServer@1.2.4
bblanchon/ArduinoJson@7.2.0
joshua1024/JMotor@~0.28.6
fastled/FastLED@3.7.0
sparkfun/SparkFun 9DoF IMU Breakout - ICM 20948 - Arduino Library@1.2.13
janelia-arduino/PCA9685@3.0.2
; ^^^ add libraries here ^^^
; the programmer website will default to the top environment in this list
[env:esp32dev]
build_flags =
-DCORE_DEBUG_LEVEL=0
-DICM_20948_USE_DMP
-DRCM_MCU_ESP32
extra_scripts = ./RCMv3/boardData/ESP32/extra_script.py
platform = espressif32@6.9.0
board = esp32dev
[env:adafruit_qtpy_esp32s3_nopsram]
build_flags =
-DCORE_DEBUG_LEVEL=0
-DICM_20948_USE_DMP
-DRCM_MCU_QT_PY
extra_scripts = ./RCMv3/boardData/QTPy/extra_script.py
platform = espressif32@6.9.0
board = adafruit_qtpy_esp32s3_nopsram
[env:adafruit_qtpy_esp32s3_n4r2]
build_flags =
-DCORE_DEBUG_LEVEL=0
-DICM_20948_USE_DMP
-DRCM_MCU_QT_PY
extra_scripts = ./RCMv3/boardData/QTPy/extra_script.py
platform = espressif32@6.9.0
board = adafruit_qtpy_esp32s3_n4r2
[env:NoU3]
build_flags =
-DCORE_DEBUG_LEVEL=0
-DICM_20948_USE_DMP
-DRCM_MCU_NOU3
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
extra_scripts = ./RCMv3/boardData/NoU3/extra_script.py
; thanks https://github.com/SarangaR/MiniFRCDiffySwerve/blob/5e225a67e848c746101c1082be9ea2e7948a72b7/platformio.ini
platform = espressif32@6.9.0
board = esp32-s3-devkitm-1