Where to learn about dynalib design and implementation?


I have been trying to figure out how the dynalib system works, just by reading the code. But it’s hard going.

Is there some documentation that explains how the dynalib system in the Particle firmware is structured and best practices for its use or extension?

Many thanks!

There is no documentation at present, since it’s not a user-accessible feature for application developers.

It’s on our todo-list to document this for HAL implementors when porting the firmware to a new platform.

I can try to help - what problem are you trying to solve?

Thanks for the reply @mdma . I did figure it out in the end, from the code. There are quite a few files in various places to make it all work. It’s a very clever system though and well worth it to be able to flash only user-part using OTA. :smile: