Problems by setting up a propper IAR Project for ARM

1 次查看(过去 30 天)
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
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

Community Treasure Hunt

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

Start Hunting!

Translated by