Questions tagged [iar]

IAR Systems supplies software development tools and services that make embedded systems fast, efficient and reliable for companies worldwide. This tag focuses on the IAR C/C++ Compilers, IDE and code quality analysis tools.

IAR Systems, an embedded system technology company founded in Sweden in 1983, specialize in creating development tools for embedded systems. Products include:

  • IAR Embedded Workbench: C/C++ compiler and a state-of-art debugger for developing applications targetting microcontrollers ranging from the smallest 8-bit devices up to high-performance 64-bit architectures from more than 70 silicon vendors.
  • IAR C-STAT: Static analysis add-on with support for MISRA-C, CWE and CERT rules
  • IAR C-RUN: Runtime analysis add-on for detecting data type casting, integer overflow and memory management errors
  • IAR Build Tools: All the build tools components from the Embedded Workbench for building from the command line, ideal for Continuous Integration and Modern Developent Workflows. Now also available for Linux.
  • IAR Visual State: tools for designing, testing and implementing embedded applications based on state machines.
638 questions
-2
votes
1 answer

IAR does not correctly compile C++ file with Auto (extension-based) option enabled

This may be a bit of a long shot... I have a C project and want to include a C++ file however I am getting an error with the following code: //GPIO_CPP.cpp class GPIO { public: uint32_t Port; uint32_t Pin; }; #ifndef…
regimon
  • 1
  • 4
-2
votes
2 answers

Stumped - Code compiles but nothing happens on the microcontroller's end. I suspect something in the ISRs may be the culprit

My task is to take a functional program written by my instructor in assembly language and convert it to C language. The program is written for the TI MSP430G2553, and utilizes an attached 4-digit LED display with three side-by-side push-buttons. The…
jettg
  • 15
  • 2
-2
votes
1 answer

although i declare 2 variables and pass 2 variables i get too few arguments in function call error

I am beginner with c. I declare 2 variables and pass 2 variables. So, I didn't understand, why this error occurs. Also when i remove "0b" from error line code is working Regards. Here is my main code and function Message:Error[Pe165]: too few…
Mustafa
  • 37
  • 1
  • 7
-2
votes
1 answer

IAR 6.50 shows multiple errors while project build

I am trying to add my existing project into IAR 6.50 Compiler. I have followed each and every step as mentioned in the User Guide to setup the compiler and project. Now when I build my project it's giving me errors as shown in below image All of…
-2
votes
1 answer

Creating new memory regions for heap / stack for voracious algorithm

Used manual ranges in IAR Memory Configuration setup and created a new Read/Write region on all available rest memory (until 0xFFFFFFFF). Then attached this region in linker for heap / stack. Is it proper way to extend the available for the program…
Pleeea
  • 362
  • 4
  • 12
-3
votes
1 answer

Code porting from IAR ver 7.50 to IAR ver 6.30

I'm using IAR 7.50 code limit version. Now i'm trying to port my project to IAR ver 6.30. Please anyone share the procedure to follow to do this porting. Thank you in Advance Basavanagouda
-3
votes
1 answer

LCD Base Address

I'm coding in C with microcontrollers as part of degree and am struggling to find the base address of different components. The microcontroller I am using is the MSP430FR413x and I am currently trying to figure out the base address of the LCD screen…
Aidan Howie
  • 95
  • 1
  • 10
-4
votes
1 answer

C programming why local variable is unavailable in debugger after ++ operation?

i made that simple code that declares 21 locals and do a ++ op so that the compiler don't show an error . but the problem is when i continue my debug my locals show that value is unavailable or error but the register window shows that my operation…
1 2 3
42
43