forked from WPI-HPRC/lift-rocket-2026
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
58 lines (54 loc) · 1.3 KB
/
platformio.ini
File metadata and controls
58 lines (54 loc) · 1.3 KB
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
; 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:test]
platform = native
lib_deps =
framework =
test_build_src = true
;build_src_filter = -<*> +<../SerialSDReader/*>
[env]
platform = ststm32
framework = arduino
lib_deps =
adafruit/Adafruit INA219@^1.2.3
adafruit/Adafruit LPS2X@^2.0.6
adafruit/Adafruit BusIO@^1.17.0
adafruit/Adafruit Unified Sensor@^1.1.15
stm32duino/STM32duino ASM330LHH@^2.0.1
adafruit/Adafruit ICM20X@^2.0.7
sparkfun/SparkFun u-blox GNSS v3@^3.1.8
greiman/SdFat
;nanopb/Nanopb@^0.4.91
tomstewart89/BasicLinearAlgebra @ ^5.1
Wire
SPI
Servo
IWatchdog
;custom_nanopb_protos =
; +<proto/**/*.proto>
[env:mars]
board = mars
board_build.variants_dir = variants
build_flags =
-D MARS
-I variants/MARS
-DTIM_IRQ_PRIO=2
-DTIM_I2C_PRIO=3
-DPIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-DUSBCON
-DUSBD_VID=0
-DUSBD_PID=0
# -DHSE_VALUE=25000000UL
-DHSE_BYPASS_NOT_USED
-DLSE_BYPASS_NOT_USED
-Wa,-mfloat-abi=hard
-Wa,-mfpu=fpv4-sp-d16
-O3
upload_protocol = dfu