ncs 2.7.0 toolchain installation does not work

hello Nordic

trying to migrate from ncs 2.5.0 to 2.7.0

well i did the mistake of installing the toolchain via the vs code .. for some reason it installed it in the wrong directory .. then i did an uninstall and try to install it like i always did via the nrfconnect desktop application but when i try to do it now i get this error:

There are multiple errors:
Failed to clone the repositories: Error: FATAL ERROR: already initialized in /home/ziv/workspace/ncs, aborting. Hint: if you do not want a workspace there, remove this directory and re-run this command:

/home/ziv/workspace/ncs/.west Error: Launched process exited with non-zero status: 1

Error: FATAL ERROR: already initialized in /home/ziv/workspace/ncs, aborting. Hint: if you do not want a workspace there, remove this directory and re-run this command:

/home/ziv/workspace/ncs/.west Error: Launched process exited with non-zero status: 1

any idea how i can fix this issue

could the wrong installation directory caused me to fail on compilation and getting undefined on some function calls ?

p.s. On vs code after i try to uninstall and change installation directory i get this error: the argument '--install-dir <PATH>' cannot be used multiple times Usage: nrfutil toolchain-manager install [OPTIONS] <--ncs-version <VERSION>|--toolchain-bundle-id <HASH>|--toolchain-bundle <PATH>> For more information, try '--help'.

could the toolchain initial wrong installation directory cause me to fail on compilation and get ‘undefined’ on some function calls ? i actually don't think so cause tried with toolchain 2.6.1 which is installed on the right directory and still get the undefined issue  (Missing Forum Thread) 

Any ideas ?

hope to read from you soon

best regards

Ziv

Related