Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

Unable to compile FreeRTOSV9.0.0rc1 with IAR 2.20

Posted by dbabula on March 4, 2016

Hello,

I've tried to compile and link demo project for RL78 micro called RL78RL78G13PromoBoardIAR. However new version of IAR cannot compile it. Following errors pops up in file portasm.s87 at lines from 101 to line 107, here is code snippet:

~~~~ COMMON INTVEC:CODE:ROOT(1) ORG configTICK_VECTOR DW vPortTickISR

COMMON INTVEC:CODE:ROOT(1)
ORG 126
DW vPortYield

~~~~

and here are error messages:

Error[As078]: Directive COMMON not supported in ELF mode. C:UsersjohnDesktopfreertos-masterFreeRTOSSourceportableIARRL78portasm.s87 101 Error[As078]: Directive ORG not supported in ELF mode. C:UsersjohnDesktopfreertos-masterFreeRTOSSourceportableIARRL78portasm.s87 102 Error[As078]: Directive COMMON not supported in ELF mode. C:UsersjohnDesktopfreertos-masterFreeRTOSSourceportableIARRL78portasm.s87 105 Error[As078]: Directive ORG not supported in ELF mode. C:UsersjohnDesktopfreertos-masterFreeRTOSSourceportableIARRL78portasm.s87 106

Could you please advise what shall be done in order to compile and link this project. I've tried with older version of IAR and it compiled well.

Version of FreeRTOS is FreeRTOSV9.0.0rc1, downloaded from sourceforge, unfortunatelly I cannot find revision number.


Unable to compile FreeRTOSV9.0.0rc1 with IAR 2.20

Posted by rtel on March 4, 2016

From your post it sounds like the latest compiler version is not compatible with previous compiler versions. Please see if IAR provide an upgrade guide and report back what you find.


Unable to compile FreeRTOSV9.0.0rc1 with IAR 2.20

Posted by dbabula on March 4, 2016

I couldn't find any specific upgrade tutorial, I've noticed however that documents EWRL78_AssemblerReference.ENU.pdf differ with each other in regard to chapters which are called :

Segment control directives ( old compiler version)

and

Section control directives ( new compiler version )

On renesas forum I found also some post from a guy with similar problems.

http://renesasrulz.com/renesasforumhome/rl78/f/26/t/6145.aspx

Should I consult with IAR guys regarding to those problems. I'd really try to do this on my own but I'm not familiar with IAR compiler and stuff. Thank you for response by the way.


Unable to compile FreeRTOSV9.0.0rc1 with IAR 2.20

Posted by dbabula on March 4, 2016

Wait, maybe I found some documents, which are telling about migration, it's called:

EW_MigrationFromUBROF.pdf

I'm just starting to read it.


Unable to compile FreeRTOSV9.0.0rc1 with IAR 2.20

Posted by rtel on March 4, 2016

Sounds promising. Please report back any findings or solutions.

Regards.


Unable to compile FreeRTOSV9.0.0rc1 with IAR 2.20

Posted by nisapov on July 15, 2016

I found a workaroung using absolute sections:

ASEGN `.intvec`:CODE:ROOT,configTICK_VECTOR
DATA16
DC16    _vPortTickISR

ASEGN `.intvec`:CODE:ROOT,126
DATA16
DC16    _vPortYield

Unable to compile FreeRTOSV9.0.0rc1 with IAR 2.20

Posted by focusfeel on April 7, 2017

I have changed my code as Nayden Isapov said, but I got these errors, how can I resolve them?

Error[Li005]: no definition for "usCriticalNesting" [referenced from E:WorkZoneWorkProjectsRL78ProjsBaseLineBaseProjectProjDebugObjportasm.o] Error[Li005]: no definition for "pxCurrentTCB" [referenced from E:WorkZoneWorkProjectsRL78ProjsBaseLineBaseProjectProjDebugObjportasm.o] Error[Li005]: no definition for "xTaskIncrementTick" [referenced from E:WorkZoneWorkProjectsRL78ProjsBaseLineBaseProjectProjDebugObjportasm.o] Error[Li005]: no definition for "vTaskSwitchContext" [referenced from E:WorkZoneWorkProjectsRL78ProjsBaseLineBaseProjectProjDebugObjportasm.o]


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists