How to use and adapt iot-middleware-freertos-samples on STMF407 and custom made PCB?

David Kenko 0 Reputation points
2023-02-09T12:36:50.13+00:00

I want to make ADU - azure Device Update with OTA- over the air update, using this samples. I will NOT be using that IoT board. My PCB will have STM32 F407, SIM module for internet.

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
331 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,266 Reputation points
    2023-02-16T23:43:05.3433333+00:00

    Hello David Kenko,

    Thanks for reaching out on this forum.

    What was the Sample you have followed, sorry the hyperlink might be missing from your post?

    Did you try using the below samples?

    Azure IoT samples using Azure IoT middleware for FreeRTOS

            You can find more information about the steps in the tutorial "Connect an STMicroelectronics B-L475E to Azure IoT Central quickstart" at the following link: [https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-develop/quickstart-devkit-stm-b-l475e-freertos.md](https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-develop/quickstart-devkit-stm-b-l475e-freertos.md) 
    

    Please note that the tutorial uses the STMicroelectronics B-L475E device, but you can use the same steps to make an ADU with OTA update for your STM32F407 device with the Azure IoT middleware for FreeRTOS samples.

    document_link:

    https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/iot-develop/quickstart-devkit-stm-b-l475e-freertos.md<sup>[0][1][2]</sup>

    We can try below steps to get started with ADU using the Azure IoT middleware for FreeRTOS samples:

      1.Download the Azure IoT middleware for FreeRTOS samples.
    
    1. Build the sample code for your STM32F407 device.
    2. Flash the image to your device.
    3. Connect your device to Azure IoT.
    4. Use the Azure portal to create Azure resources, connect your device securely to Azure, view telemetry, and send messages.
    5. Import an update using the Azure portal.
    6. Deploy the update to your device.

    If this answers your query, do click Accept Answer and **Yes** for this answer as helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.