[SAMG55] Question about AWS zero touch demo and malloc()/free()

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am looking into the zero touch demo and possibly adapting it for an IOT thing I'm working on, but I had some questions about how it's implemented.

 

The zero touch uses FreeRTOS with the heap_1.c configuration, which does not implement malloc and free, yet the code for the demo uses both quite extensively in console printing and parsing of JSON objects.

 

If these aren't implemented by FreeRTOS, are they thread safe? If they aren't, why are they being used so frequently?

 

Where can I view the code being used to implement them, if possible?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
stack gold/silver https://www.onegold.com/join/713...