A VS Code extension for developing applications for Baochip microcontrollers.
This extension integrates building, flashing, and serial monitoring directly into the editor, providing a streamlined development workflow.
Features
Welcome Page
A simple start screen with:
Quick setup actions
App creation and selection
Links to documentation
Optional "show on startup" toggle
Application Workflow
Create new Baochip applications via tools-bao
Select existing apps from xous-core/apps-dabao/
Build Workflow
Select build target (e.g., dabao, baosec)
Full clean support
Flash Workflow
Flash UF2 firmware to Baochip devices
Serial Monitor
Raw mode (immediate keystroke passthrough)
Line mode with CRLF normalization
Run Mode ↔ Bootloader Mode option for ports
Combined Build/Flash/Monitor Command
A single command that:
Builds the firmware
Flashes via UF2
Prompts board to boot
Opens the serial monitor connected to the board in run mode
Useful for rapid development cycles.
Sidebar Integration
Provides:
Build / flash / monitor controls
App-related commands
Documentation links
Localization
The extension user interface supports:
German (de)
Japanese (ja)
Simplified Chinese (zh-cn)
Traditional Chinese (zh-tw)
Quickstart
1. Install Requirements
Python 3
A local checkout of xous-core
tools-bao (bao.py) inside that repository
Baochip hardware for flashing and serial monitoring