Embedded Coder for TI F28379D cannot generate code for System Initialize block

Hi,
I am trying to disable the pull-up for some GPIO pins of F28379D (using embedded coder support package of TI). In this post, it is advised to use "System Initialize" block, however when I build the model, I get an error and encounter the following warning:
"Block <Root/System Initialize> is eliminated by code generation optimization. Code is not generated for eliminated blocks."
When I checked the optimization tab, I couldn't see anything related (or I didn't understand maybe). Could you please help me to solve this?

댓글 수: 3

You can try disabling the block reduction parameter by navigating to Configuration Parameters->Simulation Target->Advanced Parameters->Block Reduction and uncheck the parameter. For more information please follow the link below: https://www.mathworks.com/help/simulink/gui/block-reduction.html
I hope it helps.
This also didn't work. I still encounter the same warning.
Here is my model. I would really appreciate if you could have a look at it. Thanks in advance.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

질문:

2020년 11월 25일

댓글:

2020년 12월 4일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by