Skip to the content
4 layers25.4 × 25.4 mmPmic, the printed circuit board in 3D

This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

Size
25.4 × 25.4 mm
Copper layers
4
Thickness
1.6 mm
Parts
52
Nets
38
Pads
191
Tracks, vias
658, 115
Pours
5
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
4 Jan 2024
Updated
4 Nov 2026

Overview

Pmic is an open-source printed circuit board by jncronin, from the jncronin/gk repository on GitHub. It is a 4-layer board of 25.4 × 25.4 mm with 52 parts on 38 nets, routed with 658 tracks and 115 vias.

It is built around the STPMIC25BPQR. Its parts include 41 capacitors, 7 inductors, 2 ICs, 1 resistor and 1 diode.

Main components

1

README

README.md

gk and gkos

This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

gkv4 represents a significant upgrade over the original gk with improved speed, a bigger screen, more gamepad buttons and hardware-accelerated 3D rendering.

Videos of the gkv4 in action

An image of the gk showing its menu screen

Overview

gkv4 is a small, battery powered handheld gaming console running on a STM32MP2 MPU (dual Cortex-A35 cores with additional Cortex-M33 core). It runs a custom OS called gkos which allows near-instantaneous (MCU-like) cold boot times but is powerful enough to run most POSIX userspace applications. See https://github.com/jncronin/gk-userland for the userland support including cross GCC toolchains and useful libraries. https://github.com/jncronin/gk-repo contains all the userspace code including ports of various emulators, games and utilities.

Game/emulator support:

  • Mednafen for NES, SNES, SMS, MD and Lynx support
  • Hatari for Atari ST
  • PCSX_rearmed for PS1
  • Mupen64plus (see fork at https://github.com/jncronin/mupen64-combined) for N64 (GPU-accelerated)
  • Atari++ for Atari XL
  • DOSBox-X (achieves 25000 cycles/second, 199561 parrots, 74 XT on speedtst.com, roughly 486 50 MHz equivalent)
  • Native ports of:
    • Neverball/neverputt (GPU-accelerated with tilt support)
    • Tuxracer (GPU-accelerated)
    • Doom (sdl2-doom)
    • Quake (ChocolateQuake)
    • Descent (ChocolateDescent)
    • koules

Hardware Specifications

PCBs, schematics and case STL files are available in https://github.com/jncronin/gk/tree/main/gk-pcbv4.

  • STM32MP255D processor with variable clock rate (defined on a per-game basis). Debug and trace ports exposed.
  • LPDDR4 RAM (1 GiB in current version)
  • Lithium ion battery (10,000 mAH in current version) with USB-C charging via BQ25601, state of charge monitoring via MAX17048 and current sensing via INA236
  • 800x480 5 inch touchscreen (ER-TFT050-6). Hardware scaling support via STM32MP2 LTDC peripheral.
  • Micro SD for storage with voltage switch support
  • Wifi/Bluetooth module attached via M.2 E-key interface (e.g. EAR00389 module)
  • Gyrometer/accelerometer + optional magnetometer for tilt interface
  • Headphone + internal speaker audio out via TAD5112
  • Multiple controls including:
    • Left and right analog sticks (programmable as digital on per-game basis)
    • ABXY + DPAD buttons
    • Start + select buttons
    • Analog throttle controller
    • Volume up/down (can be programmed as additional game inputs)
    • Menu button (opens OSD)
    • Left/right trigger + bumper buttons on back of device
  • Battery backup for RTC

Total current draw is heavily dependent on screen brightness but is typically 1.5W or less at full CPU + GPU load with medium brightness, and max ~2W at full brightness.

Software

gkos is a custom OS written from scratch in C++. It is available in the https://github.com/jncronin/gk/tree/main/Firmware-v4 directory. Features:

  • Armv8-A SMP scheduler with multiple active processes + threads
  • Syscall interface with wrappers for most POSIX functions
  • High resolution (10 ns precision) timer provided to games
  • pthread support including threads, mutexes, semaphores, conditions, rwlocks and barriers
  • A port of the etnaviv GPU driver allowing hardware-accelerated OpenGL
  • Driver for Infineon CYW43439 chipset and IPv4 network stack
  • SD card (with UHS-I mode support) with Ext4 (Lwext4) and FAT (fatfs) drivers
  • USB driver allowing the device to present itself as a mass storage device to allow provisioning the internal SD card
  • Offloading of all input tasks, including tilt sensor and touch screen filtering, to Cortex-M33 core

Examples

Tuxracer using the GPU for rendering:

Tuxracer on the GK

Tuxracer with the OSD overlay (handled by the gk-supervisor process in the (https://github.com/jncronin/gk-userland) repo) showing current system health, battery and cpu usage:

Tuxracer with on-screen display

Parts

52
QtyValueFootprintReferences
1022u/6.3VCapacitor_SMD:C_0603_1608MetricC5, C30, C31, C32, C33, C34, C38, C39, C40, C41
910u/10VCapacitor_SMD:C_0603_1608MetricC8, C9, C10, C11, C12, C13, C14, C19, C28
84.7u/6.3VCapacitor_SMD:C_0402_1005MetricC18, C22, C23, C24, C25, C26, C27, C29
722uCapacitor_SMD:C_0805_2012MetricC3, C4, C6, C7, C35, C36, C37
41u/25VCapacitor_SMD:C_0402_1005MetricC2, C15, C16, C17
3DFE201610E-R68M=P2 / 0.68uInductor_SMD:L_0805_2012MetricL3, L4, L5
24.7u/10VCapacitor_SMD:C_0603_1608MetricC20, C21
2DFE201610E-2R2M=P2 / 2.2uInductor_SMD:L_0805_2012MetricL1, L2
2DFE252012F-R68M=P2 / 0.68uInductor_SMD:L_1008_2520MetricL6, L7
1100nCapacitor_SMD:C_0402_1005MetricC1
11kResistor_SMD:R_0603_1608MetricR1
1LEDLED_SMD:LED_0603_1608MetricD1
1STPMIC25BPQRfootprints:WFQFN56L_6p5x6p5x0p9_STMU1
1~jc_pmic:jc_pmic_moduleU2

More from jncronin/gk

8
  • 4 layers96.2 × 75.8 mmPmic panel, the printed circuit board in 3D

    Pmic panel

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    498 parts79
  • 6 layers108 × 158.8 mmGk pcbv3, the printed circuit board in 3D

    Gk pcbv3

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    289 parts79
  • 6 layers121.6 × 110 mmGk pcbv4, the printed circuit board in 3D

    Gk pcbv4

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    270 parts79
  • 6 layers108 × 158.8 mmGk pcbv2, the printed circuit board in 3D

    Gk pcbv2

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    262 parts79
  • 6 layers108 × 158.8 mmGk, the printed circuit board in 3D

    Gk

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    203 parts79
  • 2 layers120.6 × 72.2 mmGk controls, the printed circuit board in 3D

    Gk controls

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    110 parts79
  • 4 layers50.7 × 52 mmGk oled pcb, the printed circuit board in 3D

    Gk oled pcb

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    48 parts79
  • 2 layers60 × 38.2 mmGk controls trigger, the printed circuit board in 3D

    Gk controls trigger

    jncronin/gk

    This respository provides PCB schematics, firmware and debugging support for the gkv4 handheld game console and its operating system, gkos. For the original STM32H7S7-based gk, see README-v3.md.

    7 parts79

Similar boards

  • 4 layers95 × 95 mmCube motherboard, the printed circuit board in 3D

    Cube motherboard

    willem-pennings/balancing-cube

    A cube that balances itself in a corner or edge using reaction wheels

    52 parts1.1kGPL-3.0
  • 4 layers50 × 50 mmSTMF103C8T6 Dev Board, the printed circuit board in 3D

    STMF103C8T6 Dev Board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    52 parts915
  • 4 layers70 × 60 mmQuiver PT3 FC PCB, the printed circuit board in 3D

    Quiver PT3 FC PCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    52 parts617CERN-OHL-S-2.0
  • 4 layers30 × 30 mmReCamera B101 B2 v0.1, the printed circuit board in 3D

    ReCamera B101 B2 v0.1

    Seeed-Studio/OSHW-reCamera-Series

    reCamera is a series of open-source AI cameras.

    52 parts495Apache-2.0
  • 4 layers31.8 × 27.5 mmProtopoint, the printed circuit board in 3D

    Protopoint

    lab11/polypoint

    Indoor localization based on the DecaWave DW1000.

    52 parts143Apache-2.0
  • 4 layers45.5 × 18 mmFDA A v1, the printed circuit board in 3D

    FDA A v1

    macaba/TheManhattanToolkit

    Input R - RNCF0603DTE10R0 (10 ohm) Input CM C - CGA3E1C0G2A472J080AC (4.7nF) Input DM C - DNP

    52 parts94MIT
  • 4 layers64 × 88.6 mmSF500, the printed circuit board in 3D

    SF500

    jbilander/SF500

    Spitfire 500, A low-end 14 MHz Accelerator with IDE and 4/8 MB fast RAM for the Amiga 500.

    52 parts82CC-BY-SA-4.0
  • 4 layers20.6 × 51.1 mmPicoPD V1.2, the printed circuit board in 3D

    PicoPD V1.2

    centydev/PicoPD

    Repo for PicoPD hardware/software and documentation

    52 parts67MIT

Questions

How big is the Pmic PCB?

It measures 25.4 × 25.4 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Pmic use?

52 parts, built around the STPMIC25BPQR. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Pmic KiCad files?

From the jncronin/gk repository on GitHub, at the commit this page was made from: the board is gk-pcbv4/pmic/pmic.kicad_pcb and its schematic gk-pcbv2/gk-pcbv2/audio.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pmic design in my own project?

Its repository states no licence, so its author keeps all rights: ask jncronin before reusing the design.