Skip to content

How to only create flash file system if it is not already created, otherwise mount #16450

Closed Answered by robert-hh
RichardB-RT asked this question in STM32 / Pyboard
Discussion options

You must be logged in to vote

That's because the file system is already mounted. I added an umount like in your sample code. But the whole code is not needed.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@RichardB-RT
Comment options

@robert-hh
Comment options

Answer selected by RichardB-RT
Comment options

You must be logged in to vote
1 reply
@RichardB-RT
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants