To port third party libraries with ESP8266, you must take care of the following:
1. Make sure all functions are ICACHE_FLASH_ATTR if using non-OS SDK (default is IRAM_ATTR).
2. Make sure all standard in-built functions such as printf and memory allocation routines are replaced with the functions in os_api.h or mem.h provided in the SDK.
3. Watchdog must be fed regularly to avoid reset.
Apart from these, other aspects of porting are project specific and will depend on the application itself.Statistics: Posted by Guest — Tue Sep 06, 2016 10:02 pm
]]>