SmartSnippets Studio v2.0.8 build fail

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
REEASD
Offline
Last seen:1 year 9 months ago
加入:2019-07-15 04:05
SmartSnippets Studio v2.0.8 build fail

Dear Dialog :

This is the first time i use the DA14699, i read 《User Manual DA1469x Getting Started Guide with the Development Kit》,but when i get the step :Build the project to run from RAM,I get a error:

"Description Resource Path Location Type
cannot open linker script file C:\Work Space For DA\projects\dk_apps\demos\ble_adv/DA1469x-00-Debug_RAM/mem.ld: Invalid argument ble_adv C/C++ Problem",

I don't know where I went wrong.

Device:
PM_Dialog
Offline
Last seen:19 hours 37 min ago
Staff
加入:2018-02-08 11:03
Hi REEASD,

Hi REEASD,

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. In addition, this kind of error that you are seeing, might be related with your workspace. To do so, I would recommend you try the following procedure step by step:

  1. Uninstall completely the SmartSnippets studio from the control panel and try to re-install it. Please follow step-by-step the section 1 SmartSnippets™ Installation in theUM-B-057 SmartSnippets Studio User Manual
  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_10.0.4.66. 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
  5. Project Explorer应该是空白的。
  6. Right click into the Project Explorer and navigate to:
    1. 不rt…
    2. General / Existing Projects into Workspace
    3. Press Next>
    4. From the Select root directory browse to C:\Dialog\SDK_10.0.4.66
    5. Deselect all the projects and select only the ble_adv and the python_scripts. After that press finish
  7. With freertos_retarget selected, just click to the DA1469x-00-Debug_RAM

Thanks, PM_Dialog

RvA
Offline
Last seen:2 weeks 18 hours ago
Staff
加入:2014-02-07 14:10
Thanks, moving the SDK to a

Thanks, moving the SDK to a location without the spaces did the trick for me..