nr-micro-shell-integration

Solid

Use when integrating, porting, configuring, or debugging nr_micro_shell command consoles, UART shell input, command tables, or tiny embedded CLI behavior

AI & Automation 22 stars 2 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
45
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# nr_micro_shell Integration ## Overview Use this skill to integrate nr_micro_shell as a compact command console. Keep the first port minimal: verified character I/O, one read-only command, bounded buffers, and explicit handling for destructive commands. ## When To Use Use this skill when: - The user wants a tiny shell/CLI on an MCU and mentions nr_micro_shell. - Commands are not recognized, input is garbled, completion/history fails, or shell processing blocks firmware. - The target needs a lower-footprint alternative to larger embedded shells. Do not use this skill when raw UART is not proven. Use `embedded-serial-log-debug` first. ## First Questions Ask for: - Target MCU/RTOS/compiler and nr_micro_shell version/source. - Transport: UART, USB CDC, RTT, TCP, or custom stream. - Polling, interrupt, DMA, or task-based input model. - Command table/registration approach. - Maximum command length, argument count, and stack/RAM budget. - Whether shell is enabled in production builds. ## Integration Checklist 1. Verify raw I/O. Confirm single-character RX/TX before attaching shell parsing. 1. Configure buffers. Set command line, history, and output buffers within RAM limits. 1. Register one safe command. Start with `help`, `version`, or `status`. 1. Validate argument parsing. Commands must reject missing, too many, or invalid arguments. 1. Bound output. Avoid long blocking output that starves watchdogs or RTOS tasks. 1. Guard risky commands. Reset,...

Details

Author
easyzoom
Repository
easyzoom/aix-skills
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category