PowerPC gwlcfm and mpc5566evb build failure

Peter Dufault dufault at hda.com
Mon Dec 15 21:38:41 UTC 2014


> On Dec 15, 2014, at 13:33 , Joel Sherrill <Joel.Sherrill at oarcorp.com> wrote:
> 
> In file included from
> ../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:23:0:
> ../../../../.././gwlcfm/lib/include/mpc55xx/regs.h:83:4: error: #error
> "unsupported chip type"
>   #error "unsupported chip type"

I'm not sure why, check your bspopts.h.  It builds OK for the Phytec MPC5554, and c/src/lib/libcpu/powerpc/mpc55xx/include/regs.h has a match for chip families 551 and 556.

The chip type is set in configure.ac and the chip family is defined there as the chip type / 10:

----
RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[gwlcfm],[5516])
RTEMS_BSPOPTS_SET([MPC55XX_CHIP_TYPE],[mpc5566*],[5566])
...
RTEMS_BSPOPTS_SET([MPC55XX_CHIP_FAMILY],[*],[(MPC55XX_CHIP_TYPE / 10)])
RTEMS_BSPOPTS_HELP([MPC55XX_CHIP_FAMILY],
[specifies the chip family in use (e.g. 555 for MPC5554)])
---

What's your MPC55XX_CHIP_TYPE in bspopts.h?

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering




More information about the devel mailing list