快看擎天猪 发表于 2023-9-24 22:18:50

esp32-C3的求助

上传中...
使用平台的 ‘esp32c3’ 开发板,在列出的文件夹中:D:\BaiduNetdiskDownload\mixly2.0\arduino-cli\Arduino15\packages\esp32\hardware\esp32\2.0.7
使用平台的 ‘esp32’ 代码,在列出的文件夹中:D:\BaiduNetdiskDownload\mixly2.0\arduino-cli\Arduino15\packages\esp32\hardware\esp32\2.0.7
cmd /c if exist "D:\\BaiduNetdiskDownload\\mixly2.0\\testArduino\\partitions.csv" COPY /y "D:\\BaiduNetdiskDownload\\mixly2.0\\testArduino\\partitions.csv" "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\partitions.csv"
cmd /c if not exist "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\partitions.csv" if exist "D:\\BaiduNetdiskDownload\\mixly2.0\\arduino-cli\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.7\\variants\\esp32c3\\partitions.csv" COPY "D:\\BaiduNetdiskDownload\\mixly2.0\\arduino-cli\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.7\\variants\\esp32c3\\partitions.csv" "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\partitions.csv"
cmd /c if not exist "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\partitions.csv" COPY "D:\\BaiduNetdiskDownload\\mixly2.0\\arduino-cli\\Arduino15\\packages\\esp32\\hardware\\esp32\\2.0.7\\tools\\partitions\\default.csv" "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\partitions.csv"
esptool.py v4.5
Creating esp32c3 image...
Merged 1 ELF section
Successfully created esp32c3 image.
cmd /c if exist "D:\\BaiduNetdiskDownload\\mixly2.0\\testArduino\\build_opt.h" COPY /y "D:\\BaiduNetdiskDownload\\mixly2.0\\testArduino\\build_opt.h" "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\build_opt.h"
cmd /c if not exist "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\build_opt.h" type nul > "D:\\BaiduNetdiskDownload\\mixly2.0\\mixlyBuild\\build_opt.h"
正在检测使用的库。。。
In file included from d:\baidunetdiskdownload\mixly2.0\arduino-cli\arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\include\c++\8.4.0\string:41,
               from d:\baidunetdiskdownload\mixly2.0\arduino-cli\arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\include\c++\8.4.0\stdexcept:39,
               from d:\baidunetdiskdownload\mixly2.0\arduino-cli\arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\include\c++\8.4.0\array:39,
               from d:\baidunetdiskdownload\mixly2.0\arduino-cli\arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\include\c++\8.4.0\tuple:39,
               from d:\baidunetdiskdownload\mixly2.0\arduino-cli\arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\include\c++\8.4.0\functional:54,
               from D:\BaiduNetdiskDownload\mixly2.0\arduino-cli\Arduino15\packages\esp32\hardware\esp32\2.0.7\cores\esp32/HardwareSerial.h:49,
               from D:\BaiduNetdiskDownload\mixly2.0\arduino-cli\Arduino15\packages\esp32\hardware\esp32\2.0.7\cores\esp32/Arduino.h:184,
               from D:\BaiduNetdiskDownload\mixly2.0\mixlyBuild\sketch\testArduino.ino.cpp:1:
d:\baidunetdiskdownload\mixly2.0\arduino-cli\arduino15\packages\esp32\tools\riscv32-esp-elf-gcc\esp-2021r2-patch5-8.4.0\riscv32-esp-elf\include\c++\8.4.0\bits\allocator.h:46:10: fatal error: bits/c++allocator.h: No such file or directory
#include <bits/c++allocator.h> // Define the base class to std::allocator.
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
bits/c++allocator.h 的替代方案:[]
ResolveLibrary(bits/c++allocator.h)
-> 候选: []

构建时出错:exit status 1

已使用的平台      版本    路径                                                                                       
esp32:esp32 2.0.7 D:\BaiduNetdiskDownload\mixly2.0\arduino-cli\Arduino15\packages\esp32\hardware\esp32\2.0.7
==上传失败==
最近买了一个esp32C3,这种的https://mc.dfrobot.com.cn/forum.php?mod=image&aid=162578&size=300x300&key=19f979e4d793a604&nocache=yes&type=fixnone,不知道有没有大佬知道为什么上传失败

快看擎天猪 发表于 2023-9-26 12:38:13

KKKKKKKKKKKKK

麦壳maikemaker 发表于 2023-10-2 15:01:55

升级arduino ESP32支持包到2.09就好了,你现在是2.07。https://arduino.me/a/esp32

hacker_ 发表于 2023-10-3 14:24:22

麦壳maikemaker 发表于 2023-10-2 15:01
升级arduino ESP32支持包到2.09就好了,你现在是2.07。https://arduino.me/a/esp32

可我用的是mixly

麦壳maikemaker 发表于 2023-10-7 15:29:07

hacker_ 发表于 2023-10-3 14:24
可我用的是mixly

去mixly群里提问,那里有人负责答疑
页: [1]
查看完整版本: esp32-C3的求助