Skip to main content
DJadc.1
Associate II
March 25, 2022
Question

Trouble to implement Azure example for board B-L4S5I-IOT01A to Stm32CubeIDE

  • March 25, 2022
  • 19 replies
  • 4029 views

Hi,

Recently I have been trying to implement an example from ST where data is sent telemetry to Azure. The problem is that Stm32CubeIDE did not generate Netxduo / addons / azure_iot. I am trying to manually add this folder but there are a lot of errors regarding includes and in the example I do not see these folders and files, although in some files they have #include "nx_azure_iot_json_reader.h" which is part of azure-sdk-for-c. If you have any ideas where you need to select somewhere in Stm32CubeIDE to generate this file, please give me advice.

Link to example: https://github.com/azure-rtos/getting-started/tree/master/STMicroelectronics/B-L4S5I-IOT01A

Stm32CubeIDE version: 1.8

This topic has been closed for replies.

19 replies

DJadc.1
DJadc.1Author
Associate II
March 29, 2022

@Haithem Rahmani​ 

i copied files from this project: https://github.com/azure-rtos/getting-started/tree/master/STMicroelectronics/B-L4S5I-IOT01A so i trust that the project is without errors.

The problem seems to be related with SysTick.

DJadc.1
DJadc.1Author
Associate II
March 30, 2022
Haithem Rahmani
ST Employee
March 30, 2022

First of all could you check that the WiFi module is correctly working, try the example below.

https://github.com/STMicroelectronics/STM32CubeL4/tree/master/Projects/B-L4S5I-IOT01A/Applications/WiFi

DJadc.1
DJadc.1Author
Associate II
March 30, 2022

@Haithem Rahmani​ 

Okey so i fix it and now its working but i have problem with add extra charts with datas from different sensors because a little bit don't understand code. If you have some time to explain couple of things how to add extra chart, i will be thankful

link to my project: https://github.com/jadczakoff/Azure_IoT_Project

Haithem Rahmani
ST Employee
March 30, 2022

well! I don't have any idea on this as this is Azure cloud related.

official Microsoft documentation may help.

https://docs.microsoft.com/en-us/azure/iot-hub/

https://docs.microsoft.com/en-us/azure/iot-dps/tutorial-set-up-cloud

umtkyck
Associate II
September 16, 2022

I create a AZURE RTOS project for stm32h723 nucleo board with latest IDE, H7 and AZURE sdk. I couldnt get the "Netxduo/addons/azure_iot" to my custom code from select component section of tool, I guess there is a bug on STM32CUBEIDE.

Is there any workaround for that?

Umit

DJadc.1
DJadc.1Author
Associate II
September 20, 2022

@umtkyck​

Hello,

I had the same issue and I fixed that by adding manually this package. I had a lot of work but I recommend you download one of these package, choose a project to Stm32CubeIDE then find the folder where is azure_iot and finally copy it to your project and add a path to the linker. I believe that this file (azure_iot) is a general file for any microcontroller and you can copy that peacefully and configure on your own. I hope that it will help you

0693W00000SvmcxQAB.png0693W00000SvmdRQAR.png