-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplatformio.ini
More file actions
64 lines (61 loc) · 1.76 KB
/
platformio.ini
File metadata and controls
64 lines (61 loc) · 1.76 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
59
60
61
62
63
64
; 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:haloship]
platform = ststm32@13.0.0
board = haloship
framework = arduino
; upload_protocol = stlink
upload_protocol = dfu
debug_tool = stlink
debug_speed = 480
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D USBCON
-Wno-deprecated-declarations
lib_deps =
arkhipenko/TaskScheduler @ ^3.2.2
robtillaart/PCA9635 @ ^0.3.1
adafruit/Adafruit LPS2X @ ^2.0.1
lowpowerlab/SPIFlash @ ^101.1.3
https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library.git
https://github.com/haloship/RadioHead.git
https://github.com/haloship/bmx055.git
lib_extra_dirs=
/home/dunstan/git/bmx055
lib_ldf_mode = deep
build_unflags = -Werror=all
[env:feather]
platform = ststm32
board = adafruit_feather_f405
framework = arduino
upload_protocol = dfu
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D USBCON
-D FEATHER_BOARD
-Wall
lib_deps =
https://github.com/haloship/RadioHead.git
adafruit/Adafruit LPS2X@^2.0.1
sparkfun/SparkFun u-blox GNSS Arduino Library@^2.0.5
[env:nucleo]
platform = ststm32
board = adafruit_feather_f405
framework = arduino
build_flags =
-D PIO_FRAMEWORK_ARDUINO_NANOLIB_FLOAT_PRINTF
-D PIO_FRAMEWORK_ARDUINO_ENABLE_CDC
-D PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED
lib_deps =
https://github.com/haloship/RadioHead.git
adafruit/Adafruit LPS2X@^2.0.1
sparkfun/SparkFun u-blox GNSS Arduino Library@^2.0.5