boards: nordic: nrf52840dk: Add QSPI nrfutil config

Adds a configuration file which is used with nrfutil to allow
programming QSPI on the device

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2025-04-04 10:09:05 +01:00 committed by Benjamin Cabé
commit 7e6410de2e
2 changed files with 26 additions and 0 deletions

View file

@ -1,5 +1,9 @@
# SPDX-License-Identifier: Apache-2.0
if(CONFIG_SOC_NRF52840_QIAA)
board_runner_args(nrfutil "--ext-mem-config-file=${BOARD_DIR}/support/nrf52840dk_qspi_nrfutil_config.json")
endif()
board_runner_args(jlink "--device=nRF52840_xxAA" "--speed=4000")
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)

View file

@ -0,0 +1,22 @@
{
"firmware_config": {
"peripheral": "QSPI"
},
"pins": {
"sck": 19,
"csn": 17,
"io0": 20,
"io1": 21,
"io2": 22,
"io3": 23
},
"flash_size": 8388608,
"sck_frequency": 8000000,
"address_mode": "MODE24BIT",
"readoc": "READ4IO",
"writeoc": "PP4IO",
"pp_size": "PPSIZE256",
"sck_delay": 128,
"rx_delay": 2,
"page_size": 4096
}