本帖最后由 book123 于 2023-5-28 20:38 编辑
最近用合宙的esp32 s3,用esphome写配置文件,制作天气预报固件。只要图片用多了,固件大小就超了,刷不进去,为什么?log显示最大只能用1835008 bytes,算一下只有1.75M,为什么啊?
ESPHome 2023.5.4
INFO Reading configuration /config/esphome/out-display-weather-35-test2.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing out-display-weather-35-test2 (board: lolin_s3; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash
- toolchain-riscv32-esp @ 8.4.0+2021r2-patch5
- toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch5
Dependency Graph
|-- AsyncTCP-esphome @ 1.2.2
|-- WiFi @ 2.0.0
|-- FS @ 2.0.0
|-- Update @ 2.0.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
| |-- AsyncTCP-esphome @ 1.2.2
|-- DNSServer @ 2.0.0
|-- ESPmDNS @ 2.0.0
|-- Wire @ 2.0.0
|-- SPI @ 2.0.0
|-- ArduinoJson @ 6.18.5
|-- WiFiClientSecure @ 2.0.0
|-- HTTPClient @ 2.0.0
Compiling /data/out-display-weather-35-test2/.pioenvs/out-display-weather-35-test2/src/main.cpp.o
Linking /data/out-display-weather-35-test2/.pioenvs/out-display-weather-35-test2/firmware.elf
RAM: [= ] 13.2% (used 43364 bytes from 327680 bytes)
Flash: [======= ] 68.3% (used 1252913 bytes from 1835008 bytes)
Building /data/out-display-weather-35-test2/.pioenvs/out-display-weather-35-test2/firmware.bin
Creating esp32s3 image...
Successfully created esp32s3 image.
|