Visual Studio IDE C++ development with Raspberry Pi Pico ?

Mr Kaktus 16 Reputation points
2021-11-23T23:54:00.17+00:00

Hi,

I know that there is package "C++ for Linux Development" that when installed, allows development of Raspberry Pi applications, and their remote debugging.
But that functionality works only with fully featured Pi platforms that have internet conection, and thus can be remotely conected for deployment and debugging.
What I don't know how to do, is how to setup such remote deploy and debug functionality on Pi Pico board, which shows up in the system as USB Serial Device (on COM5 or similar).
Any hints on how to setup C/C++ development environment for Raspberry Pi Pico would be greatly appreciated !

(PS: I know people use Visual Studio Code editor, but I prefer proper Visual Studio IDE for work).

Thanks,
Karol

Developer technologies C++
{count} vote

3 answers

Sort by: Most helpful
  1. Petrus 【KIM】 546 Reputation points
    2021-11-25T02:33:08.083+00:00

    Modify your Visual Studio.
    152386-image.png

    Then you can find the template for Raspberry PI.
    152360-image.png

    REF
    https://visualgdb.com/tutorials/raspberry/pico/

    2 people found this answer helpful.
    0 comments No comments

  2. Mr Kaktus 16 Reputation points
    2022-04-21T22:03:18.637+00:00

    Hi,

    Getting back to this question (was occupied with different project unfortunately).

    From what I see both answers are invalid.

    I'm asking about "Raspberry Pi Pico" which doesn't have Linux on board.
    It's programmable controller, someting closer to ATMEGA I think.

    Based on this tutorial:
    https://www.tomshardware.com/how-to/raspberry-pi-pico-setup

    I see that it is possible to upload MicroPython interpreter to the device,
    and then use Thonny IDE, to upload and run Python programs on it.

    It doesn't have any run-time debugging and code stepping though, and it's still python.

    Thus I'm searching for solution for C++ and ideally one working from within Visual Studio.

    2 people found this answer helpful.
    0 comments No comments

  3. Stefan Zwaal 1 Reputation point
    2022-07-09T14:07:42.167+00:00

    Hi.

    I have not been able to find the link with Visual Studio itself, but with GCC you can use the Pico C++ SDK:
    https://github.com/raspberrypi/pico-sdk

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.