Skip to content

Commit 0717698

Browse files
erwangofabiobaltieri
authored andcommitted
boards: stm32n6: Fix doc in flashing sections
Fix tab by target on Nucleo Fix duplicate instructions in both boards Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
1 parent 1a5e13a commit 0717698

File tree

2 files changed

+5
-17
lines changed

2 files changed

+5
-17
lines changed

boards/st/nucleo_n657x0_q/doc/index.rst

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ First, connect the NUCLEO-N657X0-Q to your host computer using the ST-Link USB p
153153
:board: nucleo_n657x0_q
154154
:goals: build flash
155155

156-
.. note::
156+
.. note::
157157
For flashing, before powering the board, set the boot pins in the following configuration:
158158

159159
* BOOT0: 0
@@ -165,12 +165,6 @@ First, connect the NUCLEO-N657X0-Q to your host computer using the ST-Link USB p
165165

166166
Power off and on the board again.
167167

168-
Run a serial host program to connect to your board:
169-
170-
.. code-block:: console
171-
172-
$ minicom -D /dev/ttyACM0
173-
174168
.. group-tab:: Serial Boot Loader (USB)
175169

176170
Additionally, connect the NUCLEO-N657X0-Q to your host computer using the USB port.
@@ -186,10 +180,10 @@ First, connect the NUCLEO-N657X0-Q to your host computer using the ST-Link USB p
186180
Build and load an application using ``nucleo_n657x0_q/stm32n657xx/sb`` target (you
187181
can also use the shortened form: ``nucleo_n657x0_q//sb``)
188182

189-
.. zephyr-app-commands::
190-
:zephyr-app: samples/hello_world
191-
:board: nucleo_n657x0_q
192-
:goals: build flash
183+
.. zephyr-app-commands::
184+
:zephyr-app: samples/hello_world
185+
:board: nucleo_n657x0_q
186+
:goals: build flash
193187

194188

195189
Run a serial host program to connect to your board:

boards/st/stm32n6570_dk/doc/index.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ First, connect the STM32N6570_DK to your host computer using the ST-Link USB por
168168

169169
Power off and on the board again.
170170

171-
Run a serial host program to connect to your board:
172-
173-
.. code-block:: console
174-
175-
$ minicom -D /dev/ttyACM0
176-
177171
.. group-tab:: Serial Boot Loader (USB)
178172

179173
Additionally, connect the STM32N6570_DK to your host computer using the USB port.

0 commit comments

Comments
 (0)