Open-CMSIS-Pack / generator-bridge

Reference examples of a generator bridge. E.g. STCubeMX_Bridge
Apache License 2.0
2 stars 6 forks source link

Enhance cbridge to include USBH instance and SD/MMC mode information in MX_Device.h #63

Closed DavidLesnjak closed 4 months ago

DavidLesnjak commented 4 months ago

Describe The Problem To Be Solved CMSIS driver USBH_STM32 requires information about USBH handle. Example:

#define MX_USB_OTG_HS_HANDLE                    hhcd_USB_OTG_HS

CMSIS driver MCI_STM32 requires information about SD/MMC mode. Example:

#define MX_SDMMC1_MODE_MMC                      1
#define MX_SDMMC2_MODE_SD                          1

Extend cbridge to provide required information in MX_Device.h