This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

IAR To Keil Porting issue

Hi all,

For my project related requirements, we started porting the code base, which existed; compatible with IAR to KEIL IDE [Because, we decided to procure license for KEIL IDE].

But we stuck with the following error; while attempting to compile , we tried our level best to resolve this error. But ultimately; we unable to locate the source of error.

The following is the actual piece of response we received while attempting to compile the code base in KEIL

OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s: OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s: 1 warning, 0 errors
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(59): error: A1163E: Unknown opcode RSEG , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(66): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(67): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(68): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(69): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(70): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(71): error: A1163E: Unknown opcode PUBLIC , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(75): error: A1163E: Unknown opcode vSetMSP , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(81): error: A1163E: Unknown opcode xPortPendSVHandler: , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(119): error: A1163E: Unknown opcode vPortSetInterruptMask: , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(129): error: A1163E: Unknown opcode vPortClearInterruptMask: , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(139): error: A1163E: Unknown opcode vPortSVCHandler: , expecting opcode or Macro
OS\FreeRTOS\Source\portable\IAR\ARM_CM0\portasm.s(160): error: A1163E: Unknown opcode vPortStartFirstTask: , expecting opcode or Macro

If you could suggest a good solution, then i would be grateful.

Thanks & Regards
Prakash V

0