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 Commenti

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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by