1537| 4
|
[求助问答] 求助:掌控板2.0 上传出错 |
本帖最后由 Stevensun 于 2024-2-27 11:03 编辑 掌控板2.0,程序无法上传,到36%就提示上传出错。生成.bin 失败。请问是怎么回事。 提示信息: /Applications/Mind+.app/Contents/Arduino/hardware/tools/mpython/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++ -DESP_PLATFORM -DMBEDTLS_CONFIG_FILE="mbedtls/esp_config.h" -DHAVE_CONFIG_H -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/config -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/app_trace -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/app_update -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/asio -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/asio -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/bootloader_support -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/bt -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/coap -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/console -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/driver -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp-tls -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp32 -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp_adc_cal -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp_event -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp_http_client -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp_http_server -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp_https_ota -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp_ringbuf -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/ethernet -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/expat -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/fatfs -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/freemodbus -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/freertos -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/heap -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/idf_test -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/jsmn -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/json -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/libsodium -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/log -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/lwip -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/mbedtls -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/mdns -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/micro-ecc -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/mqtt -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/newlib -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/nghttp -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/nvs_flash -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/openssl -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/protobuf-c -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/protocomm -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/pthread -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/sdmmc -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/smartconfig_ack -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/soc -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/spi_flash -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/spiffs -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/tcp_transport -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/tcpip_adapter -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/ulp -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/vfs -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/wear_levelling -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/wifi_provisioning -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/wpa_supplicant -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/xtensa-debug-module -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp-face -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/esp32-camera -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/include/fb_gfx -std=gnu++11 -fno-exceptions -Os -g3 -Wpointer-arith -fexceptions -fstack-protector -ffunction-sections -fdata-sections -fstrict-volatile-bitfields -mlongcalls -nostdlib -w -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -fno-rtti -MMD -c -DF_CPU=240000000L -DARDUINO=10808 -DARDUINO_ESP32_DEV -DARDUINO_ARCH_ESP32 -DARDUINO_BOARD="ESP32_DEV" -DARDUINO_VARIANT="mpython" -DESP32 -DCORE_DEBUG_LEVEL=0 -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/cores/esp32 -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/variants/mpython -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/cores/esp32 -I /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/variants/mpython /Users/stevensun/Library/DFScratch/cache/dfrobot.ino.cpp -o /Users/stevensun/Library/DFScratch/cache/dfrobot.ino.cpp.o /Applications/Mind+.app/Contents/Arduino/hardware/tools/mpython/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc -nostdlib -L /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/lib -L /Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/sdk/ld -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -Wl,--start-group /Users/stevensun/Library/DFScratch/cache/dfrobot.ino.cpp.o /Applications/Mind+.app/Contents/Arduino/static/core/mpython/core.a -lgcc -lopenssl -lbtdm_app -lfatfs -lwps -lcoexist -lwear_levelling -lesp_http_client -lprotobuf-c -lhal -lnewlib -ldriver -lbootloader_support -lpp -lfreemodbus -lmesh -lsmartconfig -ljsmn -lwpa -lethernet -lphy -lapp_trace -lconsole -lulp -lwpa_supplicant -lfreertos -lbt -lmicro-ecc -lesp32-camera -lcxx -lxtensa-debug-module -ltcp_transport -lmdns -lvfs -lesp_ringbuf -lsoc -lcore -lfb_gfx -lsdmmc -llibsodium -lcoap -ltcpip_adapter -lprotocomm -lesp_event -limage_util -lc_nano -lesp-tls -lasio -lrtc -lspi_flash -lwpa2 -lwifi_provisioning -lesp32 -lface_recognition -lapp_update -lnghttp -lspiffs -lface_detection -lespnow -lnvs_flash -lesp_adc_cal -llog -ldl_lib -lsmartconfig_ack -lexpat -lm -lfr -lmqtt -lc -lheap -lmbedtls -llwip -lnet80211 -lesp_http_server -lpthread -ljson -lesp_https_ota -lfd -lstdc++ -Wl,--end-group -Wl,-EL -o /Users/stevensun/Library/DFScratch/build/dfrobot.ino.elf python "/Applications/Mind+.app/Contents/Arduino/hardware/tools/mpython/gen_esp32part.py" -q "/Applications/Mind+.app/Contents/Arduino/hardware/dfrobot/mpython/tools/partitions/default.csv" "/Users/stevensun/Library/DFScratch/build/dfrobot.ino.partitions.bin" "python" "/Applications/Mind+.app/Contents/Arduino/hardware/tools/mpython/esptool.py" --chip esp32 elf2image --flash_mode "dio" --flash_freq "80m" --flash_size "4MB" -o"/Users/stevensun/Library/DFScratch/build/dfrobot.ino.bin" "/Users/stevensun/Library/DFScratch/build/dfrobot.ino.elf" Traceback (most recent call last): File "/Applications/Mind+.app/Contents/Arduino/hardware/tools/mpython/esptool.py", line 42, in <module> import serial ImportError: No module named serial 生成.bin失败 |
出错
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed