SIMULINK PIL error at code generation for STM32f4-Discovery
4 次查看(过去 30 天)
显示 更早的评论
Now I am trying to start PIL simulation (MATLAB 2014a, STMicroelectronics STM32F4-Discovery 14.1.3, ARM Cortex-M 14.1.1 - Embedded Coder, 14.1.0 - DSP System Toolbox), but i have this error at code generating:
Error evaluating 'InitFcn' callback of S-Function block (mask) 'stm32f4discovery_pil_block/Controller1/Controller_sfcn'.
An error occurred while calling into the SIL or PIL target connectivity implementation.
Path "$(CMSIS)\CMSIS\Lib\GCC\libarm_cortexM4lf_math.a" specified in the application framework BuildInfo is not an absolute path. To avoid this error, specify only absolute paths when adding files and paths to the application framework BuildInfo.
How can I solve this problem? I wrote to Now I am trying to start PIL simulation (MATLAB 2014a, STMicroelectronics STM32F4-Discovery 14.1.3, ARm Cortex-M 14.1.1 - Embedded Coder, 14.1.0 - DSP System Toolbox), but i have this error at code generating:
Error evaluating 'InitFcn' callback of S-Function block (mask) 'stm32f4discovery_pil_block/Controller1/Controller_sfcn'.
An error occurred while calling into the SIL or PIL target connectivity implementation.
Path "$(CMSIS)\CMSIS\Lib\GCC\libarm_cortexM4lf_math.a" specified in the application framework BuildInfo is not an absolute path. To avoid this error, specify only absolute paths when adding files and paths to the application framework BuildInfo.
How can I solve this problem? I wrote to MathWorks Embedded Coder Team, but got no answer. They do not know the solution?
P.S. Model from help - stm32f4discovery_pil_block.slx.
0 个评论
回答(1 个)
Raghavendra Kandur
2015-6-10
Regarding the problem, we are not referring to any such libraries in the build process. I am not sure, how this is getting added to the build information of the model. Can you please send your model and the generated code for further investigations.
0 个评论
另请参阅
类别
Signal Processing
DSP System Toolbox
Code Generation
Code Generation for ARM Cortex-M and ARM Cortex-A Processors
Code Generation
Embedded Coder
Deployment, Integration, and Supported Hardware
Embedded Coder Supported Hardware
ARM Cortex-M Processors
显示更多
在 Help Center 和 File Exchange 中查找有关 Code Generation for ARM Cortex-M and ARM Cortex-A Processors 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!