opendata-stuttgart / airrohr-firmware-flasher

MIT License
90 stars 39 forks source link

Fixes for the initial wifi/sensor configuration upload #67

Closed Phaze-III closed 1 year ago

Phaze-III commented 1 year ago

This PR has some small fixes to make the Configuration part of the airrohr-flasher work as advertised.

ricki-z commented 1 year ago

@Phaze-III changing the SPIFFS layout to 3MB firmware and 1MB data would disable most of the devices actually installed. These devices are formatted 1MB/3MB. This works as we use a 2 step OTA process with a much smaller intermediate firmware that will load the final firmware update.

Phaze-III commented 1 year ago

@ricki-z The 2 step OTA process downloads the new and intermediate firmware to the SPIFFS partition so that one has to be 3M. Basically the PR creates a 1M/3M partioning as needed instead of 1M/1M.

ricki-z commented 1 year ago

@Phaze-III Sorry, my fault. The 1M/3M layout was the default earlier. This seems to have changed in the ESP8266 library. So thanks for the pull request.