Skip to content

Use updated gems and littlefs #43

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

Merged
merged 14 commits into from
Jul 11, 2023
Merged

Use updated gems and littlefs #43

merged 14 commits into from
Jul 11, 2023

Conversation

vickash
Copy link
Contributor

@vickash vickash commented Jul 9, 2023

This brings all the changes to dependency gems, outlined in #41, into the IDF project:

  • Updated mruby-io to match mruby 3.2.0
  • Added File class in mruby-fileio, with example
  • Updated mruby-socket to match mruby 3.2.0 and work with IDF 5

As well as:

  • Include mruby-esp32-ledc gem in the project, with 3 examples
  • Upgrade from SPIFFS to littlefs
    • Note: littlefs append mode starts with file pointer at 0, instead of at the end, and #write doesn't automatically move it to the end. Not sure what's going on here.
  • Change partition table so it uses the entire 2 MB. +228 kB for app image, +56 kB for filesystem

Total image size comparison (ESP32, IDF 5.1):

master: 1370 kB
0.5 with gems matching master: 1382 kB
0.5 with all new gems and features (default): 1445 kB
0.5 with everything except mruby-socket: 1402 kB

@vickash
Copy link
Contributor Author

vickash commented Jul 9, 2023

Fixed the append mode problem with a small change in the mruby-fileio gem.

@yuuu yuuu self-requested a review July 11, 2023 21:09
Copy link
Contributor

@yuuu yuuu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your code is worked on ESP32-DevKitC that I have. I'll approve your pull request. Thank you 👍

@pandax381
Copy link
Member

@vickash Great work! Thank you.

@yuuu Thank you for your review.

I'll merge.

@pandax381 pandax381 merged commit 5ab00de into master Jul 11, 2023
@vickash vickash deleted the 0.5 branch July 22, 2023 20:15
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.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy