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

added rename/format(spi,qspi) to littlefs #1

Merged
merged 1 commit into from Nov 13, 2020
Merged

added rename/format(spi,qspi) to littlefs #1

merged 1 commit into from Nov 13, 2020

Conversation

mjs513
Copy link
Contributor

@mjs513 mjs513 commented Nov 13, 2020

Paul
Know you are busy as heck so I went ahead and tried adding in format(spi and qspi) and rename commands for LittleFs. Looks like they are working from my limited testing so far. Seems to be working with MTP for LittleFS as well.

Mike

@PaulStoffregen PaulStoffregen merged commit afce590 into PaulStoffregen:main Nov 13, 2020
@PaulStoffregen
Copy link
Owner

The format function should probably first check the configured boolean. If we already have a filesystem mounted, should probably unmount and give lfs an opportunity to do whatever de-allocation it does.

@mjs513
Copy link
Contributor Author

mjs513 commented Nov 13, 2020

I will play around with that next - put on my todo list which is nothing like yours :)

@mjs513 mjs513 deleted the LittleFS---Rename,-Format,-etc branch November 13, 2020 16:25
@Defragster
Copy link
Contributor

Format worked here to clear QSPI ghost directories that otherwise recur.

As long as the Teensy doesn't repower or 'SCB_AIRCR = 0x05FA0004' before use - otherwise the ghosts persist. Is there some flush needed to commit something?

@Defragster
Copy link
Contributor

Also perhaps correct spelling of : attemping as in attempting

PaulStoffregen pushed a commit that referenced this pull request Jun 30, 2021
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