VScode error in using sample application

"Create a new application" -> "Copy a Sample" -> "BLE Central UART"

I get this error:

Cannot copy 'c:\NordicSDKfiles\v2.4.1\nrf\samples\bluetooth\central_uart' to a subdirectory of itself, 'c:\NordicSDKfiles\v2.4.1\nrf\samples\bluetooth\central_uart\central_uart'.
Parents
  • Based on the error message, it seems you are trying to copy the folder and paste into its subfolder. If the OS allows your copy operation, I believe the folder `central_uart` will be copied recursively and your hard drive will be filled within several minutes. Can you try to copy the folder to somewhere else?

    e.g. Create a new folder called `Tutorials` under the `c:\NordicSDKfiles` when the VSCode asks for your target location. You can use `c:\NordicSDKfiles\Tutorials` as the destination. 

    GL HF

Reply
  • Based on the error message, it seems you are trying to copy the folder and paste into its subfolder. If the OS allows your copy operation, I believe the folder `central_uart` will be copied recursively and your hard drive will be filled within several minutes. Can you try to copy the folder to somewhere else?

    e.g. Create a new folder called `Tutorials` under the `c:\NordicSDKfiles` when the VSCode asks for your target location. You can use `c:\NordicSDKfiles\Tutorials` as the destination. 

    GL HF

Children
No Data
Related