-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
49 lines (44 loc) · 1015 Bytes
/
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]
default_envs = rover_atoms3
[common]
platform = espressif32
framework = arduino
lib_deps =
https://github.com/AlfredoSystems/AlfredoCRSF
https://github.com/CK-Explorer/MadgwickAHRS ;imu filtering
extra_scripts = pre:utils.py ;injects version into main
build_unflags = -fno-rtti ;allow dynamic_cast
monitor_speed = 115200
; upload_speed = 921600
[m5]
extends = common
lib_deps =
${common.lib_deps}
https://github.com/m5stack/M5Unified
https://github.com/m5stack/M5GFX
build_flags =
-DIS_M5
[env:rover_atoms3]
extends = m5
board = m5stack-atoms3
build_flags =
${m5.build_flags}
-DNUM_DRIVES=3
-DARDUINO_USB_CDC_ON_BOOT
lib_ignore =
txlib
[env:transmitter_stickc]
extends = m5
board = m5stick-c
build_flags =
${m5.build_flags}
-DIS_RC_CONTROLLER
lib_deps =
${m5.lib_deps}
; https://github.com/m5stack/M5Unit-MiniJoyC
https://github.com/m5stack/M5Unit-Joystick2
[env:test_native]
platform = native
build_type = test
build_flags = -std=gnu++2a
test_framework = googletest