1# Copyright (c) 2024 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4menu "nrf-regtool options"
5	depends on SOC_SERIES_NRF54HX
6
7config NRF_REGTOOL_GENERATE_UICR
8	bool "Generate UICR"
9	help
10	  Generate a UICR hex based on devicetree contents using nrf-regtool.
11	  CPU domains that require UICR allocation aren't bootable without it
12	  being programmed alongside the firmware.
13
14config NRF_REGTOOL_VERBOSITY
15	int "Verbosity level of console output"
16	range 0 3
17	default 0
18	help
19	  Level of verbose output that nrf-regtool will print to the console.
20
21	  0. Only critical information and warnings.
22	  1. Print a pretty, human-readable representation of a peripheral's
23	     configuration. This is recommended for inspecting register values.
24	  2. Print extra details for debugging purposes, such as memory maps of
25	     the peripheral configurations, but in a less readable format.
26	  3. Print even more details, which are typically only useful for
27	     nrf-regtool developers.
28
29config NRF_REGTOOL_EXTRA_GENERATE_ARGS
30	string "Extra arguments to 'nrf-regtool generate'"
31	help
32	  List of additional arguments to every nrf-regtool invocation used for
33	  generating hex files. Example value: "--fill all --fill-byte 0xff".
34	  Run "nrf-regtool generate -h" to see all of the available options.
35
36endmenu
37