-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
61 lines (52 loc) · 1.78 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
; 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
[env:TTGOT7]
platform = espressif32
board = ttgo-t7-v14-mini32
framework = arduino
monitor_speed = 115200
build_src_filter = +<main.cpp> -<motioncal.cpp> -<motioncal_imu.cpp> -<motioncal_pc.cpp>
lib_deps =
; metisvela/SailtrackModule@^1.7.2
https://github.com/metisvela/sailtrack-module#main
adafruit/Adafruit AHRS@^2.3.2
adafruit/Adafruit LSM9DS1 Library@^2.1.1
build_flags =
-D BOARD_HAS_PSRAM
; monitor_filters = esp32_exception_decoder
; Uncomment to use OTA
upload_protocol = espota
upload_port = 192.168.42.102
[env:MotionCal_imu]
extends = env:TTGOT7
build_src_filter = +<motioncal_imu.cpp> -<main.cpp> -<motioncal.cpp> -<motioncal_pc.cpp>
lib_deps =
adafruit/Adafruit Sensor Calibration@^1.1.3
adafruit/Adafruit LSM9DS1 Library@^2.1.1
; metisvela/SailtrackModule@^1.7.2
https://github.com/metisvela/sailtrack-module#main
adafruit/Adafruit AHRS@^2.3.2
[env:MotionCal_pc]
platform = espressif32
board = ttgo-t7-v14-mini32
framework = arduino
monitor_speed = 115200
build_src_filter = +<motioncal_pc.cpp> -<main.cpp> -<motioncal.cpp> -<motioncal_imu.cpp>
lib_deps =
; metisvela/SailtrackModule@^1.7.2
https://github.com/metisvela/sailtrack-module#main
build_flags =
-D STM_LOG_LEVEL=ARDUHAL_LOG_LEVEL_NONE
[env:MotionCal]
extends = env:TTGOT7
build_src_filter = +<motioncal.cpp> -<main.cpp> -<motioncal_imu.cpp> -<motioncal_pc.cpp>
lib_deps =
adafruit/Adafruit Sensor Calibration@^1.1.3
adafruit/Adafruit LSM9DS1 Library@^2.1.1