github上面的CameraWebServer項目無法編譯,提示超出儲存空間

luster
Posts: 1
Joined: Fri Oct 18, 2019 5:51 am

github上面的CameraWebServer項目無法編譯,提示超出儲存空間

Postby luster » Fri Oct 18, 2019 5:58 am

項目地址:https://github.com/espressif/arduino-es ... aWebServer

IDE:VSCODE and PlatformIO
硬件: esp-wrover-kit
框架: arduino

編譯提示:
Retrieving maximum program size .pio\build\esp-wrover-kit\firmware.elf
Checking size .pio\build\esp-wrover-kit\firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
Error: The program size (2102847 bytes) is greater than maximum allowed (1310720 bytes)
DATA: [== ] 16.3% (used 53432 bytes from 327680 bytes)
PROGRAM: [===*** [checkprogsize] Explicit exit, status 1=======] 160.4% (used 2102847 bytes from 1310720 bytes)

開發板上面的模塊應該是4M FLASH + 8M PSRAM,怎麼會容量不足?
是不是需要在arduino配置?

我已經在platformio.ini裡面添加如下說明:
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
但是編譯後一樣效果,我該如何解決?謝謝。

Who is online

Users browsing this forum: No registered users and 70 guests