2025-06-20 2:48 AM - edited 2025-06-20 3:48 AM
Hello,
I am working on USB Device VCP project but I have problem about defines,index,etc. As you can see below that I have definition of "STM32N655xx" but I can not include "stm32n655xx.h".
I tried Index, Rebuild step but it did not fix. On the other hand, I am also getting this problem for other files. My code is giving hardfault because it can not acces to "HAL_PCD_MspInit" while initializing "HAL_PCD_Init".
I started getting code generate problems from .ioc file for N6 series but i will start new thread for this problem.
Edit:
I also forget to mention that CMSIS drivers outside of project folder as you can see below.
I have "STM32N655xx" define inside of this projects but this folder can not acces to this symbol. If I can fix this, problem will be solved but I do not think that I have to do anything for this problem. Is this a bug?
Thanks for help,
Best Regards.
2025-06-23 3:31 AM
Hello @B.Kaya
First let me thank you for posting.
Unfortunately, I am not able to reproduce the described behavior.
Could you provide the ioc file of the configuration?
Can you check the symbols definition under C/C++ Build > Settings
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.
2025-06-23 3:34 AM
Hi @Semer CHERNI ,
You can find ioc file in this thread. https://community.st.com/t5/stm32-mcus-products/usb-device-cdc-acm/m-p/815113#M281355