Skip to main content
Associate II
June 20, 2025
Question

STM32N6 Index Problem

  • June 20, 2025
  • 1 reply
  • 380 views

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

BKaya_0-1750412741674.pngBKaya_1-1750412775627.png


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.

BKaya_0-1750416360701.png

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.

1 reply

Semer CHERNI
ST Employee
June 23, 2025

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

SemerCHERNI_0-1750674651150.png

 

B.KayaAuthor
Associate II
June 23, 2025

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 

BKaya_0-1750674855210.png