Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The sample applications are found in \${RTEMS_ROOT}/testsuites/samples.

...

The right fix is to have the firmware bring up all PIC blocks with their "exception on event" bits cleared. For some reason that never happened; instead all our applications cleared these bits in the application pre-tasking hook. Comments in the BSP code complain of RTEMS enabling the exceptions "too soon". The sample apps are of course unaware of this hook. Also, one has to know how many of each kind of PIC block are on the board which varies from application to application; there is no "grand disable" bit one can set to silence them all. For the present we modify bsp_start.c so that it bsp_statr() calls the following function:

...