Hello,
I'm trying to migrate our products from gcc to IAR Embedded Workbench 2.21.1 for RL78 without success.
The current demo is not compliant with the latest version of IAR Embedded Workbench (ORG and COMMON seems to be deprecated):
COMMON INTVEC:CODE:ROOT(1)ORG configTICK_VECTORDW vPortTickISR
COMMON INTVEC:CODE:ROOT(1) ORG 126 DW vPortYield
Is there a working up-to-date example available ?
Thank you,
Matthieu
This demo has been developped for EWRL V.1.xx. It cannot be compiled with EWRL V.2.xx.
I don't know of a port to work with EWRL V.2.xx
Please have a look at the Release Notes of EWRL. There is also a link to a document describing how to migrate a project from V.1.xx to V.2.xx.
I've found a way to write an IAR 2.21.1 compliant version of this assembly part looking the assembly dump of my serial port setup function :
/* IAR 2.21.1 */
ASEGN `.intvec`:CODE:ROOT,56
DATA16
DC16 _vPortTickISR
ASEGN `.intvec`:CODE:ROOT,126
DC16 _vPortYield
FreeRTOS is now working as expected ! :)