暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Thomas Buck 3902f240d5 continue work on firmware. added debug console. pmw irq counters. 1年前
..
include continue work on firmware. added debug console. pmw irq counters. 1年前
pico-sdk @ 2e6142b15b first skeleton of firmware 1年前
src continue work on firmware. added debug console. pmw irq counters. 1年前
CMakeLists.txt continue work on firmware. added debug console. pmw irq counters. 1年前
README.md firmware with USB CDC and HID. PMW3360 driver started, not working yet. 1年前
debug.sh continue work on firmware. added debug console. pmw irq counters. 1年前
flash.sh continue work on firmware. added debug console. pmw irq counters. 1年前

README.md

RP2040 Trackball Firmware

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.

Quick Start

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.