Skip to content

Add compatibility with FatFs 0.12c #7

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

Merged
merged 2 commits into from
Sep 22, 2018
Merged

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Sep 22, 2018

Backward compatibility with FatFs 0.11 is kept.

It also allow to redefine hardware flow control
By default, it is disabled.
It could be redefined in variant.h adding:
If SDMMC:
#define SD_HW_FLOW_CTRL SDMMC_HARDWARE_FLOW_CONTROL_ENABLE
if SDIO:
#define SD_HW_FLOW_CTRL SDIO_HARDWARE_FLOW_CONTROL_ENABLE

or using build_opt.h:
If SDMMC:
-DSD_HW_FLOW_CTRL=SDMMC_HARDWARE_FLOW_CONTROL_ENABLE
if SDIO:
-DSD_HW_FLOW_CTRL=SDIO_HARDWARE_FLOW_CONTROL_ENABLE

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
By default, it is disabled.
It could be redefined in variant.h adding:
If SDMMC:
#define SD_HW_FLOW_CTRL SDMMC_HARDWARE_FLOW_CONTROL_ENABLE
if SDIO:
#define SD_HW_FLOW_CTRL SDIO_HARDWARE_FLOW_CONTROL_ENABLE

or using build_opt.h:
If SDMMC:
-DSD_HW_FLOW_CTRL=SDMMC_HARDWARE_FLOW_CONTROL_ENABLE
if SDIO:
-DSD_HW_FLOW_CTRL=SDIO_HARDWARE_FLOW_CONTROL_ENABLE

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
@fpistm fpistm merged commit cfefe5c into stm32duino:master Sep 22, 2018
@fpistm fpistm deleted the 0.12c branch September 22, 2018 09:38
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

Successfully merging this pull request may close these issues.

1 participant