N32StudioN32Studio is an AI-assisted development extension for Nationstech N32 MCUs. It brings Claude Code, N32Cube configuration, code generation, build, flash, and debug into one project workflow so you can develop embedded applications with natural-language collaboration.
Requirements
What you can do
Quick start
AI-assisted developmentConnected hardware context (Windows)In a trusted local N32Studio project, the extension validates and runs its bundled NS-Flash CLI directly from The status item shows the detected MCU and internal Flash; its tooltip includes RAM when known, capacity source and timestamp. A probe's product name is not a development-board model. Unknown sizes remain unknown. Background polling only queries Windows PnP records. NS-Flash enumeration may open USB handles, so it runs only after a relevant topology change or an explicit request, with a fresh debugger/flash-tool occupancy check first. Automatic target detection is attempted once when a selected probe is attached; failures do not retry in the background. Focus changes, unrelated USB changes and debugger exit do not re-arm SWD. Use the tooltip to detect again. Hardware-reset detection requires user confirmation, wired NRST and an unoccupied probe; it may leave the CPU halted and is not exposed to agents. If you change a board without unplugging the probe, refresh manually. Agents connected to the project's existing MCP can use J-Link USB probes are also inventoried using read-only Windows PnP data, with composite/CDC interfaces collapsed into one physical probe. Their status is probe connected; target not checked, not a claim that a target board is connected or disconnected. The MCP context identifies J-Link versus NS-Link, compatible backends, installed tool files and project-defined flash/debug entries. NS-Flash is not compatible with J-Link. Multiple probes across both kinds require a user selection. J-Link enumeration is cached for up to five seconds; explicit refresh bypasses that cache and never attaches to the J-Link target. NS-Flash is temporarily injected into newly created VS Code terminals when the extension enables target detection, not persisted in Profile settings. Reload VS Code after updating the extension and reopen existing terminals; Windows user/system PATH is unchanged. Detection pauses during VS Code tasks/debug sessions and coordinates extension windows through a shared lock. Independently launched flashing/debugging programs are not fully observable; do not force access to a busy probe. The browser flashing UI is not embedded in this release. N32Studio connects Claude Code with N32Cube. Describe the desired behavior directly and let AI assist with hardware configuration, initialization code, application code, error analysis, and project refinement. After signing in to NSING AI and configuring Claude Code, try requests such as:
Review AI changes before building, flashing, and debugging. NSING AI usageThe NSING AI usage entry appears in the status bar only when the active workspace is an N32Studio project, NSING AI is signed in, and Claude Code is using NSING AI. Hover for a summary and select it to refresh. Issue reportingIn an N32Studio project, use the status-bar Report action or run N32Studio: Report Issue from the Command Palette. Commands
|