[RTEMS Project] #3200: m32c tests don't build -- test_context too large

RTEMS trac trac at rtems.org
Mon Oct 23 18:12:30 UTC 2017


#3200: m32c tests don't build -- test_context too large
---------------------------+------------------------------
 Reporter:  Joel Sherrill  |       Owner:  Sebastian Huber
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  4.12.0
Component:  unspecified    |     Version:  4.12
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------
Changes (by Joel Sherrill):

 * owner:  Chris Johns => Sebastian Huber


Comment:

 The number of resources needs to be lowered on m32c. It has limited
 indexing and offset ability in its instructions. This patch lets it
 compile. Is this OK to commit?

  git diff
 diff --git a/testsuites/tmtests/tmfine01/init.c
 b/testsuites/tmtests/tmfine01/i
 index 31843ce..4d9e6ec 100644
 --- a/testsuites/tmtests/tmfine01/init.c
 +++ b/testsuites/tmtests/tmfine01/init.c
 @@ -28,7 +28,11 @@

  const char rtems_test_name[] = "TMFINE 1";

 +#if defined(__m32c__)
 +#define CPU_COUNT 3
 +#else
  #define CPU_COUNT 32
 +#endif

  #define MSG_COUNT 3

--
Ticket URL: <http://devel.rtems.org/ticket/3200#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list