Good day
If we don't add main lib to linking we get:
warning: cannot find entry symbol call_user_start; defaulting to 0000000040100000
If we add main lib to linking:
we get some conflicts like
In function `pvPortMalloc': (.text+0x18): multiple definition of `malloc'
In function `vPortFree': (.text+0xec): multiple definition of `free'
or more undefined references to `_sbrk_r' follow
Any help?
Thank you!
Linking against RTOS SDK.
Re: Linking against RTOS SDK.
Postby jackon » Fri Dec 19, 2014 7:42 pm
Do you add -lc in your Makefile?
If yes, please delete it, don't use libc.a in RTOS SDK.
We have ported some frequently-used libc apis in SDK, you can refer to include/espressif/esp_libc.h.
If yes, please delete it, don't use libc.a in RTOS SDK.
We have ported some frequently-used libc apis in SDK, you can refer to include/espressif/esp_libc.h.
Re: Linking against RTOS SDK.
Postby dexterash » Mon Dec 22, 2014 5:35 am
Thank you, my bad! Removed linking against libC and now it's ok.
Who is online
Users browsing this forum: No registered users and 213 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.