2024-06-12 01:23 AM
Hello
i have problem to compile STM32Cube_FW_F7_V1.17.0\Middlewares\ST\STM32_USB_Device_Library
I use STM32CubeIDE Version: 1.14.0 + STM32CubeMX Version: 6.10.0-RC9
chip STM32F767ZITx (NUCLEO-F767ZI)
I'm mainly interested in the cause
expected '=', ',', ';', 'asm' or '__attribute__' before 'USBD_ConfigDescTypeDef' usbd_def.h
from which most other errors probably derive
Solved! Go to Solution.
2024-06-12 01:56 AM
Hi @PNova.2
It is possible you have changed usbd_core.c or usbd_def.h library files by mistake. I suggest you update latest versions of CubeF7 and CubeIDE.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-06-12 01:56 AM
Hi @PNova.2
It is possible you have changed usbd_core.c or usbd_def.h library files by mistake. I suggest you update latest versions of CubeF7 and CubeIDE.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-06-12 02:50 AM
Looks like it's not recognising the "__PACKED" there.
2024-06-12 04:39 AM
thanks - it helped to update the latest versions of CubeF7