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

Add fatfs support #688

Merged
merged 1 commit into from
Dec 6, 2024
Merged

Add fatfs support #688

merged 1 commit into from
Dec 6, 2024

Conversation

ohmtech-rdi
Copy link
Owner

@ohmtech-rdi ohmtech-rdi commented Dec 6, 2024

This PR adds fatfs library files to the firmware target. For now VCV Rack support is not there, and we didn't introduce an abstraction yet.

There was some oddity, because libDaisy actually builds with most of the FatFS files, with the exception of option/ccsbcs.c for some reason. In the end, we just mimic the core/Makefile that is used in Daisy examples.

This is also using the ffconf.h defined in libDaisy, which doesn't allow to reconfigure FatFS. One thing we would have wanted would be to have #define _FS_READONLY 1, but the difference for compilation seems quite minimal (2% of 128KB) (when not using f_write anyway).

@ohmtech-rdi ohmtech-rdi added the feature Feature label Dec 6, 2024
@ohmtech-rdi ohmtech-rdi self-assigned this Dec 6, 2024
@ohmtech-rdi ohmtech-rdi merged commit 5249209 into main Dec 6, 2024
21 checks passed
@ohmtech-rdi ohmtech-rdi deleted the erbb-use-fatfs-support branch December 6, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant