I wish I had found this video when I started with the Pico. It took me some time to understand how best to structure the project and the roles of the control files for CMake. I hope you find this video useful.
All of the code for this video is included on GitHub. You can clone it to your environment with the command:
git clone https://github.com/jondurrant/RPIPicoBasics
To build the project we go through the steps:
cd 1-PicoFlash
mkdir build
cd build
cmake ..
make
On windows use ninja instead of make,
I’ve got a course that drill into the setup of the toolchain for your Pico and your development environment. It covers Windows, Mac, Raspberry PI and Linux desktops. Take a look at Udemy.
⏰Timestamps
- 00:00 Introduction
- 02:08 Project Folder
- 07:22 CMakeLists.txt Files
