-
1Setting up the Retropie ImageSo after all the soldering is done, that's where the fun begins
Here's a summary of what needs to be done to get you up and running with the PiCardo.- Download Raspberry Pi Imager
- Insert your MicroSD card
- Open Imager and select Pi Zero 2 W and Emulators and Gaming and then Retropie 4.8 for the Zero 2 W
- After flasing but before removing the SD card, navigate to it on your computer and add an empty file called SSH
- Edit the cmdline.txt file with: modules-load=dwc2,g_ether after rootwait.
- Edit the config.txt file with: dtoverlay=dwc2
- The last two steps will setup your Pi as a gadget
- Now connect the USB otg port to your computer and ssh to the pi using pi@retropie.local
- Once you get in, phase one is complete.
-
2Setting up the screen and inputs
Next we have to setup the screen
- Clone the fbcp-ili9341 library to your home/pi/ directory and follow the instructions on the repo. https://github.com/juj/fbcp-ili9341 The key line thats used for this device is: cmake -DILI9341=ON -DGPIO_TFT_DATA_CONTROL=11-DGPIO_TFT_RESET_PIN=25 -DSPI_BUS_CLOCK_DIVISOR=6 -DSTATISTICS=0 ..
- Once thats done we need to use Adafruit's retrogame repo to configure the buttons to keys and then map those keys to Retropie (one https://github.com/adafruit/Adafruit-Retrogame.git
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.