Skip to end of metadata
Go to start of metadata

Fix Upload Issue with ESP8266 Version 2.7.4

Arduino IDE 1.8.16


vi ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial/serial/tools/list_ports_osx.py


On line 29, comment out iokit and cf lines and replace with below:

#iokit = ctypes.cdll.LoadLibrary(ctypes.util.find_library('IOKit'))
#cf = ctypes.cdll.LoadLibrary(ctypes.util.find_library('CoreFoundation'))
iokit = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/IOKit.framework/IOKit')
cf = ctypes.cdll.LoadLibrary('/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation')




Reference

https://forum.arduino.cc/t/pyserial-and-esptools-directory-error/671804/5?page=3



  • No labels