Azure IoT Hub Sample on Thingy91

Is there any guides or easy way to make the Azure IoT Sample work with the Thingy91 or e.g. Icarus IoT v2?

Parents Reply
  • Hello, 

    Øyvind said:

    Looking at the log provided it does state:

    C:/Users/neshe/nRF/azure_iot_hub/src/main.c:202: undefined reference to `boot_write_img_confirmed', and I'm able to reproduce. Will need to discuss internally.

    In order for boot_write_img_confirmed() to be compiled in, you need to enable CONFIG_MCUBOOT_IMG_MANAGER=y

    Since the Thingy:91 is not officially supported in this sample, that needs to be done manually.

    In general, you need to ensure that required options are enabled when adding support for a new board to an application. In this case, the following are needed from nrf9151dk_nrf9151_ns, i.e:

    CONFIG_BOOTLOADER_MCUBOOT=y
    CONFIG_AZURE_FOTA=y
    CONFIG_FOTA_DOWNLOAD=y
    CONFIG_DFU_TARGET=y
    CONFIG_MCUBOOT_IMG_MANAGER=y
    CONFIG_IMG_MANAGER=y
    CONFIG_STREAM_FLASH=y
    CONFIG_FLASH_MAP=y
    CONFIG_FLASH=y
    CONFIG_IMG_ERASE_PROGRESSIVELY=y
    CONFIG_DOWNLOAD_CLIENT=y
    CONFIG_DOWNLOAD_CLIENT_STACK_SIZE=4096

Children
No Data
Related