armink/CmBacktrace
Advanced fault backtrace library for ARM Cortex-M series MCU | ARM Cortex-M 系列 MCU 错误追踪库 observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 83
- Release rhythm 52
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3537
- days_rel: 104
- days_push: 104
- n_releases_24m: 1
Adoption not part of the score
2160 stars · 736 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
CmBacktrace is an open-source C library for ARM Cortex-M microcontrollers that automatically diagnoses faults (Hard Fault, Bus Fault, etc.) and outputs the function call stack at the error site. It works bare-metal or with RTOSes like RT-Thread, FreeRTOS, and UCOS, and integrates with addr2line for precise code location.
Use cases
- debug hardfault crashes on cortex-m mcu
- print function call stack after firmware crash
- automatically diagnose fault register causes on arm cortex-m
- capture backtrace in embedded c firmware
- locate crash code line in rt-thread or freertos application
- get current call stack on bare metal mcu
When to choose
- developing firmware on ARM Cortex-M0/M3/M4/M7 and need fast fault diagnosis
- you want automatic fault cause analysis instead of manually decoding fault registers
- you need call stack output on bare metal or RTOS-based projects with IAR, KEIL, or GCC
When to avoid
- targeting non-ARM or non-Cortex-M architectures
- working on Linux/desktop applications rather than embedded firmware
- you need source-level debugging only via an attached debugger without runtime fault handling
Facets
library · maturity stable
error-handling developer-tools logging embedded-systems developer-tools embedded c backtrace cortex-m hardfault fault-diagnosis call-stack rtos mcu debugging arm
1 source
- readme: https://github.com/armink/CmBacktrace · fetched 2026-08-28 · d431a56f9269
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| armink/CmBacktrace | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="armink/CmBacktrace")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem