Error encountered when building with updated Embedded Coder Support Package for C2000

After a fresh install I get :
### Generating code into build folder: C:\temp\pil_test_a\c2000_ext_test_a_ert_rtw ### Invoking Target Language Compiler on c2000_ext_test_a.rtw ### Using System Target File: C:\MATLAB\R2018a\rtw\c\ert\ert.tlc ### Loading TLC function libraries ### Initial pass through model to cache user defined code . ### Caching model source code ### Writing header file c2000_ext_test_a_types.h ### Writing header file c2000_ext_test_a.h ### Writing header file rtwtypes.h ### Writing source file c2000_ext_test_a.c ### Writing header file c2000_ext_test_a_private.h . ### Writing source file c2000_ext_test_a_data.c ### Writing header file rtmodel.h ### Writing source file ert_main.c ### TLC code generation complete. ### Evaluating PostCodeGenCommand specified in the model ### Build procedure for model: 'c2000_ext_test_a' aborted due to an error. Error encountered while executing custom build hooks f28335BeforeMakeHook(modelName);: Undefined function 'f28335BeforeMakeHook' for input arguments of type 'char'. Caused by: Undefined function 'f28335BeforeMakeHook' for input arguments of type 'char'.
Any idea why?

3 commentaires

I got it to work - there were multiple folders under C:\ProgramData\MATLAB from different MATLAB installs which were causing issues. I deleted them all, started over fresh and now it's working like is supposed to. One of the Readme notes was talking about being able to create a code composer studio project from Diagnostics - that is not showing up - is there some switch that makes that happen?
Please can you update on the CCS version being used.
It was CCS version 7.4.0.00015 - but like I stated above - it's all good now.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by