1
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 3 years have passed since last update.

M5PaperをVSCodeで開発する設定

Last updated at Posted at 2021-01-20

PSRAMを使う設定

Hello Worldでいきなりコケた件
プロだったら、最初に仕様確認してから開発に入れよって感じですが
在庫があることで即ポチりして嬉しかったんで、開封即ビルドで**メモリーエラー**

私はPlatformIOで開発しているのでplatformio.iniの設定が必要でした。

platformioのページにちゃんと書いてあるのですが
https://docs.platformio.org/en/latest/platforms/espressif32.html#external-ram-psram
PSRAMを使う場合はplatformio.iniに

platformio.ini
build_flags =
    -DBOARD_HAS_PSRAM
    -mfix-esp32-psram-cache-issue

このように書けと指示があります。
当たり前ですが追記したら問題なしでした。

1
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
1
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?