2024-04-22 01:41 PM
I am pretty new to STM32CubeIDE and am trying to build the example project for I3C_Controller_Direct_Command_DMA using the STM32Cube_FW_H5_V1.2.0>Projects>NUCLEO-H563ZI>Examples>I3C>I3C_Controller_Direct_Command_DMA project example and following this example document.
Following the document, i needed to have this code in the desc_target1.h so i started there.
At first, this header was not in my project, or i couldn't access it, so i imported it manually which fixed that problem and this is the code that was in it by default. The problem I'm facing is the errors I am getting. "unknown type name 'TargetDesc_TypeDef'" "'DEVICE_ID1' undeclared here (not in a function)" "excess elements in scalar initializer" etc.
Am i not including this header file correctly? Am i missing more files for my project? Am i not following the example correctly? Please if anyone has any insight i would greatly appreciate it.
Solved! Go to Solution.
2024-04-23 07:23 AM
Hello @JRM_02 ,
You need only to add to main.h :
Check this WIKI : Getting started with I3C - stm32mcu
I hope it helps!
Foued
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-04-23 07:23 AM
Hello @JRM_02 ,
You need only to add to main.h :
Check this WIKI : Getting started with I3C - stm32mcu
I hope it helps!
Foued
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-04-23 09:05 AM
Thank you so much! the WIKI is a LOT a more clear. Appreciate the help!