ncs-mem

Community

Optimize and debug memory in NCS projects.

Authorchshzh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Optimizes and debugs memory usage in Nordic nRF Connect SDK (NCS) applications, helping teams reduce RAM/Flash footprint and prevent memory-related crashes.

Core Features & Use Cases

  • Memory profiling and analysis: guidance to generate memory reports, examine flash and RAM usage, and locate hotspots.
  • Heap and stack optimization: strategies to size heaps, adjust stack usage, and minimize fragmentation.
  • Debugging memory issues: steps to detect stack overflows, memory leaks, and heap exhaustion, with recommended tooling.
  • Use Case: For a complex NCS project using WPA/WPA2, size memory to meet TLS requirements and ensure stable AP bring-up.

Quick Start

Follow the workflow to start memory analysis: build with west, generate rom_report and ram_report, and run Puncover.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ncs-mem
Download link: https://github.com/chshzh/charlie-skills/archive/main.zip#ncs-mem

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.