Adapt Azure IOT from heap3 to heap4 (FreeRTOS)

cancel
Showing results for 
Search instead for 
Did you mean: 

Adapt Azure IOT from heap3 to heap4 (FreeRTOS)

85 Views
Contributor I

Hi,

I'm currently working on a project that needs connecting to Azure Cloud.

My project is working on Heap 4, therefore I need to adapt the Azure IOT to the same Heap (currently working on Heap3).

I know that we have to make changement on the FreeRTOSConfig file, and the result, is that I can connect to WIFI, get the SNTP, but it gets stuck when entering to the Azure Functionnalities.

Sometimes it gets stuck on the SNTP Console's Display.

So, is there a way on adapting Azure to Heap 4?

Because I cannot readapt all my program on the Heap 3.

I'm working on i.MXRT106F card with wiced Library.

Thank you for your help.

Best regards.

PS: I'm providing you captures of the FreeRTOSConfig file:

pastedImage_1.png

pastedImage_2.png

Labels (1)
0 Kudos
1 Reply

20 Views
NXP TechSupport
NXP TechSupport

Hello Mohamed,

Hope you are doing well.

Unfortunately, we do not have a guide that specifies how to change Azure heap to heap 4. I recommend the following documents that may provide more information. In addition, I would recommend to try changing the heap in an example only using the azure application prior to implementing and merging with your application.

MCUXpresso User Guide Chapter 17

How to configure heap and stack sizes in MCUXpresso 

Using Multiple Memory Regions with the FreeRTOS Heap | MCU on Eclipse 

Best Regards,

Sabina

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

----------------------------------------------------------------------------------------------------------------------- 

0 Kudos