MATLAB Answers

Problems by setting up a propper IAR Project for ARM

1 view (last 30 days)
Lunae
Lunae on 3 Sep 2019
Answered: Anirban on 31 Oct 2019
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.

  0 Comments

Sign in to comment.

Answers (1)

Anirban
Anirban on 31 Oct 2019
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

  0 Comments

Sign in to comment.

Sign in to answer this question.

Products


Release

R2019a

Translated by