The Low Power Badger runs the RP2040 at a slow clock and turns off unused clock domains to minimize power usage. It also provides a wrapper around flash storage to allow state to be preserved over system halt.
Current programs are:
- badger-image A modified version of the original Pimoroni badger image example
- badger-count A counter using the persistent flash storage
- badger-connect A game of Connect 4
This repo has the pimoroni-pico repo as a submodule. To set that up do
git submodule update --init --recursive
As normal do
mkdir build
cd build
cmake ..
It is best not to run make in the top level directory as that will build the whole of the pimoroni-pico repo. Instead change to the directory if the individual program you want to run and build it there, eg:
cd badger-image
make -j4