Preparing firmware

Asset Tracker Template

tags
Asset Tracker Template

Complete the following steps when preparing application or bootloader firmware. For modem updates, pre-provisioned modem bundles are already available in nRF Cloud. Use a modem bundle ID from the REST API when creating the FOTA job, as described in Complete update workflow.

  1. Update the app/VERSION file. Increment the appropriate version component.
  2. Build the firmware.

    From the command line, run the following command:

    west build -p -b thingy91x/nrf9151/ns # Build for the appropriate board
    

    You can also use nRF Connect for VS Code. For information about building with the extension, see Getting started.

  3. Locate the update bundles in the app/build/ output directory:

    • build/dfu_application.zip: The application firmware update.
    • build/dfu_mcuboot.zip: The bootloader update.