-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplatformio.ini
60 lines (49 loc) · 1.64 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
; 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
##################################################
# Main ini settings
##################################################
[platformio]
src_dir = src
lib_dir = lib
boards_dir = platformIO/boards
; default_envs = MKS_ROBIN_NANO_V3
default_envs = FireBoard_F429
extra_configs =
ini/stm32_common.ini
ini/stm32_f4_serial.ini
ini/stm32_g0_serial.ini
##################################################
# All env common settings
##################################################
[common]
build_flags =
-Wl,-u_printf_float,-Map,output.map
-Og
-Isrc/FreeRTOS/include
-Isrc/FreeRTOS/CMSIS_RTOS
build_src_filter =
+<*>
-<.git/> -<.svn/> -<example/> -<examples/>
-<test/> -<tests/>
##################################################
# Settings for Cortex-M4F
##################################################
[common_fpu]
build_flags =
-mthumb -march=armv7e-m -mfloat-abi=hard -mfpu=fpv4-sp-d16
-u_printf_float
extra_scripts =
platformIO/scrript/update_link_flags.py
##################################################
# Rename Firmware name
##################################################
[common_remane]
extra_scripts = pre:platformIO/scrript/rename.py