# ziutek/emgo

Emgo: Bare metal Go (language for programming embedded systems)

Repository: https://github.com/ziutek/emgo
Canonical: https://ross.abutalabs.com/products/emgo
Language: C
License: BSD-3-Clause
License Family: permissive
Last push: 2021-12-05T21:00:21+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4438, "days_push": 1732, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1096, forks 68 (observed 2026-08-28T04:03:34.421551+00:00)

## What it is
Emgo is a compiler and package set that lets you run Go programs on small 32-bit microcontrollers by generating C as intermediate code and compiling it with an ARM C toolchain. It supports ARM Cortex-M MCUs (e.g. STM32, nRF5) and has largely been superseded by the Embedded Go project for more capable hardware.

## Use cases
- write Go programs for bare-metal microcontrollers
- blink an LED on an STM32 NUCLEO board
- program ARM Cortex-M MCUs without writing C
- build firmware for nRF5 boards
- experiment with Go on embedded hardware

## When to choose
- targeting small ARM Cortex-M microcontrollers with Go-like syntax
- you want a Go-flavored bare-metal embedded toolchain
- hardware is too limited for the Embedded Go compiler

## When to avoid
- you need 100% Go language specification compatibility (use Embedded Go)
- you target non-Cortex-M or 8/16-bit MCUs
- you need Windows-native tooling without Cygwin
- you want an actively developed project

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: compiler, programming-language, embedded
- domain: programming-languages, embedded-systems, compilers
- platform: embedded
- tags: go-language, bare-metal, microcontrollers, arm-cortex-m, stm32, nrf5, compiler, linux, macos, arm

## Member repositories
- ziutek/emgo (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.421551+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:33:35.540656+00:00, confidence not recorded.
  - readme: https://github.com/ziutek/emgo (fetched 2026-08-28T04:03:34.421551+00:00, sha 367aab529090)
- Data as of 2026-08-30T08:39:29.467469+00:00.
