Adding modifiers

nRF Util

tags
nRF Util

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:

  1. Open the config.json configuration file located at ~/.nrfutil/config/nrfutil-core/.
  2. Add a new entry under the modifiers section:
    {
      "modifiers": {
        "internal": {
          "package_index_name": "custom-internal"
        }
      }
    }
    
  3. 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.