oh-my-renesas
v0.1.5
Published
OpenCode plugin for Renesas MCU development
Downloads
696
Readme
oh-my-renesas
OpenCode plugin for Renesas MCU development with 4 specialized AI agents and 17 tools.
Features
- renesas-fsp-expert — FSP expert for RA MCU development (drivers, interrupts, clocks, build, flash)
- renesas-librarian — Product information specialist (MCU family search and comparison)
- renesas-community — Community knowledge agent (accesses community.renesas.com via Playwright)
- renesas-freertos-expert — FreeRTOS expert for RA MCU development (task design, config, debugging, TCP/FAT)
- 17 tools — 9 FSP tools + 2 hardware tools + 2 product tools + 3 FreeRTOS tools
Installation
Quick Install (Recommended)
bunx oh-my-renesas
# or
npx oh-my-renesasManual Install
Add to ~/.config/opencode/opencode.json or ~/.config/opencode/opencode.jsonc:
{
"plugin": ["oh-my-renesas"]
}Uninstall
bunx oh-my-renesas --uninstallConfiguration (Optional)
Create ~/.config/opencode/oh-my-renesas.json:
{
"agents": {
"renesas-fsp-expert": { "model": "anthropic/claude-opus-4-5" },
"renesas-freertos-expert": { "model": "anthropic/claude-sonnet-4-20250514" }
},
"fsp": {
"fsp_pack_path": "/path/to/fsp",
"jlink_path": "/path/to/JLink",
"e2studio_cli": "/path/to/e2studio"
}
}Tools
FSP Tools
RenesasGetDriverForPeripheral— Find correct FSP driver for MCU family + peripheralRenesasGetApiUsage— Get open/configure/use/close code example for a driverRenesasCompareMcuFamilies— Side-by-side MCU family comparisonRenesasGetInterruptConfig— IRQ setup checklist for driver + familyRenesasDiagnoseError— Root cause analysis for FSP error codesRenesasGetClockConfig— Clock setup recipe for MCU family + goalRenesasSearchFspDocs— Full-text search across FSP documentationRenesasGetFspModules— List FSP modules for a familyRenesasGetFspErrors— All known FSP error codes
Hardware Tools
RenesasRaBuildProject— Build RA project via e2studio CLI or CMakeRenesasRaFlashFirmware— Flash firmware via J-LinkRenesasRaReadRegister— Read MCU register/memory via J-Link
Product Tools
searchRenesasProducts— Search Renesas MCU families by keyword/core/applicationgetProductFamily— Get detailed info about a specific MCU family
FreeRTOS Tools
RenesasGetFreertosConfig— FreeRTOSConfig.h setup recipe for MCU family + goal (basic-multitasking, tcp-networking, fat-filesystem)RenesasDiagnoseFreertosIssue— Root cause analysis and fixes for FreeRTOS issues (stack overflow, deadlock, priority inversion)RenesasGetFreertosApiUsage— FreeRTOS API code examples (task-creation, queue, mutex, semaphore, timer, event-group)
Requirements
- OpenCode with plugin support
- Playwright MCP (for renesas-community agent)
- J-Link (optional, for hardware tools)
- e2studio CLI (optional, for build tool)
- Renesas FSP pack (optional, for RenesasSearchFspDocs)
Migration
See MIGRATION.md if upgrading from fsp-mcp.
