feat: STM32 Blue Pill 에뮬레이터 UI — 보드 SVG + GPIO LED 시각화

- Blue Pill SVG: 핀 서클(r=3), 폰트 4px bold, 온보드 LED/PWR/RST 버튼 확대
- GPIO 텔레메트리: _RN_PNAME()+Serial.write(STX/ETX)로 digitalWrite() 후 핀 상태 전송
- PA0 등 아날로그 핀 번호(0xC0=192) → digitalPinToPinName()으로 런타임 복원
- PC13 toggle 시 핀 서클 + 온보드 LED 동시 업데이트 (active LOW)
- PA9(TX)/PA10(RX) 시리얼 신호 깜빡임
- 코드 에디터 AI에 선택된 보드 이름(boardContext) 전달

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
kim
2026-06-29 22:07:06 +09:00
co-authored by Claude Sonnet 4.6
parent c13fa4fae5
commit e520d09ca1
9 changed files with 514 additions and 22 deletions
+1
View File
@@ -2823,6 +2823,7 @@ async function _codeAiOneRound(messages, onToken) {
tools: CLIENT_TOOL_DEFS,
sessionId: codeAiSessionId,
...(codeAiModel ? { model: codeAiModel } : {}),
...(_csbSelBoard?.fqbn ? { boardContext: `${_csbSelBoard.name} (${_csbSelBoard.fqbn})` } : {}),
}),
});
if (!resp.ok) throw new Error(`/api/code/round ${resp.status}: ${await resp.text()}`);