원클릭으로
flash
Build and flash firmware to Pico2. Use after code changes to deploy to hardware.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build and flash firmware to Pico2. Use after code changes to deploy to hardware.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Firmware-change discipline for Raiden Pico — ANY change to the firmware (src/*.c, src/*.pio, include/*.h that alters the built raiden_pico.uf2's behavior or output) MUST bump the firmware version string in the SAME change. The version is what the VERSION command prints, in src/command_parser.c. Invoke whenever you edit firmware source, or are about to build + flash a firmware change.
CLI discipline for Raiden Pico. (1) Every command/sub-command/argument MUST emit an explicit error on unrecognized, mistyped, or malformed input — never silently no-op or fall through to a wrong/default branch. (2) Every CLI add/change/rename MUST update the config_none pytest regression tests AND the docs/HELP in the same change. Invoke whenever you add, change, rename, or review a CLI command path in src/command_parser.c (verbs, sub-commands, argument parsing, dispatch branches) or the matchers in command_parser_match / match_and_replace.
GPIO pin-assignment rules for Raiden Pico (RP2350). Invoke whenever you add, change, move, or claim a GPIO pin — e.g. editing pin
Keep requirements.txt and requirements-dev.txt in sync with the actual third-party Python imports across the repo. Invoke whenever you add, remove, or move a Python `import` of a non-stdlib package in any .py file — especially before committing changes that touch .py files. The repo's dependency graph on GitHub reads these manifests.
Fetch open GitHub issues for the current repo so we catch problems users have reported. Use at least once per working day, ideally at the start of a session, and again when the user mentions "issues", "bugs", "reports", or asks "anything new?".
| name | flash |
| description | Build and flash firmware to Pico2. Use after code changes to deploy to hardware. |
| disable-model-invocation | true |
| allowed-tools | Bash |
Build and flash firmware to the Pico2:
python3 -c "import serial, time; s = serial.Serial('/dev/ttyUSB0'); s.dtr = True; time.sleep(0.5); s.dtr = False; s.close()" && sleep 5 && cd /home/addy/work/claude-code/raiden-pico/build && make flash
cd /home/addy/work/claude-code/raiden-pico/build && PICO_SDK_PATH=/home/software/unpacked/pico-sdk cmake -DPICO_BOARD=pico2 ..
then retry step 1.All commands must include explicit cd /home/addy/work/claude-code/raiden-pico/build && prefix. Never use rm -rf without a full absolute path.