-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
bug 🐛Something isn't workingSomething isn't working
Milestone
Description
Describe the bug
Compilation errors when I use the following configuration with the Nucleo-U5A5ZJ-Q:
The output:
C:\Users\user1\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.11.0\libraries\USBDevice\src\usbd_conf.c: In function 'HAL_PCD_MspInit':
C:\Users\user1\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.11.0\libraries\USBDevice\src\usbd_conf.c:174:5: error: implicit declaration of function '__HAL_RCC_USB_OTG_HS_ULPI_CLK_ENABLE' [-Wimplicit-function-declaration]
174 | __HAL_RCC_USB_OTG_HS_ULPI_CLK_ENABLE();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\user1\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.11.0\libraries\USBDevice\src\usbd_conf.c:194:7: error: implicit declaration of function '__HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_IT' [-Wimplicit-function-declaration]
194 | __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_IT();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\user1\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.11.0\libraries\USBDevice\src\usbd_conf.c:197:28: error: 'OTG_HS_WKUP_IRQn' undeclared (first use in this function); did you mean 'OTG_HS_IRQn'?
197 | HAL_NVIC_SetPriority(OTG_HS_WKUP_IRQn, USBD_IRQ_PRIO, USBD_IRQ_SUBPRIO);
| ^~~~~~~~~~~~~~~~
| OTG_HS_IRQn
C:\Users\user1\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.11.0\libraries\USBDevice\src\usbd_conf.c:197:28: note: each undeclared identifier is reported only once for each function it appears in
exit status 1
Compilation error: exit status 1
To Reproduce
Steps to reproduce the behavior:
- Create new sketch.
- Compile using configuration shown above.
- See error.
Expected behavior
Compilation success.
Desktop:
- OS: Windows
- Arduino IDE version: 2.3.6
- STM32 core version: 2.11.0
Board:
- Name: Nucleo-U5A5ZJ-Q
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't working
Type
Projects
Status
To do