Skip to content

Better support for 1 MB modules #518

@smartynov

Description

@smartynov

I was trying to build an airsensor based on ESP-201 module recently. It is a esp8266 with 1 Mb of flash.

Pre-compiled firmware binaries fail to boot on such device, because it tries to initialize SPIFFS beyond the flash size. I was able to recompile and successfully flash firmware by changing board setting. However, current code relies on NodeMCU board in many ways, so I had to change minor things here and there in sources.

My suggestion is to adapt the code so it can be easily compiled for various esp8266 boards other than NodeMCU, in particular 1 Mb boards. I understand that OTA will be unavailable for 1 Mb devices, however manual flashing might be enough for some enthusiasts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions