This is a tamagotchi project (hence name) to try to build from scratch, based on the raspberry pi pico w
It depends on the pico sdk and pico-extras. Since version 2.0.0 of the pico sdk it also depends on having picotool installed. Here we assume they were cloned at the same level as this repository.
- Install CMake (at least version 3.13), and GCC cross compiler
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib
- Usual build instructions
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DPICO_BOARD=pico_w
make
tamago.elf
can be loaded via a debugger, ortamago.uf2
can be dragged and dropped holding bootsel button when plugging the pico
-
To get the source files to display they must first be converted to a 4 bits color scale (16 colors) bmp (using gimp: Image > Mode > Indexed)
-
Then convert the images to header files using for example bmp2src and convert using
sh bmp2src image.bmp > image.h