求助!arduino编译esp32s的板子失败
新安装的mac系统和arduino IDE,开发板都安装好了,测试的代码为示例Blink,可一直编译失败如果选择arduino uno的板子可以成功!可选择esp32的板编译就失败,求助了!!:'(
Traceback (most recent call last):
File "esptool.py", line 57, in <module>
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports.py", line 29, in <module>
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_posix.py", line 31, in <module>
File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
File "serial/tools/list_ports_osx.py", line 32, in <module>
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
Failed to execute script esptool
exit status 255
/Users/binfan/Downloads/Arduino.app/Contents/Java/arduino-builder 返回 255
为开发板 ESP32 Dev Module 编译时出错。
esp32是arm内核芯片的板子,arduino uno是avr芯片的板子,源代码虽然相同,但用的是不一样的芯片和编译工具链。而这工具链的安装是需费一番功夫的。 估计是package没装好,重装下 可能是安装源的问题,https://dl.espressif.com/dl/package_esp32_index.json这个安装源总是安装好了,使用的时候就失败。
可能是我用的mac系统的问题,我用github上的安装源和安装方法现在可以了,
页:
[1]