RX600: intermediate macros used in xPortStartScheduler()
Market leading real time kernel for 40+ microcontroller architectures
Brought to you by:
gaurav-aws,
rtel
xPortStartScheduler() in Source\portable\GCC\RX600\port.c does not use the top-level macros provided by iodefine.h. iodefine.h is generated by the KPIT GNU Project Generator when creating a new project.
Example:
instead of
_IEN( _ICU_SWINT ) = 1;
it should be
IEN(ICU, SWINT) = 1;
The attached patch fixes this issues (apply to \trunk rev. 2065)
.
The code as is compiled ok when it was created. Is the issue due to a compiler version change that has resulted in changes to the names of defines in iodefine.h? If so, which compiler version are you using and are you getting compiler errors when compiling unmodified code?
No, I don't get a compiler error.
I'm using KPIT's gcc 4.7-GNURX_v13.01.
I found this issue because iodefine.h in the demos (e.g. Demo\RX600_RX62N-RSK_GNURX\RTOSDemo\include\iodefine.h, line 16-36) suggests the usage of this macros.
I forgot the patch, it is attached to this comment now.
Checked using iodefine.h from the latest KPIT tools (currently 14.x) as the project built and executed without issue.