🔌
AI EngineeringJavaScript

GPIO Bare-Metal

by mohitmishra786

GPIO Bare-Metal is an AI Engineering skill for Claude Code, published by mohitmishra786 in low-level-dev-skills.

194 stars27 forkson mohitmishra786/low-level-dev-skillsAdded 2026/09/05+1% in starsRepository updated 2026/06/27
ai-agent-skillsbuild-systemsc-cpp-toolchaincompilerscross-compilationdebuggersembeddedlow-level-programminglow-level-programming-languageprofilersrustrust-langsystems-programmingzig
Install in seconds
Install GPIO Bare-Metal
Copy GPIO Bare-Metal into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/mohitmishra786/low-level-dev-skills/tree/main/skills/baremetal/gpio-baremetal ~/.claude/skills/gpio-baremetal

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/mohitmishra786/low-level-dev-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/baremetal/gpio-baremetal/SKILL.md in mohitmishra786/low-level-dev-skills
Installs to
~/.claude/skills/gpio-baremetal
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering3101 skills

What GPIO Bare-Metal does

GPIO Bare-Metal configures MCU GPIO without HAL for input/output modes, alternate functions, pull resistors, and pin-change interrupts. Use it for LED, button, and peripheral pin setup on STM32, nRF52, or ESP32-class boards.

GPIO Bare-Metal is cataloged under AI Engineering on DirSkills. GPIO Bare-Metal comes from a repository tagged ai-agent-skills, build-systems, c-cpp-toolchain, compilers and cross-compilation.

Documentation

README

GPIO (Bare-Metal)

Purpose

Configure and use GPIO without HAL: input/output modes, alternate function mapping, pull-up/down, speed/slew, and pin-change interrupts for LEDs, buttons, and peripheral pin mux.

When to Use

  • Blink LED or read button before bringing up UART/SPI
  • Mux pins to USART/SPI alternate functions
  • EXTI line interrupts on pin edges
  • Porting GPIO code between vendors

Workflow

1. STM32 GPIO pattern

/* Enable GPIOA clock */
RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN;

/* PA5 output — MODER[11:10] = 01 */
GPIOA->MODER &= ~(3U << (5 * 2));
GPIOA->MODER |=  (1U << (5 * 2));

/* Toggle via BSRR — atomic set/reset */
GPIOA->BSRR = (1U << 5);       /* set */
GPIOA->BSRR = (1U << (5+16));  /* reset */

Alternate function (e.g., USART2 TX on PA2):

This is the opening of the README. Read the full README on GitHub.

Commands GPIO Bare-Metal provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /gpio-baremetal

Frequently asked about GPIO Bare-Metal

  • What else does mohitmishra786 publish alongside GPIO Bare-Metal?

    GPIO Bare-Metal is one of 25 skills that DirSkills catalogs from mohitmishra786/low-level-dev-skills, the repository it ships in. Its siblings there include ADC And DAC Bare Metal, AF XDP and Bare-Metal Startup. Each one is a separate skill with its own page in this directory, installs the same way GPIO Bare-Metal does, and is maintained by mohitmishra786 in that same repository. The rest of the collection is listed on the mohitmishra786/low-level-dev-skills page.

  • How does GPIO Bare-Metal compare to other AI Engineering skills?

    GPIO Bare-Metal ranks #2867 by stars among the 3101 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of GPIO Bare-Metal against them. Open each page to compare what they document and how they install.

More from mohitmishra786/low-level-dev-skills

GPIO Bare-Metal is one of 25 skills cataloged on DirSkills from mohitmishra786/low-level-dev-skills.

See all 25 skills
48m ago

ADC And DAC Bare Metal

ADC And DAC Bare Metal configures ADC sampling, calibration, DMA circular buffers, and DAC output on microcontrollers. Use it for reading analog sensors, continuous sampling, or generating analog voltages.
DevOps
19427
🖧
48m ago

AF XDP

AF XDP guides setup of userspace packet I/O with UMEM, XSK rings, and XDP_REDIRECT programs. Use it when building fast network datapaths, choosing copy versus zero-copy mode, or comparing AF XDP with DPDK.
DevOps
19427
⚙️
48m ago

Bare-Metal Startup

Bare-Metal Startup guides reset-to-main bring-up for embedded targets. Use it for vector tables, .data/.bss initialization, stack setup, VTOR relocation, and crt0 startup code on Cortex-M or RISC-V.
DevOps
19427
🛠️
48m ago

Bazel

Bazel guides C/C++ build setup with BUILD files, cc_library and cc_binary rules, Bzlmod dependencies, toolchains, queries, remote execution, and sandbox debugging. Use it when creating or troubleshooting Bazel builds.
DevOps
19427
⚙️
48m ago

Build Acceleration

Build Acceleration helps reduce C/C++ compile and link times using ccache, sccache, distcc, unity builds, precompiled headers, split DWARF, and IWYU. Use it when builds are slow or you need to find the main bottleneck.
DevOps
19427
🧠
48m ago

Custom Allocators

Custom Allocators guides allocator design and tuning for pool, slab, arena, and general-purpose memory management. Use it when implementing custom allocators, adjusting jemalloc or mimalloc, or benchmarking fragmentation and throughput.
DevOps
19427