Skip to content

Commit 322446b

Browse files
committed
[nrf fromlist] boards: nordic: thingy53: Add QSPI nrfutil config
Adds a configuration file which is used with nrfutil to allow programming QSPI on the device Upstream PR #: 86985 Signed-off-by: Jamie McCrae <[email protected]>
1 parent db413b6 commit 322446b

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

boards/nordic/thingy53/board.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
if(CONFIG_BOARD_THINGY53_NRF5340_CPUAPP OR CONFIG_BOARD_THINGY53_NRF5340_CPUAPP_NS)
4+
board_runner_args(nrfutil "--ext-mem-config-file=${BOARD_DIR}/thingy53_qspi_nrfutil_config.json")
45
board_runner_args(jlink "--device=nrf5340_xxaa_app" "--speed=4000")
56
elseif(CONFIG_BOARD_THINGY53_NRF5340_CPUNET)
67
board_runner_args(jlink "--device=nrf5340_xxaa_net" "--speed=4000")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"firmware_config": {
3+
"peripheral": "QSPI"
4+
},
5+
"pins": {
6+
"sck": 17,
7+
"csn": 18,
8+
"io0": 13,
9+
"io1": 14,
10+
"io2": 15,
11+
"io3": 16
12+
},
13+
"flash_size": 67108864,
14+
"sck_frequency": 8000000,
15+
"address_mode": "MODE24BIT",
16+
"readoc": "READ2IO",
17+
"writeoc": "PP",
18+
"pp_size": "PPSIZE256",
19+
"sck_delay": 128,
20+
"rx_delay": 2,
21+
"page_size": 4096
22+
}

0 commit comments

Comments
 (0)