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

조회 수: 5 (최근 30일)
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
Dan Amarandei
Dan Amarandei 2018년 10월 10일
It was CCS version 7.4.0.00015 - but like I stated above - it's all good now.

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

답변 (2개)

Venkatesh Chilapur
Venkatesh Chilapur 2018년 9월 27일
Please pass on the model as attachment.

Dan Amarandei
Dan Amarandei 2018년 9월 27일
It's based on the standard Mathworks PIL example. See attached:

Community Treasure Hunt

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

Start Hunting!

Translated by