Bad workspace_loc ?

⚠️
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 https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
KWolfe81
Offline
Last seen: 1 year 4 months ago
Joined: 2019-10-14 20:56
Bad workspace_loc ?

Where/how does the environmental variable workspace_loc get set in SmartSnippet?  I'm getting an error running External Tools that it can't find the working directory.

Background:

I'm standing up my build environment for the first time.  I've installed SmartSnippet Studio & the Toolbox and am compiling code fine.  

Following the Getting Started guide, I was able to program RAM through SmartSnippet no problem.  When I went to program the SPI Flash, I found my 'External Tools' menu option empty.  Following the support given on the link below, I was able to import the External Tools successfully.

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-42-%C2%A0%E2%80%93-tools/empty-external-tools-smartsnippet

The tools are now listed in SmartSnippet, however, going to run them, I encounter an error indicating the Working Directory for the Tool isn't correct (see attached image).  Changing the working directory to an absolute path causes the tools to work as expected.

Attachment: 
Device: 
KB_Dialog
Offline
Last seen: 4 weeks 1 day ago
Staff
Joined: 2020-01-20 09:45
Hi Kwolfe81,

Hi Kwolfe81,

The variable"workspace_loc" is automatically set based on the intall - you shouldn't have to set it as an enviroment variable.

What does your install path look like?
When you start SSStuido did you select the SDK root folder? - i.e. C:\Users\KB_Dialog\SDK\SDK_10.0.8.105
Can you also confirm the version of SSStudio and SDK you are using please.

BR,

KB_Dialog

KWolfe81
Offline
Last seen: 1 year 4 months ago
Joined: 2019-10-14 20:56
SSStudio is installed to:

SSStudio is installed to:

   D:\Dialog\SmartSnippets\SmartSnippetsStudio2.0.14

My workspace is currently also my SDK Root folder (is there a way to separate them?):

   D:\Dialog\SDK_10.0.8.105

The version of SSStudio is 2.0.14.1748 & SDK is 10.0.8.105.

KevinL
Offline
Last seen: 1 year 5 months ago
Staff
Joined: 2017-11-06 13:52
Hi KWolfe81,

Hi KWolfe81,

Before download, please click DA1469x-00-Debug_QSPI folder on the SSStudio project exploer window.

 

BR,

Kevin