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

[Bug] BluefruitFS and SD.h #276

Closed
czuvich opened this issue May 29, 2019 · 2 comments
Closed

[Bug] BluefruitFS and SD.h #276

czuvich opened this issue May 29, 2019 · 2 comments
Labels

Comments

@czuvich
Copy link

czuvich commented May 29, 2019

BSP Library : 0.10.1
Board: nRF52840 Express
Bootloader : s140 6.1.1

I am using an SD Card and the InternalFS on the nRF52840. I was trying out the Internal_ReadWrite example for the nRF52840. The example as-is runs just fine; however, I added an #include <SD.h> and prefixed the file local variable with the namespace BluefruitFS::File file(InternalFS);.

Instead of writing out the text of #define CONTENTS, nothing is output from reading the file. I think there are some conflicts in the internal library and using SD.h?

I also wanted to add, so far I don't think I can use an external SD Card nor can I use the ExternalFS with the nRF52840. I'm kind of stuck using the InternalFS for any data persistence.

@czuvich czuvich added the Bug label May 29, 2019
@czuvich
Copy link
Author

czuvich commented May 29, 2019

I think I figured out the problem. The #define FILE_WRITE #define FILE_READ are already defined in the SD library. Bluefruit needs to probably use a different definition. I see it used in a few different places.

@hathach
Copy link
Member

hathach commented May 30, 2019

thanks, we are reworking the filesystem. This should be resolved later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants