LoginSignup
0
0

More than 1 year has passed since last update.

El CapitanのPlatformIO

Last updated at Posted at 2021-12-16

MacOS XのEl CapitanのPlatformIOをupgradeしたところver5になってpythonが3以上となり動かなくなってしまいした。

Error: Python 3.6 or later is required for this operation. 
Please check a migration guide:
https://docs.platformio.org/en/latest/core/migration.html#drop-support-for-python-2-and-3-5

Python 2で使えたPlatformIOはver4までだったようです。

仕方がないのでdowngradeしました。

% sudo pip install -U "platformio<5"

元どうりにビルドできるようになりました。pioはFreeBSDでも使えるようになったけど、やっぱMacでも使えたほうが便利なので、やれやれです。

pioはそれぞれの環境でビルドできないプラットフォームが存在するので、アップデートは慎重にしたほうがよさそうです。

4系のパッケージはダウンロードできない様なので、すでにビルドできていたものは大丈夫ですが、新規のダウンロードが必要なターゲットでは使えません。結構厳しいです。

古いplatformioでは、新規のアーキテクチャの開発は不可能に近いです。

雪豹のPlatformIOはver 3が入っています。

pic32のビルドはしていたのですが、実機にuploadしていなかったので、tools-pic32progがインストールされていない状態でした。パッケージではインストールできないので、ファイルを探してsorceforgeにあったので、.platformio/packages/tool-pic32progに展開して使える様になりました。

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