Skip to content

Instantly share code, notes, and snippets.

View Fede-26's full-sized avatar
Currently drinking coffee and learning what is a monad

Federico Zotti Fede-26

Currently drinking coffee and learning what is a monad
View GitHub Profile
@Fede-26
Fede-26 / make-modules.sh
Last active September 24, 2024 15:13
Build cdc-acm, usbserial and uvc USB kernel modules for MuOS on Anbernic RG35XX-H / Plus
#!/usr/bin/env sh
# Build cdc-acm USB and V4L2 kernel modules for Anbernic RG35XX-H / Plus
# Inspired by https://gist.github.com/mnml/12f75bbf16eac4def15ba72cf1b11926
echo "[##] Downloading kernel"
wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.170.tar.gz
echo "[##] Unzipping kernel"
tar xzf linux-4.9.170.tar.gz
cd linux-4.9.170