Skip to content

exploiitm/FV-RTOSC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FV-RTOSC

Dependencies

Clone the pico-sdk repository alongside the project directory

git clone https://github.com/raspberrypi/pico-sdk.git --branch master
cd pico-sdk
git submodule update --init
cd ..

For building the projects you'll need CMake and ARM GNU Toolchain

Arch Linux

sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib cmake

Building

This project has been tested only for the Raspberry Pi Pico 2W. For other boards modify the DPICO_BOARD option.

You need to set the PICO_SDK_PATH environment variable.

mkdir build
cd build
export PICO_SDK_PATH=../../pico-sdk
cmake -DPICO_BOARD=pico2_w ..
make

For LSP Support (clangd)

Pass DCMAKE_EXPORT_COMPILE_COMMANDS=ON to CMake and link compile_commands.json to project root.

mkdir build
cd build
export PICO_SDK_PATH=../../pico-sdk
cmake -DPICO_BOARD=pico2_w -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
cd ..
ln -sf build/compile_commands.json compile_commands.json

Setting Up OpenOCD (debug support)

Clone the OpenOCD repository

git clone https://github.com/raspberrypi/openocd.git
cd openocd
./bootstrap
./configure
make
sudo make install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published