Author Topic: STR9Comstick IAR  (Read 19508 times)

Offline abhimanyum

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Ae Applications
STR9Comstick IAR
« on: August 27, 2011, 09:03:24 PM »
Hi There,

I've been running IAR Workspace (provided one) and getting these errors, if any one can help me.

Code: [Select]
Building configuration: uTaskerV1.3 - Bank 0 full
Updating build tree...
91x_init.s
Error[109]: Expression is too complex C:\RTOS\uTaskerRTOS\Hardware\STR91XF\91x_init.s 186
Error[109]: Expression is too complex C:\RTOS\uTaskerRTOS\Hardware\STR91XF\91x_init.s 186
Error[109]: Expression is too complex C:\RTOS\uTaskerRTOS\Hardware\STR91XF\91x_init.s 186
Error[109]: Expression is too complex C:\RTOS\uTaskerRTOS\Hardware\STR91XF\91x_init.s 186
Error[109]: Expression is too complex C:\RTOS\uTaskerRTOS\Hardware\STR91XF\91x_init.s 186
Error[109]: Expression is too complex C:\RTOS\uTaskerRTOS\Hardware\STR91XF\91x_init.s 186
Error while running Assembler
91x_vect.s
Error[40]: Bad instruction C:\RTOS\uTaskerRTOS\Hardware\STR91XF\91x_vect.s 23
Error while running Assembler
Driver.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
Ethernet.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
GlobalTimer.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
KeyScan.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
LCD.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
NetworkIndicator.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
STR91XF.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
Tty_drv.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
Watchdog.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
a.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
application.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
arp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
debug.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
dhcp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
dns.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
eth_drv.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
ftp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
http.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
icmp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
ip.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
ip_utils.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
low_power.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
ppp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
smtp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
snmp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
tcp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
telnet.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
uFile.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
uMalloc.C 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
uTasker.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
udp.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
webInterface.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
webutils.c 
Fatal Error[Pe1696]: cannot open source file "intrinsic.h" C:\RTOS\uTaskerRTOS\hardware\STR91XF\STR91XF.h 24
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\.\"
            searched: "C:\RTOS\uTaskerRTOS\Applications\uTaskerV1.3\IAR_STR91XF\..\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\"
            searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.0 Kickstart\arm\inc\c\"
Error while running C/C++ Compiler
 
Total number of errors: 40
Total number of warnings: 0



Thanks in Advance

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3243
    • View Profile
    • uTasker
Re: STR9Comstick IAR
« Reply #1 on: August 27, 2011, 10:03:14 PM »
Hi

You have a newer IAR version that V4.0 and that means that the project needed to be converted when it was opened.

Unfortunately IAR changed a lot of things between these versions and so it may be a little difficult to get it working.

1) They have made some changes to the compiler:
- the intrinsics header file has been renamed from intrinsic.h to intrinsics.h. This is easy to fix - add a pre-processor define COMPILE_IAR_4_4 to the project and this will then be OK (it was changed soemwhere around the IAR version 4.4). Or just rename the include in STR91XF.h.
- some pragmas are different: instead of using #pragma optimize=2, #pragma optimize=none can be used.

2) The Assember is different and it doesn't understand the older assembler style. Here it will be necessary to take a look at a reference (newer) assembler file and see what is different. Usually it is some silly detail like writing things small rather than with capitals, or using dots to separes reuister names, etc. This shouldn't be a big thing to change once you have a reference.

3) They use a different linker which requires different linker script files. Again you need to compare with a reference (which are very different) and adapt one of these to suit. As long as you understand the memory map that you want it is probably possible to use an example one from IAR for the processor.

Regards

Mark

Offline abhimanyum

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Ae Applications
Re: STR9Comstick IAR
« Reply #2 on: August 28, 2011, 03:52:06 PM »
Thanks