@@ -171,7 +171,6 @@ const mcu_periph_obj_t mcu_uart_rx_list[25] = {
171171
172172// Timers
173173// TIM6 and TIM7 are basic timers that are only used by DAC, and don't have pins
174- // TODO: H7 has more timers than this, but are they tied to pins?
175174TIM_TypeDef * mcu_tim_banks [14 ] = {TIM1 , TIM2 , TIM3 , TIM4 , TIM5 , NULL , NULL , TIM8 , NULL , NULL ,
176175 NULL , TIM12 , TIM13 , TIM14 };
177176
@@ -235,3 +234,25 @@ const mcu_tim_pin_obj_t mcu_tim_pin_list[58] = {
235234 TIM (8 , 3 , 3 , & pin_PI00 ),
236235 TIM (1 , 1 , 1 , & pin_PI01 ),
237236};
237+
238+ // SDIO - H750 has a MMC interface that includes SDIO
239+ SDMMC_TypeDef * mcu_sdio_banks [1 ] = {SDIO };
240+
241+ const mcu_periph_obj_t mcu_sdio_clock_list [1 ] = {
242+ PERIPH (1 , 12 , & pin_PC12 ),
243+ };
244+ const mcu_periph_obj_t mcu_sdio_command_list [1 ] = {
245+ PERIPH (1 , 12 , & pin_PD02 ),
246+ };
247+ const mcu_periph_obj_t mcu_sdio_data0_list [1 ] = {
248+ PERIPH (1 , 12 , & pin_PC08 ),
249+ };
250+ const mcu_periph_obj_t mcu_sdio_data1_list [1 ] = {
251+ PERIPH (1 , 12 , & pin_PC09 ),
252+ };
253+ const mcu_periph_obj_t mcu_sdio_data2_list [1 ] = {
254+ PERIPH (1 , 12 , & pin_PC10 ),
255+ };
256+ const mcu_periph_obj_t mcu_sdio_data3_list [1 ] = {
257+ PERIPH (1 , 12 , & pin_PC11 ),
258+ };
0 commit comments