Problems by setting up a propper IAR Project for ARM

I work with Polyspace 2019A.
Inside the IAR - IDE i created a file with all the predefined Macros for my project. I included all the macros in the -D window of Polyspace. But, the compillation of the source code failed. Is there a "simple" solution for creating a propper project file for IAR -code ? On the MATLAB page, i found some topics, relating the IAR Compiler. One answer describe a batch file, that you could include in the compiler options inside the IAR - IDE. But, i can't find the content of such a batch file.

답변 (1개)

Anirban
Anirban 2019년 10월 31일

0 개 추천

Hi Lunae,
The contents of the batch file are given on the page itself. If you use the workflow stated in the page, in principle, you do not need to specify the -D's at all during the configuration. The polyspace-configure command in the first script will set up the required options for the subsequent analysis, so that there are no compilation errors later. See also: https://www.mathworks.com/help/bugfinder/ug/specify-target-environment-and-compiler-behavior.html

제품

릴리스

R2019a

질문:

2019년 9월 3일

답변:

2019년 10월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by