Skip to content

Commit 7b3abdb

Browse files
committed
Fix configuration examples for STM32Cube
Resolve #218
1 parent 5a7258e commit 7b3abdb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

frameworks/stm32cube_extra.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ option ``custom_config_header`` set in :ref:`projectconf`, for example:
3838
platform = ststm32
3939
framework = stm32cube
4040
board = nucleo_f401re
41-
build.stm32cube.custom_config_header = yes
41+
board_build.stm32cube.custom_config_header = yes
4242
4343
Note that the location for the custom configuration header is not strictly limited as
4444
long as the path to this file is visible to the build system.
@@ -61,7 +61,7 @@ option, for example:
6161
platform = ststm32
6262
framework = stm32cube
6363
board = nucleo_f401re
64-
build.stm32cube.custom_system_setup = yes
64+
board_build.stm32cube.custom_system_setup = yes
6565
6666
6767
Selecting System File
@@ -83,7 +83,7 @@ in :ref:`projectconf`, for example:
8383
platform = ststm32
8484
framework = stm32cube
8585
board = disco_h747xi
86-
build.stm32cube.system_file = system_stm32h7xx_dualcore_bootcm7_cm4gated.c
86+
board_build.stm32cube.system_file = system_stm32h7xx_dualcore_bootcm7_cm4gated.c
8787
8888
8989
Custom Startup File
@@ -105,7 +105,7 @@ startup file, for example:
105105
platform = ststm32
106106
framework = stm32cube
107107
board = custom_board_name
108-
build.stm32cube.startup_file = startup_stm32l152xca.s
108+
board_build.stm32cube.startup_file = startup_stm32l152xca.s
109109
110110
111111
Disabling Bundled Components
@@ -125,7 +125,7 @@ If your project doesn't require this feature, it can be disabled via the
125125
platform = ststm32
126126
framework = stm32cube
127127
board = disco_f303vc
128-
build.stm32cube.disable_embedded_libs = yes
128+
board_build.stm32cube.disable_embedded_libs = yes
129129
130130
131131
Custom Build Variant
@@ -144,7 +144,7 @@ target-specific macros should be used when compiling BSP components, for example
144144
platform = ststm32
145145
framework = stm32cube
146146
board = nucleo_g474re
147-
build.stm32cube.variant = STM32G4xx_Nucleo
147+
board_build.stm32cube.variant = STM32G4xx_Nucleo
148148
149149
Custom DSP Library
150150
~~~~~~~~~~~~~~~~~~
@@ -163,7 +163,7 @@ framework, the ``custom_dsp_library`` can be used:
163163
platform = ststm32
164164
framework = stm32cube
165165
board = nucleo_f401re
166-
build.stm32cube.custom_dsp_library = yes
166+
board_build.stm32cube.custom_dsp_library = yes
167167
168168
Using with STM32CubeMX
169169
----------------------

0 commit comments

Comments
 (0)