[Zephyr-users] [Zephyr-devel] West Flash not supports JLinkScriptFile option for Jlink programming


David Leach
 

I also had a PR I closed a while back that was playing around with adding this:

https://github.com/zephyrproject-rtos/zephyr/pull/13814

David

-----Original Message-----
From: users@... <users@...> On Behalf Of Henrik Brix Andersen via lists.zephyrproject.org
Sent: Thursday, September 29, 2022 4:24 AM
To: marti.bolivar@...
Cc: srinivasan.tamilarasan@...; users@...; devel@...
Subject: Re: [Zephyr-users] [Zephyr-devel] West Flash not supports JLinkScriptFile option for Jlink programming

Hi

Actually, it is possible. We are using this in our board.cmake downstream:

board_runner_args(jlink "--device=foo" "--tool-opt=-jlinkscriptfile /path/to/foo.JLinkScript")

Brgds,
Brix
--
Henrik Brix Andersen

On 17 Sep 2022, at 00.10, Bolivar, Marti via lists.zephyrproject.org <marti.bolivar=nordicsemi.no@...> wrote:

This is not currently possible.

You are welcome to send a pull request adding the feature.