The most possible reason for this error is because the setup doesn't generate the linker scripts in order for the make to complete the build, before the actual build occurs, eclipse will have to generate the linker scripts from the mem.ld.h file and construct a mem.ld file in the build folder. In your case, the file is never built and as a result the tool is not able to find the mem.ld file. This can be due to a number of reasons, like the makefile.targets file isn't in the project directory, or a missing configuration etc. It seems that either the installation of the Smart Snippets has issues, or you haven't properly imported the projects. Be aware that the SDK along with the Smart Snippets tool should operate out of the box without any additional configuration. Since you have correctly installed the tool, all the projects should compile out of the box.5,
Uninstall completely the SmartSnippets studio from the control panel and try to re-install it.
Let’s move the SDK out the C:/Users location – I’ve seen this cause issues with administrative rights. For example, move a fresh SDK located here at the following without any spaces: C:\Dialog\SDK_1.0.14. The workspace that is currently been using is the “Work Space For DA” - I’d suggest you to remove the spaces.
Unzip a fresh SDK in your new workspace. Since it’s a fresh SDK, the root folder should not contain the .metadata. If it exists, delete any .metadata that was created within the project directory to start a new workspace.
Open the Smart Snippets Studio again and you can select a generic workspace
In the “Project Explorer”, you should include the “scripts” project as well from your SDK root directory. Also, I would suggest you to read section 4.2 from theUM-B-057 SmartSnippets Studio User Manual.
Hi Johnlin325,
Can you please indicate which file is messing? I am not able to see the whole path.
Thanks, PM_Dialog
Hi Dialog,
You meaning my Error items or my project files?
below is my errors code
Attached my IDE screen.
Hi Johnlin32
The most possible reason for this error is because the setup doesn't generate the linker scripts in order for the make to complete the build, before the actual build occurs, eclipse will have to generate the linker scripts from the mem.ld.h file and construct a mem.ld file in the build folder. In your case, the file is never built and as a result the tool is not able to find the mem.ld file. This can be due to a number of reasons, like the makefile.targets file isn't in the project directory, or a missing configuration etc. It seems that either the installation of the Smart Snippets has issues, or you haven't properly imported the projects. Be aware that the SDK along with the Smart Snippets tool should operate out of the box without any additional configuration. Since you have correctly installed the tool, all the projects should compile out of the box.5,
Thanks, PM_Dialog
Hi Dialog,
Thanks your reply, I have done the build project and no error.
but I can not find any list in "External tool"
Note: I refer this steps.https://support.dialog-semiconductor.com/resource/starting-project-html
Thank you
Hi Johnlin325,
In the “Project Explorer”, you should include the “scripts” project as well from your SDK root directory. Also, I would suggest you to read section 4.2 from theUM-B-057 SmartSnippets Studio User Manual.
Thanks, PM_Dialog