Loading...
Loading...
Compare original and translation side by side
/flash//flash/cwc-makersbuddy//maker-setupscripts/*.pyonboard/--apps buddybuddy/device/cwc-makersbuddy/能正确解析到同级的onboard.py --apps buddyinstall_apps.py --src buddy--src <path>.pysmoke_test.pysmoke_test.py--apps buddyonboard.py --apps buddyinstall_apps.py --src buddy--src <路径>.pysmoke_test.pysmoke_test.py--apps buddyonboard.py--variant cardputer-adv--variantdetect.pyonboard.py--variant cardputer-adv--variantdetect.pyscripts/onboard.pypython3 scripts/onboard.py --apps buddyonboard.pyrun_in_background: trueteetail2>&1undefinedscripts/onboard.pypython3 scripts/onboard.py --apps buddyonboard.pyrun_in_background: trueteetail2>&1undefinedundefinedundefinedEnter download modeManual resetonboard.py--portdetect.py/dev/cu.usbmodem*/dev/ttyACM*COMxbuddybuddy/device/--appspython3 scripts/install_apps.py --port <PORT> --src buddy<PORT>detect.py/dev/cu.usbmodem1101/dev/ttyACM0COM3Enter download modeManual resetonboard.py--portdetect.py/dev/cu.usbmodem*/dev/ttyACM*COMxbuddybuddy/device/--appspython3 scripts/install_apps.py --port <PORT> --src buddy<PORT>detect.py/dev/cu.usbmodem1101/dev/ttyACM0COM3detect.py0x1A860x10C40x04030x303A/dev/cu.usbmodem*/dev/ttyACM*ttyUSB*COMxdetect.pydetect.pyreferences/hardware_signatures.mdonboard.py --variantdetect.py --identifyfetch_firmware.pyflash.pyesptool write_flash 0x0 <image>--no-stubLost connection, retryingwatchdog-resetflash.pyHash of data verifiedonboard.pyflash.native_reset()install_apps.py.py/flash/repl_reset*.py/flash/apps/*.py/flash/apps/main.pyinstall_apps.pyboot_option=2main.pysmoke_test.pydetect.py0x1A860x10C40x04030x303A/dev/cu.usbmodem*/dev/ttyACM*ttyUSB*COMxdetect.pydetect.pyreferences/hardware_signatures.mdonboard.py --variantdetect.py --identifyfetch_firmware.pyflash.pyesptool write_flash 0x0 <image>--no-stuberase_flashLost connection, retryingwatchdog-resetHash of data verifiedflash.pyonboard.pyflash.native_reset()install_apps.py.py/flash/repl_reset*.py/flash/apps/*.py/flash/apps/main.pyinstall_apps.pyboot_option=2main.pysmoke_test.pyonboard.py:_wait_for_download_portesptool --before default_resetm5-onboard go--no-stuberase_flashset_strset_blobinstall_apps.pyboot_optionnvs.get_str()ESP_ERR_NVS_NOT_FOUNDget_strnvs.erase_key(name)set_strtry:except:mpy_repl.pympy_repl.repl_reset()machine.reset()install_apps.pyinstall_apps.pyboot_option=2main.pyboot_option=1gap_advertise(adv_data=...)main.py/flash//flash/apps/install_apps.pyboot_option=2main.pyonboard.py:_wait_for_download_portesptool --before default_resetm5-onboard go--no-stuberase_flashset_strset_blobinstall_apps.pyboot_optionnvs.get_str()get_str()ESP_ERR_NVS_NOT_FOUNDset_strnvs.erase_key(name)try:except:mpy_repl.pympy_repl.repl_reset()machine.reset()install_apps.pyinstall_apps.pyboot_option=2main.pyboot_option=1gap_advertise(adv_data=...)main.py/flash//flash/apps/install_apps.pymain.pyboot_option=2m5-onboard goDONE.py/flash/apps//flash/*.pymain.pycardputerbuddy/device/wifi_event.pywifi_event.py_connect_wifi_with_splash()main.pymain.py/flash/boot.pyboot.pyboot_uiflow.pymain.pyos.remove('/flash/main.py')machine.reset()--appsm5-onboard goDONE/flash/apps/.py/flash/.pymain.pycardputerbuddy/device/wifi_event.pywifi_event.pymain.py_connect_wifi_with_splash()/flash/main.pyboot.pyboot.pyboot_uiflow.pymain.pyos.remove('/flash/main.py')machine.reset()--appsscripts/onboard.pyscripts/detect.pyscripts/fetch_firmware.pyscripts/flash.pyscripts/install_apps.py.py/flash/boot.pyboot_uiflow.pyboot_optionmain.pyscripts/smoke_test.pyscripts/mpy_repl.pyreferences/hardware_signatures.mdreferences/uiflow2_nvs.mdscripts/onboard.pyscripts/detect.pyscripts/fetch_firmware.pyscripts/flash.pyscripts/install_apps.py.py/flash/boot.pyboot_uiflow.pymain.pyboot_optionscripts/smoke_test.pyscripts/mpy_repl.pyreferences/hardware_signatures.mdreferences/uiflow2_nvs.mdpyserialonboard/scripts/vendor/serial/esptoolrequirements.txtimportlib.util.find_spec("esptool")~/Library/Python/*/bin/~/.local/bin/%APPDATA%\Python\Python3XX\Scripts\onboard.pyesptoolpyserialYpython -m pip install --user <missing>--usergit/maker-setupcurltargit --versionscripts/*.pypython3 --versionpython --versionwinget install -e --id Python.Python.3.13 --silent --accept-source-agreements --accept-package-agreementspython/usr/bin/python3brew install python@3.13/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"sudo apt-get update && sudo apt-get install -y python3 python3-pipsudo dnf install -y python3 python3-pipsudo pacman -S --noconfirm python python-pippyserial 3.5scripts/vendor/serialvendor_path.ensure_on_syspath()scripts/vendor/sys.pathesptoolesptoolpython -m pip install --user esptool--user[sys.executable, "-m", "esptool", ...]requirements.txtpython -m pip install --user esptoolscripts/vendor/pyserialonboard/scripts/vendor/serial/esptoolrequirements.txtimportlib.util.find_spec("esptool")~/Library/Python/*/bin/~/.local/bin/%APPDATA%\\Python\\Python3XX\\Scripts\\onboard.pyesptoolpyserialYpython -m pip install --user <缺失依赖>--usergit --version/maker-setupcurltarscripts/*.pypython3 --versionpython --versionwinget install -e --id Python.Python.3.13 --silent --accept-source-agreements --accept-package-agreementspython/usr/bin/python3brew install python@3.13/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"sudo apt-get update && sudo apt-get install -y python3 python3-pipsudo dnf install -y python3 python3-pipsudo pacman -S --noconfirm python python-pippyserial 3.5scripts/vendor/serialvendor_path.ensure_on_syspath()scripts/vendor/sys.pathesptoolesptoolpython -m pip install --user esptool--user[sys.executable, "-m", "esptool", ...]requirements.txtpython -m pip install --user esptoolscripts/vendor/detect.py/dev/cu.usbmodem1101/dev/cu.usbserial-XXXX/dev/ttyACM0/dev/ttyUSB0COM3COM4/dev/ttyUSB*/dev/ttyACM*dialoutuucpdetect.pyPermission deniedCould not open portsudo usermod -aG dialout $USER
# log out / log back in — group change only takes effect for new sessionssudo python3 scripts/onboard.py ...pip install --user esptool%APPDATA%\Python\Python3XX\Scripts\pipdetect.py%APPDATA%\Python\Python3XX\Scriptspython -m esptool ...%LOCALAPPDATA%\Packages\PythonSoftwareFoundation.Python.*\detect.pywinget install Python.Python.3.13install_apps.py--src buddy$M5_BUDDY_DIRbuddy/device/os.path.realpath(__file__)install_apps.py~/.claude/skills/m5-onboard/~/Downloads/m5stack/buddy/device~/Desktop/m5stack/buddy/deviceM5_BUDDY_DIRexport M5_BUDDY_DIR=/path/to/buddy/device$env:M5_BUDDY_DIR="C:\path\to\buddy\device"~/.cache/m5-onboard/$XDG_CACHE_HOME/m5-onboard/detect.py/dev/cu.usbmodem1101/dev/cu.usbserial-XXXX/dev/ttyACM0/dev/ttyUSB0COM3COM4/dev/ttyUSB*/dev/ttyACM*dialoutuucpdetect.pyPermission deniedCould not open portsudo usermod -aG dialout $USER
# 注销并重新登录——组变更仅对新会话生效sudo python3 scripts/onboard.py ...pip install --user esptool%APPDATA%\\Python\\Python3XX\\Scripts\\pipdetect.py%APPDATA%\\Python\\Python3XX\\Scriptspython -m esptool ...%LOCALAPPDATA%\\Packages\\PythonSoftwareFoundation.Python.*\\detect.pywinget install Python.Python.3.13install_apps.py--src buddy$M5_BUDDY_DIRbuddy/device/os.path.realpath(__file__)install_apps.py~/.claude/skills/m5-onboard/~/Downloads/m5stack/buddy/device~/Desktop/m5stack/buddy/deviceM5_BUDDY_DIRexport M5_BUDDY_DIR=/path/to/buddy/device$env:M5_BUDDY_DIR="C:\\path\\to\\buddy\\device"~/.cache/m5-onboard/$XDG_CACHE_HOME/m5-onboard/