Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

Anonymous
Not applicable

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.

0 Likes
1 Solution
Anonymous
Not applicable

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.

View solution in original post

0 Likes
6 Replies
Anonymous
Not applicable

Have you modified makefile.mk?

0 Likes
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

How about adding thread_and_mem_mgmt.a?

0 Likes
Anonymous
Not applicable

>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".

0 Likes
Anonymous
Not applicable

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.

View solution in original post

0 Likes
Anonymous
Not applicable

Thank you very much, dmiya!

I could resolve this problem!

0 Likes