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
question about kaa SDK
-
- Posts: 13
- Joined: Thu Jun 30, 2016 7:53 pm
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.
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
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.