3
1

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 1 year has passed since last update.

【備忘録】PlatformIOでM5Stackを使おうとしたら、Wire.hやFS.hがインクルードできなかった話

Last updated at Posted at 2023-09-16

状況

M5Stackの開発環境を整える - PlatformIO IDE編を参考に環境構築を進めていたところ、コンパイル時にWire.hやFS.hのインクルードできないと言われた。
スクリーンショット 2023-09-16 233533.jpg

解決方法

platformio.iniに lib_ldf_mode = deep を追加することで解決。

platformio.ini
[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32
framework = arduino
lib_deps = m5stack/M5Stack@^0.4.5
lib_ldf_mode = deep
3
1
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
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?