This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to move project outside SDK12.2 directory with uVision5 ?

Hello,

I would like to move the SDK12.2 template example project out of SDK12.2 installation directory. How can I do that using uVision5?

I tried to change all the reference to the SDK to the new relative location in the .uvprojx + in the file tree. It was a bit annoying but I managed to compile. What is the better way to do that ?

When I try to upload the .hex with the download button I get this error: "No ULINK2/ME Device found" and

Load "C:\\fichier\\ezzzz\\GIT\\openssss\\keil\\nRF52_SDK12.2\\openSWISS_ble_app_uart_RL_SDK12.2\\pca10040\\s132\\arm5_no_packs\\_build\\nrf52832_xxaa.axf" 
Internal DLL Error
Error: Flash Download failed  -  Target DLL has been cancelled

Thanks for your help.

  • I am borrowing the symlink code from this repo

    I like the directory structure it gives, but my IDE is SES

  • For the second point of the question : option->debug for target was with wrong configuration. I don't know why it changes when I moved but right configuration is like that:

    image description

    image description

  • I don’t think there is a better way to move the project. I would recommend to try to keep structure of the SDK. If you need to access your project more “easily” you could just create a shortcut to the project and place it wherever you like.