forked from CAP1Sup/Intellistep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
40 lines (36 loc) · 930 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
; 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
[platformio]
src_dir = src
include_dir = src
build_dir = .pioenvs
lib_dir = .piolib
libdeps_dir = .piolibdeps
boards_dir = buildroot/boards
default_envs = BTT_S42B_V2
[common]
build_flags = -fmax-errors=5
-g
-ggdb
-Wl,-u_printf_float
-I src/lib/CAN
-I src/software
-I src/hardware
-I src/user
[env:BTT_S42B_V2]
platform = ststm32
framework = arduino
board = genericSTM32F103CB
upload_protocol = stlink
debug_tool = stlink
build_flags = ${common.build_flags}
lib_deps =
# Rewritten for more performance, but needs minor work
mattfryer/Smoothed@^1.2