0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

macOS Big SurでESP8266の書き込みができなくなったときの対処方法

Posted at

ESPr Developer(ESP8266)を使っているのですが、プログラムの書き込みができなくて困りました。
調べたところ、Big Surだとそうなるらしいです。以下のサイトを参考にして、対処しました。
https://forum.arduino.cc/index.php?topic=702144.0

対処方法

  1. ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial/serial/tools/list_ports_osx.py を開く
  2. 29行目と30行目をコメントアウトし、以下に示すように変更する。

# 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')

これで、書き込みができるようになった!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?