rogerclarkmelbourne / Arduino_STM32

Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
Other
2.52k stars 1.26k forks source link

How can I run SDIO Lib for STM32C8 #899

Closed JK-Pair closed 1 year ago

JK-Pair commented 1 year ago

In the Arduino_STM32/tree/master/STM32F1/cores/maple/libmaple)/sdio.h,

I saw #if defined(STM32_HIGH_DENSITY) || defined(STM32_XL_DENSITY)

I am curious that the STM32C8 isn't STM32_HIGH_DENSITY, If I would like to use the SDIO lib, How can I do that? Can I just replace HIGH_DENSITY to MEDIUM_DENSITY?

Thank you