This guide will help you host an APT repository on Github.
You need to install the following packages.
- reprepro
| # /etc/udev/rules.d/99-pico.rules | |
| # Make an RP2040 in BOOTSEL mode writable by all users, so you can `picotool` | |
| # without `sudo`. | |
| SUBSYSTEM=="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="0666" | |
| # Symlink an RP2040 running MicroPython from /dev/pico. | |
| # | |
| # Then you can `mpr connect $(realpath /dev/pico)`. | |
| SUBSYSTEM=="tty", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0005", SYMLINK+="pico" |
|
You'll probably be working with a single smartcard, so you'll want only one primary key ( |