zephyr/scripts/west_commands/runners
Tomasz Moń 88dc03618b scripts: west_commands: runners: nrf_common: adjust json output
Make the generated json file match the contents generated with:
  * nrfutil device erase --uicr --core Application --x-operation-id 1
    --x-family nrf54h --x-append-batch batch.json
  * nrfutil device program --firmware uicr_merged.hex
    --options chip_erase_mode=ERASE_NONE,verify=VERIFY_READ
    --core Application --x-operation-id 2 --x-family nrf54h
    --x-append-batch batch.json
  * nrfutil device reset --reset-kind RESET_PIN --x-operation-id 3
    --x-append-batch batch.json

The erase options are supposed to be placed under "option" subkey.
Without the "option" subkey, nrfutil defaulted to ERASE_ALL.

Remove the firmware file format field because it is auto detected by
nrfutil when executing the batch script.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2024-06-03 04:45:59 -07:00
..
__init__.py West: Add west robot command 2024-05-28 12:54:52 +02:00
blackmagicprobe.py west: runners: blackmagicprobe: elf_file fallback 2024-01-26 14:24:05 -05:00
bossac.py west: bossac: handle stty from coreutils on macOS 2023-10-11 11:05:48 +01:00
canopen_program.py
core.py West: Add west robot command 2024-05-28 12:54:52 +02:00
dediprog.py
dfu.py
esp32.py soc: espressif: esp32: update to hal_espressif v5.1 2024-04-05 13:39:53 +02:00
ezflashcli.py west/ezflashcli: add dev_id capability 2024-06-03 03:02:11 -07:00
gd32isp.py
hifive1.py
intel_adsp.py hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
intel_cyclonev.py scripts: test for imported ELFFile instead of setting it to None 2024-03-20 09:59:27 +01:00
jlink.py runners: jlink: Add support for J-Link over IP 2024-01-09 14:49:03 +01:00
linkserver.py west: linkserver: fix erase error 2024-05-10 18:07:18 -04:00
mdb.py ARC: nSIM: west: launch cores in direct order for simulation run 2024-05-17 12:40:52 +02:00
misc.py
native.py west: add native_sim flash, debugserver command 2024-03-12 12:57:18 -04:00
nios2.py West: runners: Add explicit capabilities 2024-05-28 12:54:52 +02:00
nrf_common.py scripts: west_commands: runners: nrf_common: adjust json output 2024-06-03 04:45:59 -07:00
nrfjprog.py scripts: west_commands: runners: nrf_common: update nRF54H support 2024-03-20 11:35:47 +01:00
nrfutil.py scripts: west_commands: runners: nrfutil: Only flash with J-Links 2024-05-29 08:31:01 -07:00
nsim.py West: runners: Add explicit capabilities 2024-05-28 12:54:52 +02:00
nxp_s32dbg.py west: add NXP S32 Debug Probe runner 2023-10-25 18:14:51 -07:00
openocd.py West: runners: Add explicit capabilities 2024-05-28 12:54:52 +02:00
pyocd.py runners: restore obsolete synonyms for -i/--dev-id 2023-02-02 09:47:17 -08:00
qemu.py
renode-robot.py West: Add west robot command 2024-05-28 12:54:52 +02:00
renode.py West: Add west simulate command 2024-05-28 12:54:52 +02:00
silabs_commander.py scripts: west: add silabs_commander runner 2023-04-25 10:34:16 -07:00
spi_burn.py
stm32cubeprogrammer.py scripts: west flash with stm32CubeProgrammer and ext-loader 2024-05-27 01:34:51 -07:00
stm32flash.py west: runners: Add support for a common --reset argument 2023-09-28 11:08:25 -07:00
teensy.py teensy: add west flash teensy_loader_cli integration 2024-04-09 11:07:21 +02:00
trace32.py
uf2.py west: runners: uf2: Add more fstype check for is_uf2_partition 2023-09-06 14:16:58 +02:00
xtensa.py