Arduino-HomeKit-ESP8266 icon indicating copy to clipboard operation
Arduino-HomeKit-ESP8266 copied to clipboard

esp01 : 請問怎麼修改flash size改成1m?謝謝

Open hung28312 opened this issue 1 year ago • 1 comments
trafficstars

@Mixiaoxiao ,formatting homekit storage at 0x3fb000,使用esp01板,要如何何修改flash size呢?在ArduinoIDE的工具中-Flase size修改成Maping defined by hardware and sketch,但會在編譯時出現錯誤訊息, c:/users/hung/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Hung\AppData\Local\Temp\arduino\sketches\F52321A960A6612EADD3F8AE8E0F92AC\libraries\HomeKit-ESP8266\storage.c.o:(.text.find_empty_block+0x0): undefined reference to _EEPROM_start' c:/users/hung/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\Hung\AppData\Local\Temp\arduino\sketches\F52321A960A6612EADD3F8AE8E0F92AC\libraries\HomeKit-ESP8266\storage.c.o: in function homekit_storage_add_pairing': c:\Users\Hung\Documents\Arduino\libraries\HomeKit-ESP8266\src/storage.c:303: undefined reference to `_EEPROM_start' collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

hung28312 avatar May 07 '24 07:05 hung28312

flash with 1mb fs:none 2024-05-20-22 04@2x

AAfetisov avatar May 20 '24 15:05 AAfetisov