#author("2022-07-05T19:00:29+08:00","default:Admin","Admin")
#author("2022-07-06T13:52:17+08:00","default:Admin","Admin")
[[Arduino]]

Arduino 启动时闪退
&color(red){※前提条件:本文基于 Arduino 1.8.XX 创作};

删除下面文件夹后,重新启动即可
#contents

 C:\Users\Administrator\AppData\Local\Arduino15
* Sketch too big [#cc159183]

#codeprettify{{
项目使用了 1431465 字节,占用了 (109%) 程序存储空间。最大为 1310720 字节。
全局变量使用了65360字节,(19%)的动态内存,余留262320字节局部变量。最大为327680字节。
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
text section exceeds available space in board
为开发板 ESP32 Wrover Module 编译时出错。
}}

解决方法:

+ On Arduino IDE, navigate to Tools > Partition Scheme. 
+ Then select the option “Minimal SPIFFS (Large APPS with OTA)” or “No OTA (Large APP)” option. 
This way you can have a sketch size up to 1966080 bytes or 2097152 bytes respectively.

#hr();
コメント:
#comment_kcaptcha


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS