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 comentarios

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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.

Preguntada:

el 25 de Nov. de 2020

Comentada:

el 4 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by