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

SPIFFS created files with leading / -- can this be avoided with additional parameter? #69

Open
bsidhipong opened this issue Sep 25, 2019 · 0 comments

Comments

@bsidhipong
Copy link

Hi, I'm using SPIFFS with Simba framework, under PlatformIO, and it calls mkspiffs to make the SPIFFS image for me just fine. But I noticed that all the files it creates begin with leading '/' which is a little odd under Simba framework as Simba mounts SPIFFS under /fs.

We end up having to refer to SPIFFS files in this manner:

$ filesystems/fs/read /fs//config.ini
[network]
ssid=ATOMIC_IOT
psk=*****************

Notice the double-slash that is needed to make this work under Simba. Perhaps if we could add a switch to mkspiffs that avoids the pre-pending of the leading slash that would be awesome.

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

No branches or pull requests

1 participant