Hi to all,
I am using a STM32F4-Discovery Board and want to make in Simulink PIL tests on it.
This works very well, but when I am including the block "GPIO Write" from the library "Embedded Coder Support Package for STMicroelectronics STM32F4-Discovery Board" in my model and I want to start the PIL simulation, then the build process fails.
Following error mesage appears:
Error evaluating 'InitFcn' callback of S-Function block (mask) 'TEST_LED_PIL/Subsystem/Subsystem_sfcn'.
An error occurred while calling into the SIL or PIL target connectivity implementation.
Error(s) encountered while building model "Subsystem":
### Failed to generate all binary outputs.
In The build process I found the following messages:
"Subsystem.c:(.text.Subsystem_step+0x7a): undefined reference to `MW_GPIO_WriteBit'"
"Subsystem.c:(.text.Subsystem_initialize+0x1c): undefined reference to `MW_GpioInit'"
So can you help me?