RTOS SDK : undefined reference to `system_upgrade_start'
- raspberrypidmx
- Posts: 15
- Joined: Wed Apr 27, 2016 6:15 am
- Contact:
RTOS SDK : undefined reference to `system_upgrade_start'
Postby raspberrypidmx » Wed Jul 06, 2016 1:10 am
Hi,
I am using the latest RTOS SDK. My environment is setup correctly. I am able to compile, link and upload non-OTA firmware.
While compiling with the code "if (system_upgrade_start(update) == false)", I get the following error :
user_main.c:678: undefined reference to `system_upgrade_start'
There is no libupgrade provided with the RTOS SDK. Which other lib must be used?
Many thanks in advance,
Arjan
I am using the latest RTOS SDK. My environment is setup correctly. I am able to compile, link and upload non-OTA firmware.
While compiling with the code "if (system_upgrade_start(update) == false)", I get the following error :
user_main.c:678: undefined reference to `system_upgrade_start'
There is no libupgrade provided with the RTOS SDK. Which other lib must be used?
Many thanks in advance,
Arjan
Re: RTOS SDK : undefined reference to `system_upgrade_start'
Postby pratik » Wed Jul 06, 2016 1:37 am
Hello,
There is a file called "upgrade.h", which contains definitions related to what you are possibly trying to do. Let me know if adding that solves your problem.
There is a file called "upgrade.h", which contains definitions related to what you are possibly trying to do. Let me know if adding that solves your problem.
- raspberrypidmx
- Posts: 15
- Joined: Wed Apr 27, 2016 6:15 am
- Contact:
Re: RTOS SDK : undefined reference to `system_upgrade_start'
Postby raspberrypidmx » Wed Jul 06, 2016 1:44 am
Hi Pratik,
I have a link error and not a compile error. The <upgrade.h> is already included.
In which library is system_upgrade_start() provided?
Thanks, Arjan
I have a link error and not a compile error. The <upgrade.h> is already included.
In which library is system_upgrade_start() provided?
Thanks, Arjan
Re: RTOS SDK : undefined reference to `system_upgrade_start'
Postby Her Mary » Mon Jul 11, 2016 9:42 am
You can refer to this demo of RTOS SDK. There is a folder "upgrade" https://github.com/espressif/ESP8266_IOT_PLATFORM
Who is online
Users browsing this forum: No registered users and 286 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.