cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6 Index Problem

B.Kaya
Associate III

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.

2 REPLIES 2
Semer CHERNI
ST Employee

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

 

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.