游客
注册
登录
公开
platformio烧录每次都安装?
密码q2
Claude+deepseek
3D打印项目
imouse复刻
-
+
首页
platformio烧录每次都安装?
# host烧录提示 ``` 正在执行任务: C:\Users\Administrator\.platformio\penv\Scripts\platformio.exe run --target upload --upload-port COM237 Processing motorgo_mini_1 (platform: https://github.com/pioarduino/platform-espressif32/releases/download/55.03.37/platform-espressif32.zip; board: esp32-s3-devkitc-1; framework: arduino) ---------------------------------------------------------------------------------------------------------------------------------------------------Filesystem error in safe_remove_directory_pattern: Cannot call rmtree on a symbolic link Filesystem error in safe_remove_directory: Cannot call rmtree on a symbolic link Tool Manager: Installing https://github.com/espressif/arduino-esp32/releases/download/3.3.7/esp32-core-3.3.7.tar.xz Unpacking [####################################] 100% Tool Manager: framework-arduinoespressif32@3.3.7 has been installed! Filesystem error in safe_remove_directory_pattern: Cannot call rmtree on a symbolic link Filesystem error in safe_remove_directory: Cannot call rmtree on a symbolic link Verbose mode can be enabled via `-v, --verbose` option Filesystem error in safe_remove_directory_pattern: Cannot call rmtree on a symbolic link Filesystem error in safe_remove_directory: Cannot call rmtree on a symbolic link CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html PLATFORM: Espressif 32 (55.3.37) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM) HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash DEBUG: Current (esp-builtin) On-board (esp-builtin) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES: - contrib-piohome @ 3.4.4 - framework-arduinoespressif32 @ 3.3.7 - framework-arduinoespressif32-libs @ 5.5.0+sha.87912cd291 - tool-esptoolpy @ 5.1.2 - toolchain-xtensa-esp-elf @ 14.2.0+20251107 *** Applied include path shortening for 336 framework paths *** *** Path length reduced from 42406 to ~13947 characters *** *** Estimated savings: 27888 characters *** LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 46 compatible libraries Scanning dependencies... Dependency Graph |-- ArduinoJson @ 7.4.3 |-- Adafruit NeoPixel @ 1.15.4 |-- EspUsbHost Building in release mode Compiling .pio\build\motorgo_mini_1\src\main.cpp.o Linking .pio\build\motorgo_mini_1\firmware.elf Firmware metrics can not be shown. Set the terminal codepage to "utf-8" or "cp65001" on Windows. Retrieving maximum program size .pio\build\motorgo_mini_1\firmware.elf Checking size .pio\build\motorgo_mini_1\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [= ] 6.9% (used 22736 bytes from 327680 bytes) Flash: [=== ] 30.0% (used 393152 bytes from 1310720 bytes) Building .pio\build\motorgo_mini_1\firmware.bin esptool v5.1.2 Creating ESP32S3 image... Merged 2 ELF sections. Successfully created ESP32S3 image. Configuring upload protocol... AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Looking for upload port... Uploading .pio\build\motorgo_mini_1\firmware.bin esptool v5.1.2 Serial port COM237: Connecting... Connected to ESP32-S3 on COM237: Chip type: ESP32-S3 (QFN56) (revision v0.2) Features: Wi-Fi, BT 5 (LE), Dual Core + LP Core, 240MHz, Embedded Flash 4MB (XMC), Embedded PSRAM 2MB (AP_3v3) Crystal frequency: 40MHz USB mode: USB-Serial/JTAG MAC: 9c:13:9e:f2:9f:14 Uploading stub flasher... Running stub flasher... Stub flasher running. Changing baud rate to 460800... Changed. Configuring flash size... Auto-detected flash size: 4MB Flash will be erased from 0x00000000 to 0x00004fff... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x0000e000 to 0x0000ffff... Flash will be erased from 0x00010000 to 0x00070fff... SHA digest in image updated. Compressed 19984 bytes to 13031... Writing at 0x00000000 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0.0% 0/13031 bytes... Writing at 0x00004e10 [██████████████████████████████] 100.0% 13031/13031 bytes... Wrote 19984 bytes (13031 compressed) at 0x00000000 in 0.2 seconds (728.2 kbit/s). Hash of data verified. Compressed 3072 bytes to 146... Writing at 0x00008000 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0.0% 0/146 bytes... Writing at 0x00008c00 [██████████████████████████████] 100.0% 146/146 bytes... Wrote 3072 bytes (146 compressed) at 0x00008000 in 0.0 seconds (734.5 kbit/s). Hash of data verified. Compressed 8192 bytes to 47... Writing at 0x0000e000 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0.0% 0/47 bytes... Writing at 0x00010000 [██████████████████████████████] 100.0% 47/47 bytes... Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (1078.5 kbit/s). Hash of data verified. Compressed 393552 bytes to 217724... Writing at 0x00010000 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0.0% 0/217724 bytes... Writing at 0x0001d7a0 [██░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 7.5% 16384/217724 bytes... Writing at 0x0002c805 [████░░░░░░░░░░░░░░░░░░░░░░░░░░] 15.1% 32768/217724 bytes... Writing at 0x0003282e [██████░░░░░░░░░░░░░░░░░░░░░░░░] 22.6% 49152/217724 bytes... Writing at 0x000380c0 [█████████░░░░░░░░░░░░░░░░░░░░░] 30.1% 65536/217724 bytes... Writing at 0x0003d997 [███████████░░░░░░░░░░░░░░░░░░░] 37.6% 81920/217724 bytes... Writing at 0x0004309a [█████████████░░░░░░░░░░░░░░░░░] 45.2% 98304/217724 bytes... Writing at 0x00048b04 [███████████████░░░░░░░░░░░░░░░] 52.7% 114688/217724 bytes... Writing at 0x0004e39f [██████████████████░░░░░░░░░░░░] 60.2% 131072/217724 bytes... Writing at 0x00053ee8 [████████████████████░░░░░░░░░░] 67.7% 147456/217724 bytes... Writing at 0x0005ca60 [██████████████████████░░░░░░░░] 75.3% 163840/217724 bytes... Writing at 0x00062949 [████████████████████████░░░░░░] 82.8% 180224/217724 bytes... Writing at 0x000681af [███████████████████████████░░░] 90.3% 196608/217724 bytes... Writing at 0x0006e223 [█████████████████████████████░] 97.8% 212992/217724 bytes... Writing at 0x00070150 [██████████████████████████████] 100.0% 217724/217724 bytes... Wrote 393552 bytes (217724 compressed) at 0x00010000 in 2.8 seconds (1128.5 kbit/s). Hash of data verified. Hard resetting via RTS pin... ========================================================== [SUCCESS] Took 26.36 seconds ========================================================== * 终端将被任务重用,按任意键关闭。 ``` # device烧录提示 ``` * 正在执行任务: C:\Users\Administrator\.platformio\penv\Scripts\platformio.exe run --target upload --upload-port COM236 Processing motorgo_mini_1 (platform: espressif32@6.8.1; board: motorgo_mini_1; framework: arduino) --------------------------------------------------------------------------------------------------------------------------------------------------------Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.20017.0 Unpacking [####################################] 100% Tool Manager: framework-arduinoespressif32@3.20017.241212+sha.dcc1105b has been installed! Tool Manager: Installing platformio/tool-esptoolpy @ ~1.40501.0 Unpacking [####################################] 100% Tool Manager: tool-esptoolpy@1.40501.0 has been installed! Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/motorgo_mini_1.html PLATFORM: Espressif 32 (6.8.1) > MotorGo Mini 1 (ESP32-S3) HARDWARE: ESP32S3 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-builtin, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES: - framework-arduinoespressif32 @ 3.20017.241212+sha.dcc1105b - tool-esptoolpy @ 1.40501.0 (4.5.1) - tool-mkfatfs @ 2.0.1 - tool-mklittlefs @ 1.203.210628 (2.3) - tool-mkspiffs @ 2.230.0 (2.30) - toolchain-riscv32-esp @ 8.4.0+2021r2-patch5 - toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5 LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 35 compatible libraries Scanning dependencies... Dependency Graph |-- Adafruit NeoPixel @ 1.15.4 |-- ESP32TinyUSB @ 2.0.2 |-- ESP32 BLE Arduino @ 2.0.0 |-- Preferences @ 2.0.0 Building in release mode Retrieving maximum program size .pio\build\motorgo_mini_1\firmware.elf Checking size .pio\build\motorgo_mini_1\firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [== ] 17.6% (used 57612 bytes from 327680 bytes) Flash: [====== ] 61.1% (used 960869 bytes from 1572864 bytes) Configuring upload protocol... AVAILABLE: cmsis-dap, esp-bridge, esp-builtin, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Looking for upload port... Using manually specified: COM236 Uploading .pio\build\motorgo_mini_1\firmware.bin esptool.py v4.5.1 Serial port COM236 Connecting... Chip is ESP32-S3 (revision v0.2) Features: WiFi, BLE Crystal is 40MHz MAC: 9c:13:9e:f2:a5:1c Uploading stub... Running stub... Stub running... Changing baud rate to 460800 Changed. Configuring flash size... Flash will be erased from 0x00000000 to 0x00003fff... Flash will be erased from 0x00008000 to 0x00008fff... Flash will be erased from 0x0000e000 to 0x0000ffff... Flash will be erased from 0x00010000 to 0x000fafff... Compressed 15104 bytes to 10430... Writing at 0x00000000... (100 %) Wrote 15104 bytes (10430 compressed) at 0x00000000 in 0.2 seconds (effective 778.8 kbit/s)... Hash of data verified. Compressed 3072 bytes to 145... Writing at 0x00008000... (100 %) Wrote 3072 bytes (145 compressed) at 0x00008000 in 0.0 seconds (effective 837.4 kbit/s)... Hash of data verified. Compressed 8192 bytes to 47... Writing at 0x0000e000... (100 %) Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 1156.1 kbit/s)... Hash of data verified. Compressed 961232 bytes to 582986... Writing at 0x00010000... (2 %) Writing at 0x0001bcc4... (5 %) Writing at 0x00029610... (8 %) Writing at 0x000360b8... (11 %) Writing at 0x0004319c... (13 %) Writing at 0x00048cd5... (16 %) Writing at 0x0004e945... (19 %) Writing at 0x00054070... (22 %) Writing at 0x000597ee... (25 %) Writing at 0x0005f2b1... (27 %) Writing at 0x00064a13... (30 %) Writing at 0x00069bed... (33 %) Writing at 0x0006efb3... (36 %) Writing at 0x000742fc... (38 %) Writing at 0x000792ea... (41 %) Writing at 0x0007f2b3... (44 %) Writing at 0x00084d97... (47 %) Writing at 0x0008a75c... (50 %) Writing at 0x0009007b... (52 %) Writing at 0x00095819... (55 %) Writing at 0x0009aeed... (58 %) Writing at 0x000a1a19... (61 %) Writing at 0x000a74f3... (63 %) Writing at 0x000acf3a... (66 %) Writing at 0x000b2751... (69 %) Writing at 0x000b7ef7... (72 %) Writing at 0x000bd148... (75 %) Writing at 0x000c28a9... (77 %) Writing at 0x000c7bd7... (80 %) Writing at 0x000cd6e5... (83 %) Writing at 0x000d468f... (86 %) Writing at 0x000dc8d9... (88 %) Writing at 0x000e5287... (91 %) Writing at 0x000ec350... (94 %) Writing at 0x000f1ad8... (97 %) Writing at 0x000f71b3... (100 %) Wrote 961232 bytes (582986 compressed) at 0x00010000 in 5.2 seconds (effective 1478.8 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... ============================================================= [SUCCESS] Took 64.09 seconds ============================================================= * 终端将被任务重用,按任意键关闭。 ```
jinzhu
2026年8月28日 19:12
转发
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
分享
链接
类型
密码
更新密码
有效期
Markdown文件
Word文件
PDF文档(打印)