2024-12-19 08:08 PM - last edited on 2024-12-20 12:12 AM by SofLit
Hello,
I am trying to compile some USB examples for the Nucleo-STM32N657X0-Q board that is available with the STM32CubeN6, but they are failing.
All USB examples at this location do not compile with IAR
STM32Cube_FW_N6_V1.0.0\Projects\NUCLEO-N657X0-Q\Applications\USBX
It seems to be related with the following library(USBPDCORE_NOPD_CM55_wc32.a) adding FPU instructions, when the MCU does not support it.
Is there an updated version for the STM32CubeN6 SDK that solves this problem?
Regards,
wes_fflores
2024-12-20 01:08 AM
Hello @wes_fflores
I've test it personally using the IAR V9.50.2. Opening the project directly from Repository\STM32Cube_FW_N6_V1.0.0\Projects\NUCLEO-N657X0-Q\Applications\USBX\Ux_Device_CDC_ACM\EWARM\Project.eww and compile it does not show any error.
Could you please confirm and send a screenshot of your error and the Tools you are using (if you are using CubeMX or not).
Best Regards.
STTwo-32
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-12-20 06:40 AM
Hello STTwo-32,
I am currently using the following:
* EWARM v9.60.3
* STM32CubeN6 V1.0.0; I got this version from ST website https://www.st.com/en/embedded-software/stm32cuben6.html
Compiling with EWARM v9.60.3 I get the error shown on image IAR 9.60.3 compile Error.PNG
I also tried the same example you personally tested to double check STM32Cube_FW_N6_V1.0.0\Projects\NUCLEO-N657X0-Q\Applications\USBX\Ux_Device_CDC_ACM
>> I've test it personally using the IAR V9.50.2.
I assume you have a modify 9.50.2 version for IAR because I also downloaded the same version and the compiling result shows too many errors(IAR 9.50.2 error.PNG), which is probably due to the version not supporting STM32N6 series as shown on image IAR 9.50.2 default configurations.PNG
Regards,
wes_fflores
2024-12-20 06:42 AM