Simulink error for undeclared values by CubeMx
Hi,
I want to connect my STM32H753ZI Nucleo board to Simulink. I have generated the CubeMx file to blink a simple LED. At first, I got some errors for missing header files. I added them manually. Now, I have the following error when I try to compile the file.
error: 'STLK_TX_Pin' undeclared (first use in this function); did you mean 'STLINK_TX_Pin'?
291 | GPIO_InitStruct.Pin = STLK_RX_Pin|STLK_TX_Pin;
error: 'USB_PowerSwitchOn_GPIO_Port' undeclared (first use in this function) 392 | LL_GPIO_ResetOutputPin(USB_PowerSwitchOn_GPIO_Port, USB_PowerSwitchOn_Pin);
error: 'Direction_GPIO_Port' undeclared (first use in this function) 395 | LL_GPIO_ResetOutputPin(Direction_GPIO_Port, Direction_Pin);
...
As it is recommended by Matlab, I am using CubeMX 6.4. The version of my H7 package is 1.11.0. It is highly appropriated helping to solve this problem.
Thanks
