Thomas Buck 70ae088d4c some work on firmware and 3d design | 2 years ago | |
---|---|---|
.. | ||
include | 2 years ago | |
pico-sdk @ 2e6142b15b | 2 years ago | |
src | 2 years ago | |
CMakeLists.txt | 2 years ago | |
README.md | 2 years ago | |
debug.sh | 2 years ago | |
flash.sh | 2 years ago |
For use with Raspberry Pi Pico boards.
Adapted from the dev_hid_composite
pico-example from GitHub, as well as the tinyusb-cdc-example from GitHub.
Supports PMW3360 optical mouse sensors.
When compiling for the first time, check out the required git submodules.
git submodule update --init
cd pico-sdk
git submodule update --init
Then do this to build.
mkdir build
cd build
cmake ..
make trackball
And flash the resulting trackball.uf2
file to your Pico as usual.
For convenience you can use the included flash.sh
, as long as you flashed the binary manually once before.
make trackball
../flash.sh trackball.uf2
For debugging a serial port will be presented by the firmware.
Open it using eg. picocom
, or with the included debug.sh
script.