Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing define to hal_usbh_lld #384

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

josesimoes
Copy link
Contributor

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).

@josesimoes
Copy link
Contributor Author

Can anyone take a look at this please?

@fpoussin fpoussin merged commit 9b3d602 into ChibiOS:chibios-21.11.x Dec 19, 2023
1 check failed
@fpoussin
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants