-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
42 lines (36 loc) · 957 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
41
42
; 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:genericSTM32F411CE]
platform = ststm32
board = genericSTM32F411CE
framework = stm32cube
debug_tool = stlink
upload_protocol = stlink
upload_port = stlink
build_unflags =
-lnosys
--specs=nosys.specs
build_flags =
-mfloat-abi=hard
-mfpu=fpv4-sp-d16
-larm_cortexM4lf_math
-D __FPU_PRESENT=1
-D ARM_MATH_CM4
-Ofast
debug_build_flags =
-Wl,-u,_printf_float
-D DEBUG
extra_scripts =
enable_semihosting.py
include_cmsis.py
include_float.py
debug_extra_cmds =
monitor arm semihosting enable
monitor arm semihosting_fileio enable