- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I copied ws_sec_upgrade_ota.c to my application based on WICED Smart BCM92073X OTA Firmware Upgrade (1) to use OTA upgrade.
However, when I compile my application through Make Target, the console indicates "undefined reference to ''blecm_DidStackOverflow".
It indicates ble_trace1("StackOverflow3:%d\n", blecm_DidStackOverflow());.
I didn't edit ws_sec_upgrade_ota.c at all.
Why this happens?
Of cause, ws_sec_upgrade_ota.c includes thread_and_mem_mgmt.h.
Please tell me what to do.
Solved! Go to Solution.
- Labels:
-
Over The Air Upgrades - OTA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to add following line I think.
APP_PATCHES_AND_LIBS += thread_and_mem_mgmt.a
Please check makefile.mk in ota_secure_firmware_upgrade carefully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you modified makefile.mk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your response, dmiya.
>Have you modified makefile.mk?
Yes, I modified my application's makefile.mk.
I added ws_sec_upgrade_ota.c, we_upgrade.c and rsa_pub.c after application_db.c and application.c like following:
APP_SRC = application_db.c application.c ws_sec_upgrade_ota.c ws_upgrade.c rsa_pub.c.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How about adding thread_and_mem_mgmt.a?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>How about adding thread_and_mem_mgmt.a?
Should I add this like following?
APP_SRC = application_db.c application.c ws_sec_upgrade_ota.c ws_upgrade.c rsa_pub.c thread_and_mem_mgmt.a
After I added thread_and_mem_mgmt.a like above, console indicates "No rule to make target".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to add following line I think.
APP_PATCHES_AND_LIBS += thread_and_mem_mgmt.a
Please check makefile.mk in ota_secure_firmware_upgrade carefully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much, dmiya!
I could resolve this problem!