Learn MoreFAQsTutorials

6 posts / 0 new
Last post
Johnlin325
Offline
Last seen:6 months 2 weeks ago
加入:2019-10-10 04:00
Building problem

Hi Dialog,

I using development tool of DA14683-00A9DEVKT-U. I don't why I always met this problem when build project.

No matter I use MESH SDK or SKD 1.0.14

Thank you

Attachment:
Device:
PM_Dialog
Offline
Last seen:6 hours 4 min ago
Staff
加入:2018-02-08 11:03
Hi Johnlin325,

Hi Johnlin325,

Can you please indicate which file is messing? I am not able to see the whole path.

Thanks, PM_Dialog

Johnlin325
Offline
Last seen:6 months 2 weeks ago
加入:2019-10-10 04:00
Hi Dialog,

Hi Dialog,

You meaning my Error items or my project files?

below is my errors code

  • *cannot open linker script file D:*\DA1468x_DA15xxx_SDK_1.0.14.1081\projects\dk_apps\demos\ble_adv/DA14683-00-Release_QSPI/mem.ld: Invalid argument
  • make: *** [ble_adv.elf] Error 1
  • make[1]: *** No rule to make target `mem.ld', needed by `generate_ldscripts'. Stop.

Attached my IDE screen.

Attachment:
PM_Dialog
Offline
Last seen:6 hours 4 min ago
Staff
加入:2018-02-08 11:03
Hi Johnlin32

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,

  1. Uninstall completely the SmartSnippets studio from the control panel and try to re-install it.
  2. 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.
  3. 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.
  4. Open the Smart Snippets Studio again and you can select a generic workspace

Thanks, PM_Dialog

Johnlin325
Offline
Last seen:6 months 2 weeks ago
加入:2019-10-10 04:00
Hi 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

Attachment:
PM_Dialog
Offline
Last seen:6 hours 4 min ago
Staff
加入:2018-02-08 11:03
Hi Johnlin325,

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