Hardware Emulated TTX4 IO
  • C 86.6%
  • CMake 10%
  • Python 3.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-06-17 21:21:07 -05:00
src got the template to build now 2024-06-17 21:19:05 -05:00
.gitignore cleanup 2023-01-26 15:26:44 -06:00
CMakeLists.txt got the template to build now 2024-06-17 21:19:05 -05:00
dev_lowlevel_loopback.py got the template to build now 2024-06-17 21:19:05 -05:00
LICENSE Initial commit 2022-06-12 21:34:43 -05:00
pico_sdk_import.cmake cleanup 2023-01-26 15:26:06 -06:00
README.md got the template to build now 2024-06-17 21:21:07 -05:00

pico-ttx4

Hardware Emulated TTX4 IO

This currently will look exactly like the TTX4 USB input device I reversed here. At least, according to the linux tool lsusb.

Build instructions

  1. Install CMake (at least version 3.13), and GCC cross compiler Debian:
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi

Arch:

sudo pacman -S --noconfirm arm-none-eabi-gcc arm-none-eabi-newlib arm-none-eabi-binutils cmake gcc
  1. Download the pico-sdk and set the PICO_SDK_PATH environment variable. Also set the variable in your .bashrc, .zshenv, or even /etc/environment for future use.
git clone https://github.com/raspberrypi/pico-sdk
cd pico-sdk
git submodule update --init
export PICO_SDK_PATH=$PWD
cd ..
  1. Clone and build this repository
git clone https://github.com/Drewol/rp2040-gamecon
cd rp2040-gamecon
mkdir build
cd build
cmake ..
make
  1. Upload the pico-ttx4.uf2 that was created in your build directory to the pico device by mounting the partition (see script below):

  2. Find the disk to mount:

    sudo mkdir /mnt/pico
    sudo mount `sudo fdisk -l | grep 'W95 FAT16' | awk '{print $1}'` /mnt/pico
    sudo cp pico-ttx4.uf2 /mnt/pico