In this repo is an example project for an blinky led project using different hardware and firmware components.
Hardware Edgy Boards
Firmware Kvasir
- Chip specific code for the RP2040
- Kvasir SDK
- optional J-Link for reading debug messages
If you want to compile the project there are some prerequisites to install before compiling:
llvm cmake lld git make gcc fmt
nlohmann-json pugixml clang python
python-intelhex boost base-devel inja
jlink-software-and-documentation
A second approach is to use the Dockerfile which is included in the Kvasir Dockerfile submodule Folder.
mkdir build
cd build
cmake ..
make
Using a JLink:
- Using the WSL and a USB connection just use JLink Remote Server
dont forget to configure the WSL IP with
ccmake .
make flash_blinky
To make use of the debug log
make flash_debug
make log_debug
- connect the dev board while holding the push button
- take the
blinky_flash.uf2
and copy it into therpi-rp2
drive - now the pi should automatically restart and the board is flashed