Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using LittleFS and improving semver.c to fix some compiler's warning #91

Closed
wants to merge 8 commits into from

Conversation

tuan-karma
Copy link

@tuan-karma tuan-karma commented Aug 23, 2022

Dear chrisjoyce911: Thank you for your useful esp32FOTA library. I would like to added some minor improvements and bug fixes as following:

  • Using LitleFS instead of (deprecated) SPIFFS
  • Code improvements at semver/semver.c to eliminate the Compiler's warnings: e.g. warning: passing argument 3 of 'concat_num' discards 'const' qualifier ...

Know limitations:

  • No limitations added

Tested:

  • On an ESP32 dev board.

I hope and believe that the above improvements is useful for future users of this library and that change not break any API of your library. Thank you for you time!

@tobozo
Copy link
Collaborator

tobozo commented Sep 13, 2022

bump

Please have a look at #92 as it implements your semver fix along with agnostic filesystem handling.

Provided the <SPIFFS.h>, <LittleFS.h> or <SD.h> library is included before including <esp32fota.h>, and the chosen filesystem is properly started in your setup() it should behave as you expect without breaking the API.

Optional declarations eventually allow hybrid situations, like storing the signature on the SD and certificate in flash memory.

There's an open discussion about this.

@tobozo
Copy link
Collaborator

tobozo commented Sep 16, 2022

Closing this as implemented in 0.2.0.

@tobozo tobozo closed this Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants