Closed josesimoes closed 11 months ago
Without this define here, when setting
#define STM32_USBH_USE_OTG2 TRUE
the build will fail with:
ChibiOS-Contrib/os/hal/ports/STM32/LLD/USBHv1/hal_usbh_lld.c:1611:6: error: "STM32_OTG1_USE_ULPI" is not defined, evaluates to 0 [-Werror=undef] [build] 1611 | #if !STM32_OTG1_USE_ULPI && !STM32_OTG2_USE_ULPI [build] | ^~~~~~~~~~~~~~~~~~~
Because STM32_OTG1_USE_ULPI is not defined (this is withe the build option to treat warnings as errors).
STM32_OTG1_USE_ULPI
Can anyone take a look at this please?
Thank you!
Without this define here, when setting
#define STM32_USBH_USE_OTG2 TRUE
the build will fail with:
Because
STM32_OTG1_USE_ULPI
is not defined (this is withe the build option to treat warnings as errors).