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.

Arduino ESPrDeveloper Big Sur 対応

Last updated at Posted at 2021-05-06

困ったのでメモです。

ESP8266(ESPrDeveloper)に書き込めない!

自分はインテルMacですが、書き込めなくて焦りました・・。
これで直りました!

下記、転記です。

ーーーーここからーーーー

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

をテキストエディタで開きます。
~/Library は自分のホームディレクトリの中のLibraryディレクトリのことです。キーボードのOptionキーを押しながらファインダーの「移動」を選ぶと「ライブラリ」というのが選べます。

list_ports_osx.pyの29、30行目に

iokit = ctypes.cdll.LoadLibrary(ctypes.util.find_library('IOKit'))
cf = ctypes.cdll.LoadLibrary(ctypes.util.find_library('CoreFoundation'))

という記述があるので、その行の先頭に「#」を足してコメントアウトします
その直後(31行目)に

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

を追加して保存します。

ーーーーここまでーーーー

Switch Science様、ありがとうございます!!

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?