Skip to content
Commit 5818031a authored by Gustavo Romero's avatar Gustavo Romero Committed by Fabio Baltieri
Browse files

boards: arm: stm32f746g_disco: Use specified USB serial



The 'west flash' command allows specifying the port where the target is
attached via the '--serial' option, allowing users to set the USB serial
port for flashing. However, the 'stm32f746g_disco' script file currently
ignores the _ZEPHYR_BOARD_SERIAL variable set by this option, preventing
effective port specification.

This commit fixes it by correctly setting the openocd adapter serial
when _ZEPHYR_BOARD_SERIAL variable is set, enabling proper USB serial
port specification during flashing.

Signed-off-by: default avatarGustavo Romero <gustavo.romero@linaro.org>
parent 16e15268
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment