nRF Util supports the concept of modifiers to help with specifying package indexes.
You can configure modifiers in the core module's ~/.nrfutil/config/nrfutil-core/config.json configuration file.
Complete the following steps:
- Open the
config.jsonconfiguration file located at~/.nrfutil/config/nrfutil-core/. - Add a new entry under the
modifierssection:{ "modifiers": { "internal": { "package_index_name": "custom-internal" } } } - Set the name of the package index that the modifier should reference.
The name must match that of an already configured package index. In the example in the previous step,"custom-internal"corresponds to the custom package index example mentioned in Setting up custom package indexes.