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

enable LittleFS and encryption on STM32 platform (wio-e5) #6071

Open
wants to merge 9 commits into
base: stm32wl-fs
Choose a base branch
from

Conversation

dchokola
Copy link

  • Drop FreeRTOS dependency
    • LittleFS was using FreeRTOS locking functions and malloc()/free()
  • LittleFS works
    • properly unlock/lock the FLASH for erasing/writing; fix computation of block sizes
    • mutex functions no-opped
    • malloc()/free() implementations from stdlib
  • PKI works
    • depend on latest Crypto library from @caveman99 to make use of STM32 RNG

@CLAassistant
Copy link

CLAassistant commented Feb 16, 2025

CLA assistant check
All committers have signed the CLA.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ caveman99
❌ dchokola
You have signed the CLA already but the status is still pending? Let us recheck it.

@dchokola dchokola changed the base branch from master to stm32wl-fs February 16, 2025 21:49
@thebentern thebentern requested a review from caveman99 February 17, 2025 01:50
@markbirss
Copy link
Contributor

@dchokola tested ok wio-e5, also able with some modification to get rak3172 working

Copy link
Member

@caveman99 caveman99 left a comment

Choose a reason for hiding this comment

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

Please stick to the original proposal of 28kB filesystem size at the end of the flash area

…serve FLASH space

LittleFS mutex routines are stubs and malloc()/free() are the stdlib
versions
add a runtime check for available space (probably overkill)
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.

8 participants