forked from zephyrproject-rtos/gsoc-2022-arduino-core
-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Portenta H7: Setting up LittleFS to work on QSPI #77
Comments
just to test qspi storage partition ran the following sketch:
It succeeded in running successfully
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@KurtE - @facchinm - @pillo79
Been experimenting with using LittleFS in conjunction with QSPI and not having much luck. Reason for using LittleFS and not FS is that LittleFS addresses wear leveling.
Using the sample LittleFS: https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/fs/littlefs but keep getting an error message
Now in the config file for the H7 I have:
Note am using
CONFIG_FS_LITTLEFS_FMP_DEV=y
since we are using flash:No changes made to overlay yet - just trying to get past not finding lfs.h. In the H7 includes file added:
I did find that lfs.h is located in modules directory which is at the same level as zephyr sdk and arduino cores. Same directory as arduinoAPI.
Any suggestions to get this working or will littleFS not be supported.
EDIT: digging deeper it looks may have to modify the build flags in h7 variant? the includes.txt file is insufficient?
The text was updated successfully, but these errors were encountered: