3354 views|3 replies

1236

Posts

66

Resources
The OP
 

[Raspberry Pi Pico Review] C/C++ Development Environment Construction [Copy link]

 

In addition to supporting MicroPython development environment, Raspberry Pi Pico also supports C/C++ development environment. According to the official document getting-started-with-pico, I have never been successful in setting up C/C++ development environment under Windows. I have tried VScode and Clion, but both failed. Finally, I succeeded under Ubuntu. I installed Clion on my Ubuntu, and it was easy to succeed according to the tutorial. The main commands used are as follows:

cd ~/
mkdir pico
cd pico
git clone -b master https://github.com/raspberrypi/pico-sdk.git
cd pico-sdk
git submodule update --init
cd ..
git clone -b master https://github.com/raspberrypi/pico-examples.git
sudo apt update
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
sudo apt install libstdc++-arm-none-eabi-newlib

Set the clion environment variable PICO_SDK_PATH. Compile a hello_usb example and use the cdc serial port output:

This post is from Innovation Lab

Latest reply

At this time, the Linux environment is more useful!   Details Published on 2021-3-31 12:50

赞赏

1

查看全部赞赏

 
 

1662

Posts

0

Resources
2
 

Why didn't it work under Windows?

This post is from Innovation Lab

Comments

Environment variable problem, I don't understand  Details Published on 2021-3-29 18:54
 
 
 

1236

Posts

66

Resources
3
 
Hot Ximi Show published on 2021-3-28 20:52 What is the reason for failure under Windows?

Environment variable problem, I don't understand

This post is from Innovation Lab
 
 
 

1942

Posts

2

Resources
4
 

At this time, the Linux environment is more useful!

This post is from Innovation Lab
 
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list