Re: [EXTERNAL] Re: [Zephyr-users] Errors while using west flash
Pandey, Mithun
HI Erwan,
Thanks for the reply,
The second option worked for me, although the build is still showing as using openocd (its already installed ), One more option is working for me
#board_runner_args(openocd "--use-elf") board_runner_args(pyocd "--device=STM32F429ZI")
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
earlier the board_runner_args is using jlink, maybe that’s the reason its not working.
Thanks and Regards Mithun
From: users@... <users@...>
On Behalf Of Erwan Gouriou
Sent: Wednesday, June 30, 2021 2:10 PM To: Pandey, Mithun <MithunPandey@...> Cc: users@...; Brezovec, Mark A <MarkABrezovec@...> Subject: [EXTERNAL] Re: [Zephyr-users] Errors while using west flash
Hi Mithun,
Seeing this: File "C:\Users\username\zephyrproject\zephyr\scripts/west_commands\runners\openocd.py", line 114, in do_run
It seems that west is attempting to flash using openocd which might not be installed in your environment. You have two options:
- Install openocd - [Not tested] Set pyocd as the default runner for this board, by adding the following lines in board/arm/nucleo_f429zi/board.cmake
HIH
On Wed, 30 Jun 2021 at 06:19, Pandey, Mithun <mithunpandey@...> wrote:
|
|