xterse wrote on Thursday, January 03, 2008:
Thanx for prompt reply, guys!
If I copy intrinsics.h to intrinsic.h, C-compilation seems to work, but I still get these assembler errors:
Error: Section type missing FreeRTOSV4.1.3\FreeRTOS\Demo\uIP_Demo_IAR_ARM7\SrcIAR\Cstartup.s79 34
Error: Section type missing FreeRTOSV4.1.3\FreeRTOS\Demo\uIP_Demo_IAR_ARM7\SrcIAR\Cstartup.s79 35
Error: Bad instruction FreeRTOSV4.1.3\FreeRTOS\Demo\uIP_Demo_IAR_ARM7\SrcIAR\Cstartup.s79 41
Warning: ENDMOD directive is ignored (only one module is allowed) FreeRTOSV4.1.3\FreeRTOS\Demo\uIP_Demo_IAR_ARM7\SrcIAR\Cstartup.s79 220
It seems it doesn’t like these lines:
Read in ARM® IAR Embedded Workbench Migration Guide
Migrating from version 4.x to version 5.x
In version 5.x, neither the assembler nor the compiler can make a distinction between
program and library modules. If you want a module to be treated as a library module,
thus conditionally linked, you must place the module in a library.
This means that if you have used either the LIBRARY or the MODULE directive in your
existing assembler source code, these will no longer have any effect.
In version 4.x, you could define one or several assembler modules in each file. In version
5.x, there can only be one module per file. This means that you have to restructure your
To read more about modular programming and the new syntax of the module directives.
see the ARM® IAR Assembler Reference Guide.
So - what do you think I should do?
Should I uninstall 5.0 and go for the old 4.x compiler version or are there simple hacks to fix this as well?
Thanx in advance.