forked from Churrosoft/OpenEFI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
44 lines (39 loc) · 946 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
43
44
; 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:black_f407vg]
platform = ststm32
board = black_f407vg
framework = stm32cube
extra_scripts = pre:extra_script.py
debug_speed = 3000
lib_ldf_mode= chain+
build_flags =
-Wl,-Map,firmware.map,--print-memory-usage
-g
-std=gnu++17
-O2
!python pre_script.py
debug_build_flags =
-Wl,-Map,firmware.map,--print-memory-usage
-g
-std=gnu++17
-O2
!python pre_script.py
build_unflags =
--specs=nosys.specs
-lnosys
-Os
debug_port = /dev/ttyACM0
upload_port = /dev/ttyACM0
debug_tool = blackmagic
upload_protocol = blackmagic
[platformio]
include_dir = Inc
src_dir = Src