This is a simple blinky starter project for Raspberry Pi Pico W that uses FreeRTOS
Clone Pico SDK and inside the cloned SDK directory run git submodule update --init
to init all submodules
Clone FreeRTOS Kernel
Pico SDK should be present in the machine and it's path should be used as an environment variable as PICO_SDK_PATH
pointing to the cloned Pico SDK dir
FreeRTOS-Kernel should be present in the machine and it's path should be used as an environment variable as FREERSTOS_KERNEL_PATH
pointing to the cloned FreeRTOS-Kernel dir
These environment variable should be used when calling CMake
or defined in VSCode(RECOMENDED) using this setup that uses the CMake Tools
extension.
To rename the project simply open the root CMakeLists.txt
and change project(pico_freertos C CXX ASM)
to project(your_project_name C CXX ASM)
.
After building, your binary will be under build/src/src.uf2
. Take the src.uf2
and push it you Pico W with BOOTSEL
.
NOTE: The setup video mentioned before should show you how to build on VS Code.
Inspired by the Learn Embedded Systems video series on YouTube.