SIMULINK PIL error at code generation for STM32f4-Discovery
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Raghavendra Kandur
le 10 Juin 2015
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 commentaires
Voir également
Catégories
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
Afficher plus
En savoir plus sur Code Generation for ARM Cortex-M and ARM Cortex-A Processors dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!