-
-
Notifications
You must be signed in to change notification settings - Fork 31
variants: Enable file system support. #226
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
fe955e0 to
c91e3a6
Compare
c91e3a6 to
53b3947
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here are the changes for compatibility with upstream Zephyr - basically use a DT label in instead of the macro.
Also please retab the dtsi file, there's a weird mix of tab and spaces for indentation.
variants/arduino_portenta_c33_r7fa6m5bh3cfc/arduino_portenta_c33_r7fa6m5bh3cfc.overlay
Outdated
Show resolved
Hide resolved
variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.overlay
Outdated
Show resolved
Hide resolved
Provides a common file system configuration, fstab entries, disks and partitions that can just be included by overlays to enable file system support. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
53b3947 to
f945c50
Compare
|
I updated and tested Giga R1 and C33 again, working fine. The Portenta H7 flash overflows with file system enabled, so I disabled a few things to test it, but it seems broken. I think the M4 is running not the M7, not sure how to switch to M7. |
This PR enables filesystem support for Giga R1 and Portenta-C33 (more boards will follow after testing). The filesystem layout and partitions match the original structure used across different cores to make it backward compatible. The partitions, disks and other config required to enable the filesystems are provided through a common
dtsifile (which can be included in any board’s overlay) to keep the file system consistent across boards. Finally, fstab is used to automount the partitions, and example utilities FlashFormat, PartitionInfo, and ListFiles are provided.Note, I temporarily reduced C33 shell stack and heap memory to make it fit, not sure which memory is safe to reduce.