Skip to content

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

@hung28312

Description

@hung28312

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions