MicroPython v1.15:ESP32-S2サポート、RP2040の外部Cモジュールサポートなど

メモです。
4/19にMicroPythonのv1.15がリリースされました

目立つものとしてESP32-S2コアのサポート、ESP32のビルドシステムのCMakeベースへの移行、同じくCMakeベースでのRP2040の外部Cモジュールのサポートなどがあります。また、RP2のボード種別ごとのビルドができるようになり、これに伴ってデフォルトのビルド用ディレクトリがbuild-BOARD(BOARDのデフォルトはPICO)になりました。

RP2040の外部Cモジュールは、CMake用のインクルードファイルを用意しておき、MicroPythonのビルド時にそのファイルを指定します。こんな感じです。

cd ports/rp2
make USER_C_MODULES=../../examples/usercmodule/micropython.cmake

コメント

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

タイトルとURLをコピーしました