#75 RX600: intermediate macros used in xPortStartScheduler()

v1.0 (example)
closed-invalid
Richard
RX600 (1)
1
2014-04-24
2013-11-05
Frank
No

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)
.

Discussion

  • Richard

    Richard - 2013-11-05

    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?

     
  • Frank

    Frank - 2013-11-05

    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.

     
  • Real Time Engineers ltd.

    • status: open --> closed-invalid
     
  • Real Time Engineers ltd.

    Checked using iodefine.h from the latest KPIT tools (currently 14.x) as the project built and executed without issue.

     

Log in to post a comment.