2 posts / 0 new
Last post
ankitdaf
Offline
Last seen:2 years 8 months ago
加入:2015-09-03 20:14
Scatterfile warning

Hi

I am using the barebone project and I wanted to make some changes to arch_main , so I made a copy of it in my project, removed the SDK file from the Keil project structure and added mine.
I get the following warning message when creating the build.

Is this important ? How can I fix it ? The code seems to work when in debug mode

.\..\..\..\..\..\sdk\common_project_files\scatterfiles\scatterfile_common.sct(490): warning: L6314W: No section matches pattern arch_main.o(BLE_exchange_memory).

Device:
MT_dialog
Offline
Last seen:4 weeks 1 day ago
Staff
加入:2015-06-08 11:34
Hi ankitdaf,

Hi ankitdaf,

The warning indicates that you have an area in your scatterfile named BLE_exchange_memory but the linker can't find any data in your code with that tag in order to place in that area. Check in the arch_main.c file if there is an array called descript[EM_SYSMEM_SIZE] that should have attributeBLE_exchange_memory, the purpose of that array is to fill the space of that particullar memory in order nothing to be placed there accidentally. It has no critical usage.

Thanks MT_dialog