Skip to content

Instantly share code, notes, and snippets.

@DNA64
DNA64 / LCD-Game-Shrinker-Guide.md
Last active April 24, 2023 06:43
LCD-Game-Shrinker-Guide

LCD-Game-Shrinker

LCD-Game-Shrinker is a program that shrinks MAME high-resolution artwork and graphics for portable devices running LCD-Game-Emulator. You can read more on the projects GitHub page: https://github.com/bzhxx/LCD-Game-Shrinker

When creating this guide I used the FREE Oracle VM VirtualBox with Ubuntu 20.0.4.2 LTS running under Windows 10. This is a great way to get a build environment set up quickly.

Speaking of which, I've made a script called lcdsetup.sh that automates upto and including Step 6 if you prefer which you can download here

Before we continue it's important that you make sure Ubuntu is updated or you'll be installing old outdated packages and get errors.

@abobija
abobija / esp-idf-on-wsl2.md
Last active April 13, 2024 04:57
ESP-IDF on WSL2 - Build, Flash and Monitor

ESP-IDF on WSL2 - Build, Flash and Monitor ⚡

Demo

How to setup ESP-IDF on WSL2 Ubuntu 20.04 - Config, Build and Flash

Intro

WSL2 still does not support USB devices, but with a little effort we can make possible to flash and monitor ESP device from WSL2.

@TG9541
TG9541 / Openocd.md
Last active March 15, 2024 13:36
Test run with stm8-gdb and openmcd

Experiments with OPENOCD and GDB for the STM8

Attempts to support the STM8 with OPENOCD, a standard hardware debugger front-end, and GDB, the GNU Debugger, was a long while in the making. Both OPENOCD and GDB are powerful tools that are often packaged by tool vendors (integrated in a turnkey IDE) or independently used by a community advanced users. Usuage examples for µCs often barely scratch the surface, don't mention testing procedures, modes of operation, or which features are supported.

Here is a list of features that worked so far:

  • flashing a binary in ELF format to an STM8S003F3P6
  • running, interrupting and continuing execution
  • setting breakpoints
  • reading registers