MB

moremas/build-with-claude

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

216 stars Качество 60 Тренд 0Apache-2.0

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 в одной команде.

Быстрый старт

  1. Clone this repo locally — в любом месте хорошо:

Умение автоматически обнаруживает связку приятеля относительно его собственного местоположения установки, поэтому путь клона не имеет значения. ~/Downloads/m5stack/ и ~/Desktop/m5stack/ также проверяются как обычные резервные копии. 2. Подключите Кардпутер к вашему ноутбуку через USB- C 3.Откройте код Клода и начните новый чат 4. Отправьте код Клода в папку репо 5. Тип [[Т2]]

Вот и все - Клод автоматически мигает прошивкой и выталкивает приложения на устройство.

Когда Клод предложит вам загрузить устройство в режим загрузки

На полпути Клод сделает паузу и попросит вас сделать это на обратной стороне устройства:

  1. Нажмите кнопку G0 на карточке
  2. все еще удерживая G0, нажмите кнопку Reset
  3. сначала выпустить сброс, затем выпустить G0
  4. Экран становится темным - устройство находится в режиме загрузки

Клод берет верх оттуда.

###Что будет дальше

Программное обеспечение записывает на устройство (~180 секунд) Приложения нажимают на устройство (~100 секунд) Перезагрузка устройства прямо в пусковую установку — выберите приложение и перейдите

Готово.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

m5stack

Flash a Cardputer-Adv and install the Claude Buddy apps in one command.

Quick start

  1. Clone this repo locally — anywhere is fine:
    git clone 
    
    The skill auto-detects the buddy bundle relative to its own install location, so the clone path doesn’t matter. ~/Downloads/m5stack/ and ~/Desktop/m5stack/ are also checked as conventional fallbacks.
  2. Plug the Cardputer into your laptop via USB-C
  3. Open Claude Code and start a new chat
  4. Point Claude Code to the repo folder
  5. 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:

  1. Hold down the G0 button on the Cardputer
  2. While still holding G0, press the Reset button
  3. Release Reset first, then release G0
  4. 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)

  1. Power on the Cardputer
  2. Pick Claude Buddy from the launcher menu
  3. In Claude Desktop: Help → Troubleshooting → Enable Developer Tools (one-time, persists)
  4. 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

  1. Drop a .py file into buddy/device/apps/
  2. Push just the apps without re-flashing:
    python3 .claude/skills/m5-onboard/scripts/install_apps.py --port  --src buddy
    
  3. 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

Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add moremas/build-with-claude
Новичок в MCP? Начните с руководства на mcpskill.org →