This project is designed to be a straightforward alternative system for Raspberry Pi GPIO headers, offering pin-to-pin compatibility with the Raspberry Pi.
If you possess idle Raspberry Pi HATs, you can utilize this board to operate them.
GP23, 24, and 25 are not accessible on the Raspberry Pi Pico as they are not lead out.
On this board, They have been marked with the "NC" label.
We have enabled it by default due to its superior performance compared to the SPI controller. This also means that the pio0
block is used.
Why call it reassigned?
Well. The default debug UART on the Raspberry Pi is assigned to GPIO 14 and 15. However, on the Raspberry Pi Pico, GPIO 14 and 15 do not support UART functions. Therefore, we utilize a uart_tx
PIO library to remap TX function to GPIO 14, and the pio1
block is reserved for this library. If UART debug is not required, it can be disabled by setting the UART_TX_ENABLE
macro to 0.
The default CMake settings are configured to build the rpi_dm_yt350s006
Raspberry Pi Display HAT example.
Caution
The default cmake configuration comes with overclocking, use at own risk.
Build for the Raspberry Pi Pico:
mkdir build && cd build
cmake .. -G Ninja
ninja && ls -lh src/rp2040-freertos-template.uf2
Build for the Raspberry Pi Pico2:
mkdir build_pico2 && cd build_pico2
cmake -DPICO_BOARD=pico2 .. -G Ninja
ninja && ls -lh src/rp2040-freertos-template.uf2
Hold down the BOOTSEL button on the Raspberry Pi Pico and connect it to your computer via USB.
cp src/rp2040-freertos-template.uf2 /media/$USER/RPI-RP2/