question about kaa SDK

valmik thakar
Posts: 13
Joined: Thu Jun 30, 2016 7:53 pm

question about kaa SDK

Postby valmik thakar » Tue Sep 06, 2016 1:39 pm

hi,

i want to port kaa-c SDK in esp8266.
any one have a experience on porting kaa sdk in esp8266.
if yes then how can i compile it with esp8266 tool chain.
what configuration need to do for compiling kaa sdk with xtensa tool chain.

thanks and regards
valmik thakar

pratik

Re: question about kaa SDK

Postby pratik » Tue Sep 06, 2016 10:02 pm

Hello Valmik,

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.

Who is online

Users browsing this forum: No registered users and 3 guests