Skip to content

racka98/PicoW-MQTT-C

Repository files navigation

Raspberry Pi Pico W FreeRTOS Starter - In C

This is a simple blinky starter project for Raspberry Pi Pico W that uses FreeRTOS

Important Setup

  • 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.

Project Rename

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).

Outputs

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.

HAPPY CODING & TINKERING

Inspired by the Learn Embedded Systems video series on YouTube.

About

Raspberry Pi Pico W using FreeRTOS & coreMQTT in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published