How to add New BSP in RTEMS 5.0

Amarnath MB amarnath.mb at
Tue Dec 11 06:38:36 UTC 2018


Currently working on developing an RTEMS 5.0 BSP for a new SOC based on
I have taken lpc32xx_mzx as the reference BSP and have made following
changes in the RTEMS master,

   1. Created a new folder <target> for my target inside /bsps/arm/
   2. Added .inc and .cfg files for the target inside
   /bsps/arm/<target>/config (Modified copy of lpc32xx)
   3. Added linkcmds.<target> file inside  /bsps/arm/<target>/start
   (Modified copy of lpc32xx)
   4. Created a new folder <target> inside /c/src/lib/libbsp/arm/
   5. Added and inside
   /c/src/lib/libbsp/arm/<target>/ (Modified copy of lpc32xx)

Issuing make command after bootstrapping and configuring gave me the
following error,

checking for RTEMS_BSP... mytarget
checking for perl... /usr/bin/perl
configure: error: Invalid BSP
configure: error:
../../../../../.././../../rtems-git/c/src/lib/libbsp/arm/configure failed
for lib/libbsp/arm
Makefile:731: recipe for target 'mytarget' failed
gmake[2]: *** [mytarget] Error 1
gmake[2]: Leaving directory
Makefile:289: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
Makefile:410: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Am I doing something wrong here or am I missing some steps?

*Thank you & Regards,*
*Amarnath MB*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list