
moremas/build-with-claude
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
moremas/build-with-claude — кандидат в агенты, импортированный из https://github.com/moremas/build-with-claude.
Обзор
moremas/build-with-claude — кандидат в агенты, импортированный из https://github.com/moremas/build-with-claude.
Обзор (машинный перевод)
Включите Cardputer-Adv и установите приложения Claude Buddy в одной команде.
Быстрый старт
- Clone this repo locally — в любом месте хорошо:
Умение автоматически обнаруживает связку приятеля относительно его собственного местоположения установки, поэтому путь клона не имеет значения. ~/Downloads/m5stack/ и ~/Desktop/m5stack/ также проверяются как обычные резервные копии.
2. Подключите Кардпутер к вашему ноутбуку через USB- C
3.Откройте код Клода и начните новый чат
4. Отправьте код Клода в папку репо
5. Тип [[Т2]]
Вот и все - Клод автоматически мигает прошивкой и выталкивает приложения на устройство.
Когда Клод предложит вам загрузить устройство в режим загрузки
На полпути Клод сделает паузу и попросит вас сделать это на обратной стороне устройства:
- Нажмите кнопку G0 на карточке
- все еще удерживая G0, нажмите кнопку Reset
- сначала выпустить сброс, затем выпустить G0
- Экран становится темным - устройство находится в режиме загрузки
Клод берет верх оттуда.
###Что будет дальше
Программное обеспечение записывает на устройство (~180 секунд) Приложения нажимают на устройство (~100 секунд) Перезагрузка устройства прямо в пусковую установку — выберите приложение и перейдите
Готово.
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
m5stack
Flash a Cardputer-Adv and install the Claude Buddy apps in one command.
Quick start
- Clone this repo locally — anywhere is fine:
The skill auto-detects the buddy bundle relative to its own install location, so the clone path doesn’t matter.git clone~/Downloads/m5stack/and~/Desktop/m5stack/are also checked as conventional fallbacks. - Plug the Cardputer into your laptop via USB-C
- Open Claude Code and start a new chat
- Point Claude Code to the repo folder
- Type
m5-onboard go
That’s it — Claude will automatically flash the firmware and push the apps onto the device.
When Claude prompts you to put the device into download mode
Halfway through, Claude will pause and ask you to do this on the back of the device:
- Hold down the G0 button on the Cardputer
- While still holding G0, press the Reset button
- Release Reset first, then release G0
- The screen goes dark — device is in download mode
Claude takes over from there.
What happens next
- Firmware writes to the device (~180 seconds)
- Apps push to the device (~100 seconds)
- Device reboots straight into the launcher — pick an app and go
Done. Power the device on/off with the side switch.
Using Claude Buddy (BLE)
- Power on the Cardputer
- Pick Claude Buddy from the launcher menu
- In Claude Desktop: Help → Troubleshooting → Enable Developer Tools (one-time, persists)
- Then Developer menu → Hardware Buddy → Connect
Event WiFi
The bundled launcher auto-connects to the event WiFi (cardputer / cardconnect) on every boot and displays the result on screen — Connected · IP: 192.168.x.x on success, WiFi: offline on failure (the launcher always continues either way). The credentials are intentionally checked into buddy/device/wifi_event.py; the AP is publicly broadcast at the venue and the password is the published handout, so this is not a leaked secret. To use this bundle outside the event, edit wifi_event.py (replace SSID/PASSWORD) or remove the _connect_wifi_with_splash() call near the top of main() to disable the auto-connect entirely.
Adding your own app
- Drop a
.pyfile intobuddy/device/apps/ - Push just the apps without re-flashing:
python3 .claude/skills/m5-onboard/scripts/install_apps.py --port --src buddy - The launcher auto-discovers the new app on next boot
Crib from buddy/device/apps/hello_cardputer.py — it’s the smallest example of the conventions (keyboard polling, font, exit behaviour).
Getting back to stock UIFlow
The buddy bundle takes over the boot flow via /flash/main.py. Remove
that file and UIFlow’s stock launcher boots normally on the next reset.
From the device REPL:
import os
os.remove('/flash/main.py')
import machine; machine.reset()
To also drop the apps under /flash/apps/, walk that directory the
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add moremas/build-with-claude