-
Notifications
You must be signed in to change notification settings - Fork 0
/
STM32-for-VSCode.config.yaml
176 lines (154 loc) · 6.32 KB
/
STM32-for-VSCode.config.yaml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Configuration file for the STM32 for VSCode extension
# Arrays can be inputted in two ways. One is: [entry_1, entry_2, ..., entry_final]
# or by adding an indented list below the variable name e.g.:
# VARIABLE:
# - entry_1
# - entry_2
# The project name
target: fenice-evo-steering-wheel
# Can be C or C++
language: C
optimization: Os
# MCU settings
targetMCU: stm32h7x
cpu: cortex-m7 # type of cpu e.g. cortex-m4
fpu: fpv5-d16 # Defines how floating points are defined. Can be left empty.
floatAbi: -mfloat-abi=hard
# ldscript: STM32H723ZGTx_FLASH.ld # linker script
ldscript: STM32H723ZGTx_FLASH_shifted.ld # linker script
# Compiler definitions. The -D prefix for the compiler will be automatically added.
cDefinitions:
- USE_HAL_DRIVER
- LV_LVGL_H_INCLUDE_SIMPLE
- STM32H723xx
cxxDefinitions:
- USE_HAL_DRIVER
asDefinitions: []
# Compiler definition files. you can add a single files or an array of files for different definitions.
# The file is expected to have a definition each new line.
# This allows to include for example a .definition file which can be ignored in git and can contain
# This can be convenient for passing along secrets at compile time, or generating a file for per device setup.
cDefinitionsFile:
cxxDefinitionsFile:
asDefinitionsFile:
# Compiler flags
cFlags: []
cxxFlags: []
assemblyFlags: []
linkerFlags:
- -specs=nano.specs
- -u_printf_float
# libraries to be included. The -l prefix to the library will be automatically added.
libraries:
- c
- m
- nosys
# Library directories. Folders can be added here that contain custom libraries.
libraryDirectories: []
# Files or folders that will be excluded from compilation.
# Glob patterns (https://www.wikiwand.com/en/Glob_(programming)) can be used.
# Do mind that double stars are reserved in yaml
# these should be escaped with a: \ or the name should be in double quotes e.g. "**.test.**"
excludes:
- "**/Examples/**"
- "**/examples/**"
- "**/Example/**"
- "**/example/**"
- "**_template.*"
# Include directories (directories containing .h or .hpp files)
# If a CubeMX makefile is present it will automatically include the include directories from that makefile.
includeDirectories:
- Core/Inc
- Drivers/STM32H7xx_HAL_Driver/Inc
- Drivers/STM32H7xx_HAL_Driver/Inc/Legacy
- Drivers/CMSIS/Device/ST/STM32H7xx/Include
- Drivers/CMSIS/Include
- Inc/**
- Core/Inc/**
- Core/UI/Inc/**
- Core/Lib/invlib
- Core/Lib/can/lib
- Core/Lib/micro-libs/min-heap/inc
- Core/UI/Lib/McuFont/decoder
- Core/UI/Lib/McuFont/fonts
# Files that should be included in the compilation.
# If a CubeMX makefile is present it will automatically include the c and cpp/cxx files from that makefile.
# Glob patterns (https://www.wikiwand.com/en/Glob_(programming)) can be used.
# Do mind that double stars are reserved in yaml
# these should be escaped with a: \ or the name should be in double quotes e.g. "HARDWARE_DRIVER*.c"
sourceFiles:
- startup_stm32h723xx.s
- Core/Src/main.c
- Core/Src/gpio.c
- Core/Src/dac.c
- Core/Src/fdcan.c
- Core/Src/fmc.c
- Core/Src/i2c.c
- Core/Src/usart.c
- Core/Src/ltdc.c
- Core/Src/octospi.c
- Core/Src/tim.c
- Core/Src/stm32h7xx_it.c
- Core/Src/stm32h7xx_hal_msp.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dac.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dac_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_ll_fmc.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_sdram.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_ltdc.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_ltdc_ex.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_ospi.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c
- Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c
- Core/Src/system_stm32h7xx.c
- Core/Src/**
- Core/UI/Src/**
- Core/Lib/can/lib/primary/primary_network.c
- Core/Lib/can/lib/primary/primary_watchdog.c
- Core/Lib/can/lib/secondary/secondary_network.c
- Core/Lib/can/lib/secondary/secondary_watchdog.c
- Core/Lib/can/lib/inverters/inverters_network.c
- Core/Lib/can/lib/inverters/inverters_watchdog.c
- Core/Lib/micro-libs/min-heap/src/*.c
- Core/Lib/invlib/inverter_conversions.c
- Core/UI/Lib/McuFont/decoder/*.c
- Core/UI/Lib/McuFont/decoder/mf_encoding.c
- Core/UI/Lib/McuFont/decoder/mf_font.c
- Core/UI/Lib/McuFont/decoder/mf_justify.c
- Core/UI/Lib/McuFont/decoder/mf_kerning.c
- Core/UI/Lib/McuFont/decoder/mf_rlefont.c
- Core/UI/Lib/McuFont/decoder/mf_bwfont.c
- Core/UI/Lib/McuFont/decoder/mf_scaledfont.c
- Core/UI/Lib/McuFont/decoder/mf_wordwrap.c
# When no makefile is present it will show a warning pop-up.
# However when compilation without the CubeMX Makefile is desired, this can be turned of.
suppressMakefileWarning: false
# Custom makefile rules
# Here custom makefile rules can be added to the STM32Make.make file
# an example of how this can be used is commented out below.
customMakefileRules:
# - command: sayhello
# rule: echo "hello"
# dependsOn: $(BUILD_DIR)/$(TARGET).elf # can be left out
# Additional flags which will be used when invoking the make command
makeFlags:
# - -O # use this option when the output of make is mixed up only works for make version 4.0 and upwards
# - --silent # use this option to silence the output of the build