added support for 1-line bus width sdmmc device mode#482
added support for 1-line bus width sdmmc device mode#482KenVanHoeylandt merged 1 commit intoTactilityProject:mainfrom
Conversation
📝 WalkthroughWalkthroughThe changes make the SDMMC device bus width configurable. Previously, the bus width was hard-coded to 4 bits. Now it is a configurable parameter in the Config structure with a default value of 4. The SdmmcDevice class stores this configuration in a private member variable and uses it when initializing the SDMMC slot configuration. This allows different bus width values to be set when creating an SdmmcDevice instance while maintaining backward compatibility through the default value. 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
|
Thank you for improving the driver. |
This MR adds support for 1-line bus width mode in the SDMMC driver to accommodate boards with limited pin availability, while maintaining the 4-line mode as the default.
Summary by CodeRabbit