davids5 opened a new pull request, #7174: URL: https://github.com/apache/incubator-nuttx/pull/7174
## Summary The IDMA needs to have 32 bit word alignment, in fact it will AND off the lower 2 bits of the value stored in IDMABASE0R. This bug was masked by CONFIG_ARMV7M_DCACHE causing proper word alignment and also FAT_DMAMEMORY being aligned. This commit extends the unaligned logic (used for dcache) to take into account the need for a buffer copy when the buffer is ot 32 bit word. It leverages the fact that when CONFIG_ARMV7M_DCACHE is not defined the up_xxxxx_dcache are nops. ## Impact Fixes configuration without CONFIG_ARMV7M_DCACHE ## Testing Uses PX4's `sd_bench` CONFIG_STM32H7_SDMMC_IDMA | CONFIG_ARMV7M_DCACHE | Build | Test -- | -- | -- | -- Off | Off | Pass | Pass On | Off | Pass | Pass Off | On | Pass | Pass On | On | Pass | Pass -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org