-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
37 lines (33 loc) · 1.36 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
[platformio]
include_dir = Core/Inc
src_dir = Core/Src
[env:nucleo_f767zi]
platform = ststm32
board = nucleo_f767zi
framework = stm32cube
extra_scripts =
pre:CompilerFlags.py
debug_build_flags = -O3 -ggdb3 -g3
optimization = -O3
monitor_speed = 115200
build_flags =
-I ./Core/Inc
-I ./Core/Inc/peripherals
-I ./Core/Inc/Control
-I ./Core/Inc/FATFS/App
-I ./Core/Inc/FATFS/Target
-I ./Core/Inc/Middlewares/Third_Party/FatFs/src
-I ./Core/Inc/Middlewares/Third_Party/FatFs/src/option
-I ./Core/Inc/MTi
-I ./Core/Inc/MTi/Lib/MTi
-I ./Core/Inc/roboteam_embedded_messages/include
-I ./Core/Inc/Util
-I ./Core/Inc/Wireless
-I ./Core/Inc/Wireless/SX1280
-Wno-unused-variable ; Disable warnings for unused variables since REM gives a lot of them
-Wno-unused-function ; Disable warnings for unused functions since REM gives a lot of them
-Wno-discarded-qualifiers
-Wdouble-promotion ; Prints warning when a float is implicitly converted to a double, e.g. when not suffixiing a float with f
-Wfloat-conversion ; Prints warning when a double is implicitly converted to a float, e.g. when assigning a double to a float variable
-Wunsuffixed-float-constants ; Prints warning when a floating point constant is not suffixed with f
-fsingle-precision-constant ; Ensures that all floating point constants are 32-bit (not 64-bit doubles), since 32-bit has hardware support on the STM32