| Welcome to AT91SAM Community Forum http://www.at91.com/samphpbb/ |
|
| @ "ICODE" Issue/ Visual Studio 2005 -> 2010 Upgrade http://www.at91.com/samphpbb/viewtopic.php?f=15&t=20644 |
Page 1 of 1 |
| Author: | wkhan69 [ Thu Feb 02, 2012 5:10 am ] |
| Post subject: | @ "ICODE" Issue/ Visual Studio 2005 -> 2010 Upgrade |
Hi all, Here is my issue: I have a project using Atmel AT91SAM7, with an IAR workbench compiler, using Visual Studio 2005. I recently upgraded my project to Visual Studio 2010, and my project stopped building. My error message is the following: Code: 1>C:\temp2\Devices\Device\BuildTools\iccarm.targets(45,5): error MSB3721: The command ""C:\Program Files\IAR Systems\Embedded Workbench 4.0\ARM\bin\iccarm" --silent -z9 --debug --cpu_mode thumb --endian little --cpu ARM7TDMI --stack_align 4 --interwork -e --fpu None -I "C:\Program Files\IAR Systems\Embedded Workbench 4.0\ARM\inc" Cstartup_SAM7.c-o Release\Cstartup_SAM7.r79" exited with code 2. When I look at the Cstartup_SAM7.c file, I see in the VS2010 IDE, the "@" symbol is underlined in red with the error message "unrecognized token" referring to the line: Code: void AT91F_LowLevelInit(void) @ "ICODE" When I open the project in VS 2005, there are no red lines, or warnings and it builds fine. I checked the project configuration properties (ie: IAR ARM ANSI C/C++ compiler, etc...) for the project, and they are almost identical (between VS 2010 and 2005). I am thinking the @ "ICODE" error is the main stumbling block to my project not building. The @ "ICODE" seems to be a built-in ARM directive that the compiler should know about. Does anyone have any suggestions on what to try? I am including links to files that may be related to this issue. (the filename attach feature of this forum is not working for me). target file: https://docs.google.com/open?id=0BzxmXl ... U3OTMxMmEw props file: https://docs.google.com/open?id=0BzxmXl ... JiZWJiOGZi Cstartup_SAM7.c file: https://docs.google.com/open?id=0BzxmXl ... YzOTI5YTNh Thanks in advance! Will |
|
| Author: | wkhan69 [ Fri Feb 03, 2012 1:49 am ] |
| Post subject: | Re: @ "ICODE" Issue/ Visual Studio 2005 -> 2010 Upgrade |
Hi. I have this issue fixed. I posted the same problem on a different forum and eventually worked it out. It did not have anything to do with @ "ICODE". If anyone else has issues with upgrading a project from Visual Studio 2005 to VS2010, please see the following thread for the fix: http://social.msdn.microsoft.com/Forums ... a25a75e481 Thanks, and good luck, Will |
|
| Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|



Forum