summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-07-19 13:09:43 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-09-14 07:11:32 +0200
commitf3f0370f1054f4e49aa8f5ea70485d673e8e94b6 (patch)
tree11d44920353aea9bf4301eb267f8c831e622520e /spec/build/bsps
parenti386/score: fix assembly mnemonic (diff)
downloadrtems-f3f0370f1054f4e49aa8f5ea70485d673e8e94b6.tar.bz2
build: Alternative build system based on waf
Update #3818.
Diffstat (limited to 'spec/build/bsps')
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/abi.yml21
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/bspalteracyclonev.yml142
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/objsmp.yml16
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/opta9periphclk.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optcachedata.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optcacheinst.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optclkfastidle.yml18
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optconcfg.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optconuart1.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optfdtcpyro.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optfdten.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optfdtmxsz.yml16
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optfdtro.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optfdtuboot.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/opti2cspeed.yml16
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optnoi2c.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optresetvec.yml15
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optuartbaud.yml16
-rw-r--r--spec/build/bsps/arm/altera-cyclone-v/optuartirq.yml15
-rw-r--r--spec/build/bsps/arm/atsam/abi.yml20
-rw-r--r--spec/build/bsps/arm/atsam/bspatsam.yml411
-rw-r--r--spec/build/bsps/arm/atsam/linkcmds.yml49
-rw-r--r--spec/build/bsps/arm/atsam/objnet.yml22
-rw-r--r--spec/build/bsps/arm/atsam/optchgclksram.yml15
-rw-r--r--spec/build/bsps/arm/atsam/optchip.yml54
-rw-r--r--spec/build/bsps/arm/atsam/optconbaud.yml16
-rw-r--r--spec/build/bsps/arm/atsam/optconidx.yml15
-rw-r--r--spec/build/bsps/arm/atsam/optconirq.yml15
-rw-r--r--spec/build/bsps/arm/atsam/optcontype.yml15
-rw-r--r--spec/build/bsps/arm/atsam/optmck.yml16
-rw-r--r--spec/build/bsps/arm/atsam/optnocachesz.yml17
-rw-r--r--spec/build/bsps/arm/atsam/optoscmain.yml16
-rw-r--r--spec/build/bsps/arm/atsam/optqspiflashsz.yml17
-rw-r--r--spec/build/bsps/arm/atsam/optsdram.yml29
-rw-r--r--spec/build/bsps/arm/atsam/opttcmsz.yml17
-rw-r--r--spec/build/bsps/arm/atsam/optusextal.yml15
-rw-r--r--spec/build/bsps/arm/atsam/tstatsamv.yml35
-rw-r--r--spec/build/bsps/arm/beagle/abi.yml17
-rw-r--r--spec/build/bsps/arm/beagle/bspboardorig.yml19
-rw-r--r--spec/build/bsps/arm/beagle/bspboardxm.yml19
-rw-r--r--spec/build/bsps/arm/beagle/bspboneblack.yml19
-rw-r--r--spec/build/bsps/arm/beagle/bspbonewhite.yml19
-rw-r--r--spec/build/bsps/arm/beagle/grp.yml44
-rw-r--r--spec/build/bsps/arm/beagle/obj.yml61
-rw-r--r--spec/build/bsps/arm/beagle/optam335x.yml18
-rw-r--r--spec/build/bsps/arm/beagle/optconbaud.yml16
-rw-r--r--spec/build/bsps/arm/beagle/optconpoll.yml15
-rw-r--r--spec/build/bsps/arm/beagle/optdebug.yml18
-rw-r--r--spec/build/bsps/arm/beagle/optdm3730.yml18
-rw-r--r--spec/build/bsps/arm/beagle/optfdtcpyro.yml15
-rw-r--r--spec/build/bsps/arm/beagle/optfdtmxsz.yml16
-rw-r--r--spec/build/bsps/arm/beagle/optfdtro.yml15
-rw-r--r--spec/build/bsps/arm/beagle/optfdtuboot.yml15
-rw-r--r--spec/build/bsps/arm/csb336/abi.yml17
-rw-r--r--spec/build/bsps/arm/csb336/bspcsb336.yml59
-rw-r--r--spec/build/bsps/arm/csb336/objnet.yml17
-rw-r--r--spec/build/bsps/arm/csb336/start.yml14
-rw-r--r--spec/build/bsps/arm/csb337/abi.yml17
-rw-r--r--spec/build/bsps/arm/csb337/bspcsb337.yml19
-rw-r--r--spec/build/bsps/arm/csb337/bspcsb637.yml19
-rw-r--r--spec/build/bsps/arm/csb337/bspkit637v6.yml19
-rw-r--r--spec/build/bsps/arm/csb337/grp.yml52
-rw-r--r--spec/build/bsps/arm/csb337/obj.yml57
-rw-r--r--spec/build/bsps/arm/csb337/objlcd.yml16
-rw-r--r--spec/build/bsps/arm/csb337/objnet.yml16
-rw-r--r--spec/build/bsps/arm/csb337/objumon.yml26
-rw-r--r--spec/build/bsps/arm/csb337/objumoncon.yml15
-rw-r--r--spec/build/bsps/arm/csb337/optcsb637.yml21
-rw-r--r--spec/build/bsps/arm/csb337/optenlcd.yml19
-rw-r--r--spec/build/bsps/arm/csb337/optenumon.yml16
-rw-r--r--spec/build/bsps/arm/csb337/optenumoncon.yml16
-rw-r--r--spec/build/bsps/arm/csb337/optenusart0.yml15
-rw-r--r--spec/build/bsps/arm/csb337/optenusart1.yml15
-rw-r--r--spec/build/bsps/arm/csb337/optenusart2.yml15
-rw-r--r--spec/build/bsps/arm/csb337/optenusart3.yml15
-rw-r--r--spec/build/bsps/arm/csb337/start.yml14
-rw-r--r--spec/build/bsps/arm/edb7312/abi.yml17
-rw-r--r--spec/build/bsps/arm/edb7312/bspedb7312.yml62
-rw-r--r--spec/build/bsps/arm/edb7312/objnet.yml16
-rw-r--r--spec/build/bsps/arm/edb7312/optskyeye.yml15
-rw-r--r--spec/build/bsps/arm/edb7312/start.yml14
-rw-r--r--spec/build/bsps/arm/grp.yml62
-rw-r--r--spec/build/bsps/arm/gumstix/abi.yml17
-rw-r--r--spec/build/bsps/arm/gumstix/bspgumstix.yml66
-rw-r--r--spec/build/bsps/arm/gumstix/objnet.yml16
-rw-r--r--spec/build/bsps/arm/gumstix/optskyeye.yml15
-rw-r--r--spec/build/bsps/arm/gumstix/start.yml14
-rw-r--r--spec/build/bsps/arm/imx/abi.yml21
-rw-r--r--spec/build/bsps/arm/imx/bspimx.yml104
-rw-r--r--spec/build/bsps/arm/imx/objsmp.yml16
-rw-r--r--spec/build/bsps/arm/imx/optcachedata.yml18
-rw-r--r--spec/build/bsps/arm/imx/optcacheinst.yml18
-rw-r--r--spec/build/bsps/arm/imx/optccmahb.yml16
-rw-r--r--spec/build/bsps/arm/imx/optcmmecspi.yml16
-rw-r--r--spec/build/bsps/arm/imx/optcmmipg.yml16
-rw-r--r--spec/build/bsps/arm/imx/optcmmsdhci.yml16
-rw-r--r--spec/build/bsps/arm/imx/optcmmuart.yml16
-rw-r--r--spec/build/bsps/arm/imx/optconirq.yml16
-rw-r--r--spec/build/bsps/arm/imx/optfdtcpyro.yml15
-rw-r--r--spec/build/bsps/arm/imx/optfdtmxsz.yml16
-rw-r--r--spec/build/bsps/arm/imx/optfdtro.yml15
-rw-r--r--spec/build/bsps/arm/imx/optfdtuboot.yml15
-rw-r--r--spec/build/bsps/arm/imx/optresetvec.yml15
-rw-r--r--spec/build/bsps/arm/lm3s69xx/abi.yml18
-rw-r--r--spec/build/bsps/arm/lm3s69xx/bsplm3s3749.yml21
-rw-r--r--spec/build/bsps/arm/lm3s69xx/bsplm3s6965.yml21
-rw-r--r--spec/build/bsps/arm/lm3s69xx/bsplm4f120.yml21
-rw-r--r--spec/build/bsps/arm/lm3s69xx/bspqemu.yml19
-rw-r--r--spec/build/bsps/arm/lm3s69xx/grp.yml56
-rw-r--r--spec/build/bsps/arm/lm3s69xx/obj.yml55
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optenuart0.yml15
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optenuart1.yml15
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optenuart2.yml15
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optgpioahb.yml21
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optgpionum.yml25
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optlm3s3749.yml18
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optlm3s6965.yml18
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optlm4f120.yml18
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optssiblks.yml25
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optssiclk.yml16
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optsysclk.yml22
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optuartbaud.yml16
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optudma.yml21
-rw-r--r--spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml25
-rw-r--r--spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml38
-rw-r--r--spec/build/bsps/arm/lm3s69xx/tstlm3s6965.yml22
-rw-r--r--spec/build/bsps/arm/lm3s69xx/tstlm4f120.yml39
-rw-r--r--spec/build/bsps/arm/lpc176x/abi.yml18
-rw-r--r--spec/build/bsps/arm/lpc176x/bsplpc1768mbed.yml21
-rw-r--r--spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbram.yml21
-rw-r--r--spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbrameth.yml21
-rw-r--r--spec/build/bsps/arm/lpc176x/grp.yml52
-rw-r--r--spec/build/bsps/arm/lpc176x/obj.yml80
-rw-r--r--spec/build/bsps/arm/lpc176x/optcclk.yml16
-rw-r--r--spec/build/bsps/arm/lpc176x/optconcfg.yml15
-rw-r--r--spec/build/bsps/arm/lpc176x/optdmachn.yml16
-rw-r--r--spec/build/bsps/arm/lpc176x/optlpc1768.yml15
-rw-r--r--spec/build/bsps/arm/lpc176x/optmintskstksz.yml16
-rw-r--r--spec/build/bsps/arm/lpc176x/optoscmain.yml16
-rw-r--r--spec/build/bsps/arm/lpc176x/optoscrtc.yml16
-rw-r--r--spec/build/bsps/arm/lpc176x/optpclkdiv.yml16
-rw-r--r--spec/build/bsps/arm/lpc176x/optstopgpdma.yml15
-rw-r--r--spec/build/bsps/arm/lpc176x/optstopusb.yml15
-rw-r--r--spec/build/bsps/arm/lpc176x/optuart1cfg.yml15
-rw-r--r--spec/build/bsps/arm/lpc176x/optuartbaud.yml16
-rw-r--r--spec/build/bsps/arm/lpc176x/tstlpc1768mbed.yml37
-rw-r--r--spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbram.yml38
-rw-r--r--spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbrameth.yml140
-rw-r--r--spec/build/bsps/arm/lpc24xx/abi.yml34
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc17xxearam.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc17xxearomint.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800ram.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800romint.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc2362.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc23xxtli800.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc24xxea.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc40xxearam.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/bsplpc40xxearomint.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/bspncsram.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/bspncsromext.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/bspncsromint.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/bspplx800ram.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/bspplx800romint.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/grp.yml84
-rw-r--r--spec/build/bsps/arm/lpc24xx/obj.yml90
-rw-r--r--spec/build/bsps/arm/lpc24xx/objnet.yml16
-rw-r--r--spec/build/bsps/arm/lpc24xx/optcclk.yml28
-rw-r--r--spec/build/bsps/arm/lpc24xx/optconcfg.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/optdmachn.yml22
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcclkdiv.yml22
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcis42s32800b.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcis42s32800d7.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcm29w160e.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcm29w320e70.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcmt48lc4m16a2.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcsst39vf3201.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemctest.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/optemcw9825g2jb75i.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/optethdownpin.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/optethrmii.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optheapext.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optoscmain.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/optoscrtc.yml16
-rw-r--r--spec/build/bsps/arm/lpc24xx/optotgi2c.yml22
-rw-r--r--spec/build/bsps/arm/lpc24xx/optpclkdiv.yml22
-rw-r--r--spec/build/bsps/arm/lpc24xx/optresetvec.yml19
-rw-r--r--spec/build/bsps/arm/lpc24xx/optstopeth.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optstopgpdma.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/optstopusb.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optuart1cfg.yml18
-rw-r--r--spec/build/bsps/arm/lpc24xx/optuart2cfg.yml24
-rw-r--r--spec/build/bsps/arm/lpc24xx/optuart3cfg.yml21
-rw-r--r--spec/build/bsps/arm/lpc24xx/optuartbaud.yml16
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstlpc17xxearomint.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstlpc17xxplx800romint.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstlpc2362.yml55
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstlpc23xxtli800.yml66
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstlpc40xxearomint.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstncsromint.yml15
-rw-r--r--spec/build/bsps/arm/lpc24xx/tstplx800romint.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/abi.yml18
-rw-r--r--spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml21
-rw-r--r--spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/bspphycore.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/grp.yml84
-rw-r--r--spec/build/bsps/arm/lpc32xx/obj.yml69
-rw-r--r--spec/build/bsps/arm/lpc32xx/objnet.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdismmu.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdisroprot.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdisrwdc.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optdmachn.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optenwdgrst.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optethrmii.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optoscmain.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optoscrtc.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optotgi2c.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/optotgvbus.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/optperiphclk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optresetvec.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optscratchsz.yml19
-rw-r--r--spec/build/bsps/arm/lpc32xx/optstopeth.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optstopgpdma.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optstopusb.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu3clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu4clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu5clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optu6clk.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart1baud.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart2baud.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart3baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart4baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart5baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart6baud.yml16
-rw-r--r--spec/build/bsps/arm/lpc32xx/optuart7baud.yml15
-rw-r--r--spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml23
-rw-r--r--spec/build/bsps/arm/opta9periphclk.yml24
-rw-r--r--spec/build/bsps/arm/optmmusmallpages.yml17
-rw-r--r--spec/build/bsps/arm/optmmusz.yml21
-rw-r--r--spec/build/bsps/arm/raspberrypi/abi.yml25
-rw-r--r--spec/build/bsps/arm/raspberrypi/bspraspberrypi.yml19
-rw-r--r--spec/build/bsps/arm/raspberrypi/bspraspberrypi2.yml19
-rw-r--r--spec/build/bsps/arm/raspberrypi/grp.yml46
-rw-r--r--spec/build/bsps/arm/raspberrypi/linkcmds.yml43
-rw-r--r--spec/build/bsps/arm/raspberrypi/obj.yml61
-rw-r--r--spec/build/bsps/arm/raspberrypi/objsmp.yml16
-rw-r--r--spec/build/bsps/arm/raspberrypi/optenhyp.yml15
-rw-r--r--spec/build/bsps/arm/raspberrypi/opti2ciomode.yml15
-rw-r--r--spec/build/bsps/arm/raspberrypi/optnocachelen.yml18
-rw-r--r--spec/build/bsps/arm/raspberrypi/optramlen.yml18
-rw-r--r--spec/build/bsps/arm/raspberrypi/optresetvec.yml15
-rw-r--r--spec/build/bsps/arm/raspberrypi/optrpi2.yml18
-rw-r--r--spec/build/bsps/arm/raspberrypi/optspiiomode.yml15
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/abi.yml21
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml84
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/objsmp.yml16
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/opta9periphclk.yml16
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/optcachedata.yml18
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/optcacheinst.yml18
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/optclkbootcpu.yml18
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/optclkfastidle.yml18
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/optmmusmallpages.yml15
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/optresetvec.yml15
-rw-r--r--spec/build/bsps/arm/rtl22xx/abi.yml22
-rw-r--r--spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml21
-rw-r--r--spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml21
-rw-r--r--spec/build/bsps/arm/rtl22xx/grp.yml30
-rw-r--r--spec/build/bsps/arm/rtl22xx/obj.yml41
-rw-r--r--spec/build/bsps/arm/rtl22xx/objnet.yml16
-rw-r--r--spec/build/bsps/arm/rtl22xx/optskyeye.yml15
-rw-r--r--spec/build/bsps/arm/rtl22xx/start.yml14
-rw-r--r--spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml21
-rw-r--r--spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml18
-rw-r--r--spec/build/bsps/arm/smdk2410/abi.yml17
-rw-r--r--spec/build/bsps/arm/smdk2410/bspsmdk2410.yml69
-rw-r--r--spec/build/bsps/arm/smdk2410/optcpus3c2410.yml18
-rw-r--r--spec/build/bsps/arm/smdk2410/optskyeye.yml15
-rw-r--r--spec/build/bsps/arm/smdk2410/start.yml14
-rw-r--r--spec/build/bsps/arm/start.yml14
-rw-r--r--spec/build/bsps/arm/stm32f4/abi.yml23
-rw-r--r--spec/build/bsps/arm/stm32f4/bspstm32f105rc.yml21
-rw-r--r--spec/build/bsps/arm/stm32f4/bspstm32f4.yml21
-rw-r--r--spec/build/bsps/arm/stm32f4/grp.yml60
-rw-r--r--spec/build/bsps/arm/stm32f4/obj.yml70
-rw-r--r--spec/build/bsps/arm/stm32f4/opteni2c1.yml18
-rw-r--r--spec/build/bsps/arm/stm32f4/opteni2c2.yml15
-rw-r--r--spec/build/bsps/arm/stm32f4/optenuart4.yml15
-rw-r--r--spec/build/bsps/arm/stm32f4/optenuart5.yml15
-rw-r--r--spec/build/bsps/arm/stm32f4/optenusart1.yml15
-rw-r--r--spec/build/bsps/arm/stm32f4/optenusart2.yml15
-rw-r--r--spec/build/bsps/arm/stm32f4/optenusart3.yml15
-rw-r--r--spec/build/bsps/arm/stm32f4/optenusart6.yml15
-rw-r--r--spec/build/bsps/arm/stm32f4/optf10xxx.yml18
-rw-r--r--spec/build/bsps/arm/stm32f4/optf4xxxx.yml18
-rw-r--r--spec/build/bsps/arm/stm32f4/opthclk.yml19
-rw-r--r--spec/build/bsps/arm/stm32f4/optoschse.yml16
-rw-r--r--spec/build/bsps/arm/stm32f4/optpclk1.yml19
-rw-r--r--spec/build/bsps/arm/stm32f4/optpclk2.yml19
-rw-r--r--spec/build/bsps/arm/stm32f4/optsysclk.yml19
-rw-r--r--spec/build/bsps/arm/stm32f4/optusartbaud.yml16
-rw-r--r--spec/build/bsps/arm/stm32f4/tststm32f105rc.yml22
-rw-r--r--spec/build/bsps/arm/tms570/abi.yml21
-rw-r--r--spec/build/bsps/arm/tms570/bspls3137hdk.yml21
-rw-r--r--spec/build/bsps/arm/tms570/bspls3137hdkintram.yml21
-rw-r--r--spec/build/bsps/arm/tms570/bspls3137hdksdram.yml19
-rw-r--r--spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml21
-rw-r--r--spec/build/bsps/arm/tms570/grp.yml48
-rw-r--r--spec/build/bsps/arm/tms570/obj.yml100
-rw-r--r--spec/build/bsps/arm/tms570/objhwinit.yml27
-rw-r--r--spec/build/bsps/arm/tms570/optcclk.yml16
-rw-r--r--spec/build/bsps/arm/tms570/optconirq.yml16
-rw-r--r--spec/build/bsps/arm/tms570/optlowinit.yml16
-rw-r--r--spec/build/bsps/arm/tms570/optmintskstksz.yml16
-rw-r--r--spec/build/bsps/arm/tms570/optoscmain.yml16
-rw-r--r--spec/build/bsps/arm/tms570/optoscrtc.yml16
-rw-r--r--spec/build/bsps/arm/tms570/optreginit.yml15
-rw-r--r--spec/build/bsps/arm/tms570/optscibaud.yml16
-rw-r--r--spec/build/bsps/arm/tms570/opttms570ls3137.yml15
-rw-r--r--spec/build/bsps/arm/tms570/tstls3137hdkintram.yml23
-rw-r--r--spec/build/bsps/arm/xen/abi.yml20
-rw-r--r--spec/build/bsps/arm/xen/bspxen.yml78
-rw-r--r--spec/build/bsps/arm/xen/linkcmds.yml72
-rw-r--r--spec/build/bsps/arm/xen/optgentmrusevirt.yml15
-rw-r--r--spec/build/bsps/arm/xen/optgentmunmask.yml15
-rw-r--r--spec/build/bsps/arm/xen/optloadoff.yml18
-rw-r--r--spec/build/bsps/arm/xen/optnocachelen.yml18
-rw-r--r--spec/build/bsps/arm/xen/optramlen.yml18
-rw-r--r--spec/build/bsps/arm/xen/optramori.yml18
-rw-r--r--spec/build/bsps/arm/xen/optzimghdr.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/abi.yml21
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspqemu.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspzc702.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspzc706.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspzedboard.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/grp.yml64
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/linkcmds.yml46
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/obj.yml47
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/objsmp.yml16
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml22
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optcachedata.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optcacheinst.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml22
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optclkfastidle.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optclkuart.yml22
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optconirq.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optconminor.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optint0len.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optint0ori.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optint1len.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optint1ori.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optramlen.yml30
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optramori.yml21
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optresetvec.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/abi.yml21
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml95
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/linkcmds.yml46
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/objsmp.yml16
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optcachedata.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optcacheinst.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optclkfastidle.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optclkuart.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optconirq.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optconminor.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optgentmrfreq.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optgentmrusevirt.yml15
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml21
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optramori.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/optresetvec.yml15
-rw-r--r--spec/build/bsps/bfin/TLL6527M/abi.yml17
-rw-r--r--spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml62
-rw-r--r--spec/build/bsps/bfin/TLL6527M/optconbaud.yml16
-rw-r--r--spec/build/bsps/bfin/TLL6527M/optconirq.yml16
-rw-r--r--spec/build/bsps/bfin/TLL6527M/optirqtbl.yml15
-rw-r--r--spec/build/bsps/bfin/TLL6527M/optskyeye.yml15
-rw-r--r--spec/build/bsps/bfin/TLL6527M/optuartdma.yml15
-rw-r--r--spec/build/bsps/bfin/bf537Stamp/abi.yml16
-rw-r--r--spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml57
-rw-r--r--spec/build/bsps/bfin/bf537Stamp/objnet.yml17
-rw-r--r--spec/build/bsps/bfin/bf537Stamp/optconirq.yml16
-rw-r--r--spec/build/bsps/bfin/bf537Stamp/optskyeye.yml15
-rw-r--r--spec/build/bsps/bfin/bf537Stamp/start.yml14
-rw-r--r--spec/build/bsps/bfin/eZKit533/abi.yml16
-rw-r--r--spec/build/bsps/bfin/eZKit533/bspezkit533.yml56
-rw-r--r--spec/build/bsps/bfin/eZKit533/optconirq.yml16
-rw-r--r--spec/build/bsps/bfin/eZKit533/optskyeye.yml15
-rw-r--r--spec/build/bsps/bfin/grp.yml46
-rw-r--r--spec/build/bsps/bfin/obj.yml21
-rw-r--r--spec/build/bsps/bfin/start.yml14
-rw-r--r--spec/build/bsps/bspopts.yml39
-rw-r--r--spec/build/bsps/grpmake.yml44
-rw-r--r--spec/build/bsps/i386/grp.yml29
-rw-r--r--spec/build/bsps/i386/pc386/abi.yml48
-rw-r--r--spec/build/bsps/i386/pc386/bsppc386.yml19
-rw-r--r--spec/build/bsps/i386/pc386/bsppc486.yml19
-rw-r--r--spec/build/bsps/i386/pc386/bsppc586.yml19
-rw-r--r--spec/build/bsps/i386/pc386/bsppc586sse.yml19
-rw-r--r--spec/build/bsps/i386/pc386/bsppc686.yml19
-rw-r--r--spec/build/bsps/i386/pc386/bsppcp4.yml19
-rw-r--r--spec/build/bsps/i386/pc386/grp.yml68
-rw-r--r--spec/build/bsps/i386/pc386/obj.yml83
-rw-r--r--spec/build/bsps/i386/pc386/objide.yml16
-rw-r--r--spec/build/bsps/i386/pc386/objnet.yml19
-rw-r--r--spec/build/bsps/i386/pc386/objsmp.yml16
-rw-r--r--spec/build/bsps/i386/pc386/objvga.yml25
-rw-r--r--spec/build/bsps/i386/pc386/objvgacir.yml17
-rw-r--r--spec/build/bsps/i386/pc386/objvgavbe.yml17
-rw-r--r--spec/build/bsps/i386/pc386/objvgavga.yml17
-rw-r--r--spec/build/bsps/i386/pc386/optcirrus.yml16
-rw-r--r--spec/build/bsps/i386/pc386/optclk8253.yml15
-rw-r--r--spec/build/bsps/i386/pc386/optclktsc.yml15
-rw-r--r--spec/build/bsps/i386/pc386/optconcom1.yml15
-rw-r--r--spec/build/bsps/i386/pc386/optencom14.yml15
-rw-r--r--spec/build/bsps/i386/pc386/optenide.yml16
-rw-r--r--spec/build/bsps/i386/pc386/optenvga.yml16
-rw-r--r--spec/build/bsps/i386/pc386/optgdbstub.yml15
-rw-r--r--spec/build/bsps/i386/pc386/optgdtdesc.yml26
-rw-r--r--spec/build/bsps/i386/pc386/optidepriifc.yml15
-rw-r--r--spec/build/bsps/i386/pc386/optidesecifc.yml15
-rw-r--r--spec/build/bsps/i386/pc386/optvberm.yml16
-rw-r--r--spec/build/bsps/i386/pc386/optvga.yml16
-rw-r--r--spec/build/bsps/i386/pc386/optvideo80x50.yml15
-rw-r--r--spec/build/bsps/i386/pc386/start.yml14
-rw-r--r--spec/build/bsps/linkcmds.yml20
-rw-r--r--spec/build/bsps/lm32/grp.yml28
-rw-r--r--spec/build/bsps/lm32/lm32_evr/abi.yml16
-rw-r--r--spec/build/bsps/lm32/lm32_evr/bspgdbsim.yml21
-rw-r--r--spec/build/bsps/lm32/lm32_evr/bsplm32evr.yml19
-rw-r--r--spec/build/bsps/lm32/lm32_evr/grp.yml30
-rw-r--r--spec/build/bsps/lm32/lm32_evr/obj.yml33
-rw-r--r--spec/build/bsps/lm32/lm32_evr/objnet.yml16
-rw-r--r--spec/build/bsps/lm32/lm32_evr/optsim.yml18
-rw-r--r--spec/build/bsps/lm32/milkymist/abi.yml20
-rw-r--r--spec/build/bsps/lm32/milkymist/bspmilkymist.yml67
-rw-r--r--spec/build/bsps/lm32/milkymist/objnet.yml16
-rw-r--r--spec/build/bsps/lm32/milkymist/optsim.yml15
-rw-r--r--spec/build/bsps/lm32/start.yml14
-rw-r--r--spec/build/bsps/m68k/av5282/abi.yml17
-rw-r--r--spec/build/bsps/m68k/av5282/bspav5282.yml55
-rw-r--r--spec/build/bsps/m68k/av5282/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/av5282/start.yml14
-rw-r--r--spec/build/bsps/m68k/csb360/abi.yml17
-rw-r--r--spec/build/bsps/m68k/csb360/bspcsb360.yml55
-rw-r--r--spec/build/bsps/m68k/csb360/start.yml14
-rw-r--r--spec/build/bsps/m68k/gen68340/abi.yml17
-rw-r--r--spec/build/bsps/m68k/gen68340/bspgen68340.yml61
-rw-r--r--spec/build/bsps/m68k/gen68340/start.yml14
-rw-r--r--spec/build/bsps/m68k/gen68360/abi.yml25
-rw-r--r--spec/build/bsps/m68k/gen68360/bspgen68360.yml19
-rw-r--r--spec/build/bsps/m68k/gen68360/bspgen68360040.yml19
-rw-r--r--spec/build/bsps/m68k/gen68360/bsppgh360.yml19
-rw-r--r--spec/build/bsps/m68k/gen68360/grp.yml36
-rw-r--r--spec/build/bsps/m68k/gen68360/obj.yml41
-rw-r--r--spec/build/bsps/m68k/gen68360/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/gen68360/opt68360.yml18
-rw-r--r--spec/build/bsps/m68k/gen68360/opt68360x040.yml18
-rw-r--r--spec/build/bsps/m68k/gen68360/optpgh360.yml18
-rw-r--r--spec/build/bsps/m68k/gen68360/start.yml14
-rw-r--r--spec/build/bsps/m68k/genmcf548x/abi.yml18
-rw-r--r--spec/build/bsps/m68k/genmcf548x/bspcobra5475.yml19
-rw-r--r--spec/build/bsps/m68k/genmcf548x/bspm5484fireengine.yml19
-rw-r--r--spec/build/bsps/m68k/genmcf548x/grp.yml38
-rw-r--r--spec/build/bsps/m68k/genmcf548x/obj.yml52
-rw-r--r--spec/build/bsps/m68k/genmcf548x/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/genmcf548x/optcpuclk.yml22
-rw-r--r--spec/build/bsps/m68k/genmcf548x/optdbug.yml18
-rw-r--r--spec/build/bsps/m68k/genmcf548x/optlowinit.yml18
-rw-r--r--spec/build/bsps/m68k/genmcf548x/optm5484fireengine.yml18
-rw-r--r--spec/build/bsps/m68k/genmcf548x/start.yml14
-rw-r--r--spec/build/bsps/m68k/grp.yml49
-rw-r--r--spec/build/bsps/m68k/mcf5206elite/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml71
-rw-r--r--spec/build/bsps/m68k/mcf5206elite/start.yml14
-rw-r--r--spec/build/bsps/m68k/mcf5206elite/tstmcf5206elite.yml14
-rw-r--r--spec/build/bsps/m68k/mcf52235/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mcf52235/bspmcf52235.yml58
-rw-r--r--spec/build/bsps/m68k/mcf52235/start.yml14
-rw-r--r--spec/build/bsps/m68k/mcf52235/tstmcf52235.yml34
-rw-r--r--spec/build/bsps/m68k/mcf5225x/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml56
-rw-r--r--spec/build/bsps/m68k/mcf5225x/start.yml14
-rw-r--r--spec/build/bsps/m68k/mcf5225x/tstmcf5225x.yml17
-rw-r--r--spec/build/bsps/m68k/mcf5235/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mcf5235/bspmcf5235.yml60
-rw-r--r--spec/build/bsps/m68k/mcf5235/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/mcf5235/start.yml14
-rw-r--r--spec/build/bsps/m68k/mcf5329/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mcf5329/bspmcf5329.yml57
-rw-r--r--spec/build/bsps/m68k/mcf5329/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/mcf5329/start.yml14
-rw-r--r--spec/build/bsps/m68k/mrm332/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mrm332/bspmrm332.yml59
-rw-r--r--spec/build/bsps/m68k/mrm332/start.yml14
-rw-r--r--spec/build/bsps/m68k/mrm332/tstmrm332.yml25
-rw-r--r--spec/build/bsps/m68k/mvme147/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mvme147/bspmvme147.yml55
-rw-r--r--spec/build/bsps/m68k/mvme147s/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mvme147s/bspmvme147s.yml57
-rw-r--r--spec/build/bsps/m68k/mvme147s/objmpci.yml18
-rw-r--r--spec/build/bsps/m68k/mvme162/abi.yml18
-rw-r--r--spec/build/bsps/m68k/mvme162/bspmvme162.yml21
-rw-r--r--spec/build/bsps/m68k/mvme162/bspmvme162lx.yml21
-rw-r--r--spec/build/bsps/m68k/mvme162/grp.yml30
-rw-r--r--spec/build/bsps/m68k/mvme162/obj.yml41
-rw-r--r--spec/build/bsps/m68k/mvme162/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/mvme162/tstmvme162.yml13
-rw-r--r--spec/build/bsps/m68k/mvme162/tstmvme162lx.yml13
-rw-r--r--spec/build/bsps/m68k/mvme167/abi.yml17
-rw-r--r--spec/build/bsps/m68k/mvme167/bspmvme167.yml72
-rw-r--r--spec/build/bsps/m68k/mvme167/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/mvme167/optconminor.yml15
-rw-r--r--spec/build/bsps/m68k/mvme167/optintlvl.yml15
-rw-r--r--spec/build/bsps/m68k/mvme167/optiomode.yml15
-rw-r--r--spec/build/bsps/m68k/mvme167/optmvme167.yml14
-rw-r--r--spec/build/bsps/m68k/mvme167/optprintkminor.yml16
-rw-r--r--spec/build/bsps/m68k/mvme167/optuseterm.yml15
-rw-r--r--spec/build/bsps/m68k/objfpsp.yml57
-rw-r--r--spec/build/bsps/m68k/start.yml14
-rw-r--r--spec/build/bsps/m68k/uC5282/abi.yml17
-rw-r--r--spec/build/bsps/m68k/uC5282/bspuc5282.yml55
-rw-r--r--spec/build/bsps/m68k/uC5282/objnet.yml16
-rw-r--r--spec/build/bsps/m68k/uC5282/start.yml14
-rw-r--r--spec/build/bsps/makebsp.yml41
-rw-r--r--spec/build/bsps/makecustom.yml15
-rw-r--r--spec/build/bsps/makeinc.yml65
-rw-r--r--spec/build/bsps/maketarget.yml55
-rw-r--r--spec/build/bsps/mips/csb350/abi.yml19
-rw-r--r--spec/build/bsps/mips/csb350/bspcsb350.yml58
-rw-r--r--spec/build/bsps/mips/csb350/objnet.yml16
-rw-r--r--spec/build/bsps/mips/csb350/start.yml14
-rw-r--r--spec/build/bsps/mips/grp.yml24
-rw-r--r--spec/build/bsps/mips/hurricane/abi.yml19
-rw-r--r--spec/build/bsps/mips/hurricane/bsphurricane.yml70
-rw-r--r--spec/build/bsps/mips/hurricane/optrm52xx.yml15
-rw-r--r--spec/build/bsps/mips/hurricane/optusc320.yml15
-rw-r--r--spec/build/bsps/mips/hurricane/start.yml14
-rw-r--r--spec/build/bsps/mips/jmr3904/abi.yml19
-rw-r--r--spec/build/bsps/mips/jmr3904/bspjmr3904.yml57
-rw-r--r--spec/build/bsps/mips/jmr3904/start.yml14
-rw-r--r--spec/build/bsps/mips/jmr3904/tstjmr3904.yml15
-rw-r--r--spec/build/bsps/mips/malta/abi.yml19
-rw-r--r--spec/build/bsps/mips/malta/bspmalta.yml67
-rw-r--r--spec/build/bsps/mips/malta/start.yml14
-rw-r--r--spec/build/bsps/mips/rbtx4925/abi.yml19
-rw-r--r--spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml66
-rw-r--r--spec/build/bsps/mips/rbtx4925/opttx49xx.yml15
-rw-r--r--spec/build/bsps/mips/rbtx4925/start.yml14
-rw-r--r--spec/build/bsps/mips/rbtx4938/abi.yml19
-rw-r--r--spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml64
-rw-r--r--spec/build/bsps/mips/rbtx4938/start.yml14
-rw-r--r--spec/build/bsps/moxie/moxiesim/abi.yml16
-rw-r--r--spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml53
-rw-r--r--spec/build/bsps/moxie/moxiesim/start.yml14
-rw-r--r--spec/build/bsps/nios2/nios2_iss/abi.yml18
-rw-r--r--spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml49
-rw-r--r--spec/build/bsps/nios2/nios2_iss/start.yml14
-rw-r--r--spec/build/bsps/obj.yml107
-rw-r--r--spec/build/bsps/objgrlib.yml142
-rw-r--r--spec/build/bsps/objgrlibnet.yml17
-rw-r--r--spec/build/bsps/objgrlibnosmp.yml15
-rw-r--r--spec/build/bsps/objirq.yml19
-rw-r--r--spec/build/bsps/objirqdflt.yml17
-rw-r--r--spec/build/bsps/objmpci.yml32
-rw-r--r--spec/build/bsps/objnet.yml34
-rw-r--r--spec/build/bsps/objnetnosmp.yml21
-rw-r--r--spec/build/bsps/optabi.yml17
-rw-r--r--spec/build/bsps/optasflags.yml16
-rw-r--r--spec/build/bsps/optbsp.yml15
-rw-r--r--spec/build/bsps/optcachedata.yml19
-rw-r--r--spec/build/bsps/optcacheinst.yml19
-rw-r--r--spec/build/bsps/optclang.yml17
-rw-r--r--spec/build/bsps/optclkbootcpu.yml20
-rw-r--r--spec/build/bsps/optclkfastidle.yml20
-rw-r--r--spec/build/bsps/optconsolebaud.yml23
-rw-r--r--spec/build/bsps/optconsoleirq.yml16
-rw-r--r--spec/build/bsps/optfatalverb.yml17
-rw-r--r--spec/build/bsps/optgcc.yml17
-rw-r--r--spec/build/bsps/optincludes.yml16
-rw-r--r--spec/build/bsps/optldflags.yml18
-rw-r--r--spec/build/bsps/optldflagsbsp.yml17
-rw-r--r--spec/build/bsps/optmake.yml19
-rw-r--r--spec/build/bsps/optmakelegacy.yml15
-rw-r--r--spec/build/bsps/opto0.yml22
-rw-r--r--spec/build/bsps/opto1.yml22
-rw-r--r--spec/build/bsps/opto2.yml22
-rw-r--r--spec/build/bsps/optog.yml22
-rw-r--r--spec/build/bsps/optos.yml22
-rw-r--r--spec/build/bsps/optprintexcpt.yml17
-rw-r--r--spec/build/bsps/optreset.yml16
-rw-r--r--spec/build/bsps/optresetkey.yml17
-rw-r--r--spec/build/bsps/or1k/generic_or1k/abi.yml17
-rw-r--r--spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml67
-rw-r--r--spec/build/bsps/or1k/generic_or1k/optperiphclk.yml16
-rw-r--r--spec/build/bsps/or1k/generic_or1k/optresetvec.yml15
-rw-r--r--spec/build/bsps/or1k/generic_or1k/start.yml14
-rw-r--r--spec/build/bsps/or1k/grp.yml15
-rw-r--r--spec/build/bsps/pkgconfig.yml34
-rw-r--r--spec/build/bsps/powerpc/beatnik/abi.yml18
-rw-r--r--spec/build/bsps/powerpc/beatnik/bspbeatnik.yml107
-rw-r--r--spec/build/bsps/powerpc/beatnik/objnet.yml23
-rw-r--r--spec/build/bsps/powerpc/beatnik/optsbrk.yml15
-rw-r--r--spec/build/bsps/powerpc/crti.yml14
-rw-r--r--spec/build/bsps/powerpc/crtn.yml14
-rw-r--r--spec/build/bsps/powerpc/gen5200/abi.yml21
-rw-r--r--spec/build/bsps/powerpc/gen5200/bspicecube.yml19
-rw-r--r--spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml19
-rw-r--r--spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml19
-rw-r--r--spec/build/bsps/powerpc/gen5200/grp.yml64
-rw-r--r--spec/build/bsps/powerpc/gen5200/obj.yml117
-rw-r--r--spec/build/bsps/powerpc/gen5200/objnet.yml16
-rw-r--r--spec/build/bsps/powerpc/gen5200/optbenchirq.yml15
-rw-r--r--spec/build/bsps/powerpc/gen5200/optenirqnest.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optgpiomsk.yml22
-rw-r--r--spec/build/bsps/powerpc/gen5200/optgpioval.yml22
-rw-r--r--spec/build/bsps/powerpc/gen5200/opticecub.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optpm520cr825.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optpm520ze30.yml18
-rw-r--r--spec/build/bsps/powerpc/gen5200/optprintkminor.yml16
-rw-r--r--spec/build/bsps/powerpc/gen5200/optpscgps.yml16
-rw-r--r--spec/build/bsps/powerpc/gen5200/optsinglechar.yml15
-rw-r--r--spec/build/bsps/powerpc/gen5200/optuartmsk.yml25
-rw-r--r--spec/build/bsps/powerpc/gen5200/optuartstermirq.yml15
-rw-r--r--spec/build/bsps/powerpc/gen5200/optuboot.yml21
-rw-r--r--spec/build/bsps/powerpc/gen5200/start.yml14
-rw-r--r--spec/build/bsps/powerpc/gen83xx/abi.yml21
-rw-r--r--spec/build/bsps/powerpc/gen83xx/bspbruid.yml19
-rw-r--r--spec/build/bsps/powerpc/gen83xx/bsphsccm01.yml19
-rw-r--r--spec/build/bsps/powerpc/gen83xx/bspmpc8309som.yml19
-rw-r--r--spec/build/bsps/powerpc/gen83xx/bspmpc8313erdb.yml19
-rw-r--r--spec/build/bsps/powerpc/gen83xx/bspmpc8349eamds.yml19
-rw-r--r--spec/build/bsps/powerpc/gen83xx/grp.yml66
-rw-r--r--spec/build/bsps/powerpc/gen83xx/obj.yml60
-rw-r--r--spec/build/bsps/powerpc/gen83xx/objnet.yml17
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optbruid.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optchiptype.yml28
-rw-r--r--spec/build/bsps/powerpc/gen83xx/opthsccm01.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optirqnest.yml21
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optmpc8309som.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optmpc8313erdb.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optmpc8349eamds.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optnandcs0.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optnet0phy.yml22
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optuart2.yml15
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optuartirq.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optuboot.yml24
-rw-r--r--spec/build/bsps/powerpc/gen83xx/optulpi.yml18
-rw-r--r--spec/build/bsps/powerpc/gen83xx/start.yml14
-rw-r--r--spec/build/bsps/powerpc/grp.yml91
-rw-r--r--spec/build/bsps/powerpc/haleakala/abi.yml18
-rw-r--r--spec/build/bsps/powerpc/haleakala/bsphaleakala.yml70
-rw-r--r--spec/build/bsps/powerpc/haleakala/objnet.yml16
-rw-r--r--spec/build/bsps/powerpc/haleakala/optsprg.yml15
-rw-r--r--spec/build/bsps/powerpc/haleakala/optvecbase.yml16
-rw-r--r--spec/build/bsps/powerpc/haleakala/start.yml14
-rw-r--r--spec/build/bsps/powerpc/motld.yml28
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/abi.yml43
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/boot.yml49
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/bspmcp750.yml19
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/bspmtx603e.yml19
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/bspmvme2100.yml19
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/bspmvme2307.yml19
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/bspqemu.yml19
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/bspqemualtivec.yml19
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/grp.yml58
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/obj.yml61
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/objqemunet.yml18
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/optmpc603e.yml21
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/optmpc750.yml18
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/optmpc8240.yml18
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/optmvme2100.yml18
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/optppcgeneric.yml21
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/optqemu.yml18
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/optsbrk.yml15
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/qemufakerom.yml38
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/abi.yml23
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/bspgwlcfm.yml21
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/bspmpc5566evb.yml21
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/bspmpc5643levb.yml21
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/bspmpc5668g.yml21
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/bspmpc5674fevb.yml21
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/bspphycorempc5554.yml21
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/grp.yml112
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/obj.yml97
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/objnet.yml17
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/ofmpllptmfd.yml25
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optbootflg.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optcachewritethru.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optchipfam.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optchiptype.yml31
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optclkemios.yml25
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optclkpit.yml22
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optconbaud.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optconminor.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optearlystksz.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/opteepromname.yml19
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/opteeprompath.yml19
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optemiosprescal.yml22
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optenstartpro.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optesciirq.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optexcbooke.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optexcfixdhdlr.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optfmpllesyncr1.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optfmpllprediv.yml25
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optgwlcfm.yml18
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optirqtblsz.yml25
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optlowinit.yml18
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optmpc5566evb.yml18
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optmpc5674fevb.yml18
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optnullprot.yml21
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optphycorempc5554.yml18
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optrefclk.yml28
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc91111.yml18
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc9111enaddr.yml18
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ibige.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc9218iled.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinirq.yml19
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinrst.yml19
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc9218irxchn.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsmc9218itxchn.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsysclk.yml25
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/optsysclkdiv.yml19
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/start.yml14
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/tstgwlcfm.yml19
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643ldpu.yml17
-rw-r--r--spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643levb.yml17
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/abi.yml22
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml78
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/objnet.yml17
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/optconminor.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/optdisphandstat.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/optprintkminor.yml16
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/optuartsiomode.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/optuartsterm.yml15
-rw-r--r--spec/build/bsps/powerpc/mpc8260ads/start.yml14
-rw-r--r--spec/build/bsps/powerpc/mvme3100/abi.yml19
-rw-r--r--spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml90
-rw-r--r--spec/build/bsps/powerpc/mvme3100/objnet.yml16
-rw-r--r--spec/build/bsps/powerpc/mvme3100/optsbrk.yml15
-rw-r--r--spec/build/bsps/powerpc/mvme3100/start.yml14
-rw-r--r--spec/build/bsps/powerpc/mvme5500/abi.yml19
-rw-r--r--spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml99
-rw-r--r--spec/build/bsps/powerpc/mvme5500/objnet.yml18
-rw-r--r--spec/build/bsps/powerpc/mvme5500/optsbrk.yml15
-rw-r--r--spec/build/bsps/powerpc/mvme5500/start.yml26
-rw-r--r--spec/build/bsps/powerpc/obj.yml17
-rw-r--r--spec/build/bsps/powerpc/objexc.yml26
-rw-r--r--spec/build/bsps/powerpc/objvme.yml18
-rw-r--r--spec/build/bsps/powerpc/psim/abi.yml21
-rw-r--r--spec/build/bsps/powerpc/psim/bsppsim.yml85
-rw-r--r--spec/build/bsps/powerpc/psim/objmpci.yml18
-rw-r--r--spec/build/bsps/powerpc/psim/objnet.yml16
-rw-r--r--spec/build/bsps/powerpc/psim/optclkfastidle.yml18
-rw-r--r--spec/build/bsps/powerpc/psim/optsbrk.yml15
-rw-r--r--spec/build/bsps/powerpc/psim/optsprg.yml15
-rw-r--r--spec/build/bsps/powerpc/psim/optvecbase.yml16
-rw-r--r--spec/build/bsps/powerpc/psim/start.yml14
-rw-r--r--spec/build/bsps/powerpc/qemuppc/abi.yml18
-rw-r--r--spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml65
-rw-r--r--spec/build/bsps/powerpc/qemuppc/start.yml14
-rw-r--r--spec/build/bsps/powerpc/qoriq/abi.yml38
-rw-r--r--spec/build/bsps/powerpc/qoriq/bspcore0.yml21
-rw-r--r--spec/build/bsps/powerpc/qoriq/bspcore1.yml21
-rw-r--r--spec/build/bsps/powerpc/qoriq/bspe500.yml21
-rw-r--r--spec/build/bsps/powerpc/qoriq/bspe650032.yml21
-rw-r--r--spec/build/bsps/powerpc/qoriq/bspe650064.yml21
-rw-r--r--spec/build/bsps/powerpc/qoriq/grp.yml118
-rw-r--r--spec/build/bsps/powerpc/qoriq/obj.yml75
-rw-r--r--spec/build/bsps/powerpc/qoriq/objnet.yml18
-rw-r--r--spec/build/bsps/powerpc/qoriq/objsmp.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/optbucsr.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optbusclkdiv.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optcachealign.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optcacheblktouch.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/optcachedatal1sz.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optcachedatal2sz.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optcacheinstl1sz.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optcacheinstl2sz.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optchipnum.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optchipser.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optclktmctr.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optclktmr.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optcpucnt.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optetsec1phy.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optetsec2phy.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optetsec3phy.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optexcbooke.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/optexcfixdhdlr.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/optfdtmxsz.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optfdtro.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/opthid0.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/opthyp.yml18
-rw-r--r--spec/build/bsps/powerpc/qoriq/opthypguest.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/opticombegin.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/opticomsz.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optmas7.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optmsr.yml22
-rw-r--r--spec/build/bsps/powerpc/qoriq/optspefscr.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optthrdcnt.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/opttlb1cnt.yml19
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuart0en.yml18
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuart1en.yml18
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuartbrg0en.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuartbrg1en.yml21
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuartbrgmas.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuartbrgpri.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuartbrgslv.yml16
-rw-r--r--spec/build/bsps/powerpc/qoriq/optuartirq.yml15
-rw-r--r--spec/build/bsps/powerpc/qoriq/start.yml14
-rw-r--r--spec/build/bsps/powerpc/ss555/abi.yml18
-rw-r--r--spec/build/bsps/powerpc/ss555/bspss555.yml81
-rw-r--r--spec/build/bsps/powerpc/ss555/optconminor.yml16
-rw-r--r--spec/build/bsps/powerpc/ss555/optprintkminor.yml16
-rw-r--r--spec/build/bsps/powerpc/ss555/optuartsiomode.yml15
-rw-r--r--spec/build/bsps/powerpc/ss555/optuartsterm.yml15
-rw-r--r--spec/build/bsps/powerpc/ss555/optwdgtimeout.yml16
-rw-r--r--spec/build/bsps/powerpc/ss555/start.yml14
-rw-r--r--spec/build/bsps/powerpc/start.yml14
-rw-r--r--spec/build/bsps/powerpc/t32mppc/abi.yml22
-rw-r--r--spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml70
-rw-r--r--spec/build/bsps/powerpc/t32mppc/objsmp.yml15
-rw-r--r--spec/build/bsps/powerpc/t32mppc/optexcbooke.yml15
-rw-r--r--spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml15
-rw-r--r--spec/build/bsps/powerpc/t32mppc/start.yml14
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/abi.yml23
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml19
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml19
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/grp.yml56
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/obj.yml49
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/objnet.yml17
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconchn.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc1.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc2.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc3.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconscc4.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml22
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml19
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optnetfec.yml18
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optnetscc.yml18
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml16
-rw-r--r--spec/build/bsps/powerpc/tqm8xx/start.yml14
-rw-r--r--spec/build/bsps/powerpc/vecentry.yml14
-rw-r--r--spec/build/bsps/powerpc/virtex/abi.yml21
-rw-r--r--spec/build/bsps/powerpc/virtex/bspvirtex.yml86
-rw-r--r--spec/build/bsps/powerpc/virtex/linkcmds.yml45
-rw-r--r--spec/build/bsps/powerpc/virtex/objnet.yml16
-rw-r--r--spec/build/bsps/powerpc/virtex/optconirq.yml15
-rw-r--r--spec/build/bsps/powerpc/virtex/optfastramlen.yml18
-rw-r--r--spec/build/bsps/powerpc/virtex/optfastramorg.yml18
-rw-r--r--spec/build/bsps/powerpc/virtex/optramlen.yml18
-rw-r--r--spec/build/bsps/powerpc/virtex/optramorg.yml18
-rw-r--r--spec/build/bsps/powerpc/virtex/optresetlen.yml17
-rw-r--r--spec/build/bsps/powerpc/virtex/optresetorg.yml18
-rw-r--r--spec/build/bsps/powerpc/virtex/optxparam.yml16
-rw-r--r--spec/build/bsps/powerpc/virtex/start.yml14
-rw-r--r--spec/build/bsps/powerpc/virtex4/abi.yml18
-rw-r--r--spec/build/bsps/powerpc/virtex4/bspvirtex4.yml70
-rw-r--r--spec/build/bsps/powerpc/virtex4/optppccachedata.yml15
-rw-r--r--spec/build/bsps/powerpc/virtex4/optsprg.yml15
-rw-r--r--spec/build/bsps/powerpc/virtex4/optvecbase.yml16
-rw-r--r--spec/build/bsps/powerpc/virtex4/start.yml14
-rw-r--r--spec/build/bsps/powerpc/virtex5/abi.yml19
-rw-r--r--spec/build/bsps/powerpc/virtex5/bspvirtex5.yml71
-rw-r--r--spec/build/bsps/powerpc/virtex5/optppccachedata.yml15
-rw-r--r--spec/build/bsps/powerpc/virtex5/optsprg.yml15
-rw-r--r--spec/build/bsps/powerpc/virtex5/optvecbase.yml16
-rw-r--r--spec/build/bsps/powerpc/virtex5/start.yml14
-rw-r--r--spec/build/bsps/riscv/griscv/abi.yml38
-rw-r--r--spec/build/bsps/riscv/griscv/bspgriscv.yml19
-rw-r--r--spec/build/bsps/riscv/griscv/bspgrv32i.yml19
-rw-r--r--spec/build/bsps/riscv/griscv/bspgrv32im.yml19
-rw-r--r--spec/build/bsps/riscv/griscv/bspgrv32imac.yml19
-rw-r--r--spec/build/bsps/riscv/griscv/bspgrv32imafdc.yml19
-rw-r--r--spec/build/bsps/riscv/griscv/grp.yml46
-rw-r--r--spec/build/bsps/riscv/griscv/obj.yml36
-rw-r--r--spec/build/bsps/riscv/griscv/objsmp.yml15
-rw-r--r--spec/build/bsps/riscv/griscv/optextirqmax.yml16
-rw-r--r--spec/build/bsps/riscv/grp.yml15
-rw-r--r--spec/build/bsps/riscv/linkcmds.yml29
-rw-r--r--spec/build/bsps/riscv/linkcmdsbase.yml401
-rw-r--r--spec/build/bsps/riscv/optrambegin.yml24
-rw-r--r--spec/build/bsps/riscv/optramsize.yml21
-rw-r--r--spec/build/bsps/riscv/riscv/abi.yml79
-rw-r--r--spec/build/bsps/riscv/riscv/bspfrdme310arty.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv32i.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv32iac.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv32im.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv32imac.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv32imafc.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv32imafd.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv32imafdc.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv64imac.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv64imacmedany.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv64imafd.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv64imafdc.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv64imafdcmedany.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/bsprv64imafdmedany.yml19
-rw-r--r--spec/build/bsps/riscv/riscv/grp.yml58
-rw-r--r--spec/build/bsps/riscv/riscv/obj.yml41
-rw-r--r--spec/build/bsps/riscv/riscv/objsmp.yml15
-rw-r--r--spec/build/bsps/riscv/riscv/optextirqmax.yml16
-rw-r--r--spec/build/bsps/riscv/riscv/optfdtcpyro.yml15
-rw-r--r--spec/build/bsps/riscv/riscv/optfdtmxsz.yml16
-rw-r--r--spec/build/bsps/riscv/riscv/optfdtro.yml15
-rw-r--r--spec/build/bsps/riscv/riscv/optfdtuboot.yml15
-rw-r--r--spec/build/bsps/riscv/riscv/optfrdme310arty.yml18
-rw-r--r--spec/build/bsps/riscv/riscv/opthtif.yml15
-rw-r--r--spec/build/bsps/riscv/riscv/optns16550max.yml19
-rw-r--r--spec/build/bsps/riscv/start.yml14
-rw-r--r--spec/build/bsps/sh/gensh1/abi.yml17
-rw-r--r--spec/build/bsps/sh/gensh1/bspgensh1.yml69
-rw-r--r--spec/build/bsps/sh/gensh1/optcpuclk.yml16
-rw-r--r--spec/build/bsps/sh/gensh1/optlowinit.yml15
-rw-r--r--spec/build/bsps/sh/gensh1/start.yml14
-rw-r--r--spec/build/bsps/sh/gensh1/tstgensh1.yml20
-rw-r--r--spec/build/bsps/sh/gensh2/abi.yml17
-rw-r--r--spec/build/bsps/sh/gensh2/bspgensh2.yml77
-rw-r--r--spec/build/bsps/sh/gensh2/optcpuclk.yml16
-rw-r--r--spec/build/bsps/sh/gensh2/optevb.yml15
-rw-r--r--spec/build/bsps/sh/gensh2/optlowinit.yml15
-rw-r--r--spec/build/bsps/sh/gensh2/start.yml14
-rw-r--r--spec/build/bsps/sh/gensh2/tstgensh2.yml20
-rw-r--r--spec/build/bsps/sh/gensh4/abi.yml18
-rw-r--r--spec/build/bsps/sh/gensh4/bspgensh4.yml72
-rw-r--r--spec/build/bsps/sh/gensh4/optcpuclk.yml16
-rw-r--r--spec/build/bsps/sh/gensh4/optcpydata.yml15
-rw-r--r--spec/build/bsps/sh/gensh4/optlowinit.yml15
-rw-r--r--spec/build/bsps/sh/gensh4/start.yml14
-rw-r--r--spec/build/bsps/sh/shsim/abi.yml31
-rw-r--r--spec/build/bsps/sh/shsim/bspsimsh1.yml21
-rw-r--r--spec/build/bsps/sh/shsim/bspsimsh2.yml21
-rw-r--r--spec/build/bsps/sh/shsim/bspsimsh2e.yml21
-rw-r--r--spec/build/bsps/sh/shsim/bspsimsh4.yml21
-rw-r--r--spec/build/bsps/sh/shsim/grp.yml28
-rw-r--r--spec/build/bsps/sh/shsim/obj.yml41
-rw-r--r--spec/build/bsps/sh/shsim/optcpuclk.yml16
-rw-r--r--spec/build/bsps/sh/shsim/optlowinit.yml15
-rw-r--r--spec/build/bsps/sh/shsim/start.yml14
-rw-r--r--spec/build/bsps/sh/shsim/tstsimsh1.yml24
-rw-r--r--spec/build/bsps/sh/shsim/tstsimsh2.yml24
-rw-r--r--spec/build/bsps/sh/shsim/tstsimsh2e.yml24
-rw-r--r--spec/build/bsps/sh/shsim/tstsimsh4.yml24
-rw-r--r--spec/build/bsps/sparc/erc32/abi.yml17
-rw-r--r--spec/build/bsps/sparc/erc32/bsperc32.yml76
-rw-r--r--spec/build/bsps/sparc/erc32/objnet.yml16
-rw-r--r--spec/build/bsps/sparc/erc32/objsmp.yml15
-rw-r--r--spec/build/bsps/sparc/erc32/optconirq.yml16
-rw-r--r--spec/build/bsps/sparc/erc32/optpwrdwnhlt.yml15
-rw-r--r--spec/build/bsps/sparc/grp.yml19
-rw-r--r--spec/build/bsps/sparc/leon2/abi.yml22
-rw-r--r--spec/build/bsps/sparc/leon2/bspat697f.yml19
-rw-r--r--spec/build/bsps/sparc/leon2/bspleon2.yml19
-rw-r--r--spec/build/bsps/sparc/leon2/grp.yml38
-rw-r--r--spec/build/bsps/sparc/leon2/obj.yml52
-rw-r--r--spec/build/bsps/sparc/leon2/objnet.yml17
-rw-r--r--spec/build/bsps/sparc/leon2/objsmp.yml16
-rw-r--r--spec/build/bsps/sparc/leon2/optconirq.yml16
-rw-r--r--spec/build/bsps/sparc/leon2/optpwrdwnhlt.yml15
-rw-r--r--spec/build/bsps/sparc/leon3/abi.yml33
-rw-r--r--spec/build/bsps/sparc/leon3/abiclang.yml36
-rw-r--r--spec/build/bsps/sparc/leon3/bspgr712rc.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/bspgr740.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/bspleon3.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/bsput699.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/bsput700.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/grp.yml46
-rw-r--r--spec/build/bsps/sparc/leon3/obj.yml62
-rw-r--r--spec/build/bsps/sparc/leon3/objmpci.yml18
-rw-r--r--spec/build/bsps/sparc/leon3/objnet.yml17
-rw-r--r--spec/build/bsps/sparc/leon3/objnetnosmp.yml18
-rw-r--r--spec/build/bsps/sparc/leon3/objsmp.yml15
-rw-r--r--spec/build/bsps/sparc/leon3/optconirq.yml16
-rw-r--r--spec/build/bsps/sparc/leon3/optleon3smp.yml15
-rw-r--r--spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml15
-rw-r--r--spec/build/bsps/sparc/start.yml14
-rw-r--r--spec/build/bsps/sparc64/grp.yml58
-rw-r--r--spec/build/bsps/sparc64/niagara/abi.yml18
-rw-r--r--spec/build/bsps/sparc64/niagara/bspniagara.yml63
-rw-r--r--spec/build/bsps/sparc64/start.yml14
-rw-r--r--spec/build/bsps/sparc64/usiii/abi.yml19
-rw-r--r--spec/build/bsps/sparc64/usiii/bspusiii.yml67
-rw-r--r--spec/build/bsps/sparc64/usiii/optclkfastidle.yml15
-rw-r--r--spec/build/bsps/tst.yml23
-rw-r--r--spec/build/bsps/tstnoiconv.yml15
-rw-r--r--spec/build/bsps/tstnointrcrit.yml35
-rw-r--r--spec/build/bsps/tstnojffs2.yml21
-rw-r--r--spec/build/bsps/tstnolibdl.yml22
-rw-r--r--spec/build/bsps/tstnorfs.yml22
-rw-r--r--spec/build/bsps/tstreqtick.yml59
-rw-r--r--spec/build/bsps/tstsmallmem.yml128
-rw-r--r--spec/build/bsps/v850/gdbv850sim/abi.yml37
-rw-r--r--spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml21
-rw-r--r--spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml21
-rw-r--r--spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml21
-rw-r--r--spec/build/bsps/v850/gdbv850sim/bspv850esim.yml21
-rw-r--r--spec/build/bsps/v850/gdbv850sim/bspv850essim.yml21
-rw-r--r--spec/build/bsps/v850/gdbv850sim/bspv850sim.yml21
-rw-r--r--spec/build/bsps/v850/gdbv850sim/grp.yml24
-rw-r--r--spec/build/bsps/v850/gdbv850sim/obj.yml37
-rw-r--r--spec/build/bsps/v850/gdbv850sim/start.yml14
-rw-r--r--spec/build/bsps/x86_64/amd64/abi.yml19
-rw-r--r--spec/build/bsps/x86_64/amd64/bspamd64.yml57
-rw-r--r--spec/build/bsps/x86_64/amd64/start.yml14
-rw-r--r--spec/build/bsps/x86_64/grp.yml18
1008 files changed, 25297 insertions, 0 deletions
diff --git a/spec/build/bsps/arm/altera-cyclone-v/abi.yml b/spec/build/bsps/arm/altera-cyclone-v/abi.yml
new file mode 100644
index 0000000000..a3a710c97d
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-a
+- -mthumb
+- -mfpu=neon
+- -mfloat-abi=hard
+- -mtune=cortex-a9
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/bspalteracyclonev.yml b/spec/build/bsps/arm/altera-cyclone-v/bspalteracyclonev.yml
new file mode 100644
index 0000000000..abe3d7f490
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/bspalteracyclonev.yml
@@ -0,0 +1,142 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: altcycv_devkit
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: altera-cyclone-v
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/altera-cyclone-v/include/bsp.h
+ - bsps/arm/altera-cyclone-v/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_16550_uart.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_address_space.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_cache.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_clock_group.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_clock_manager.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_dma.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_dma_common.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_dma_program.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_generalpurpose_io.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_hwlibs_ver.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_i2c.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_interrupt_common.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_mpu_registers.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_qspi_private.h
+ - bsps/arm/altera-cyclone-v/include/bsp/alt_reset_manager.h
+ - bsps/arm/altera-cyclone-v/include/bsp/hwlib.h
+ - bsps/arm/altera-cyclone-v/include/bsp/i2cdrv.h
+ - bsps/arm/altera-cyclone-v/include/bsp/irq.h
+- destination: ${BSP_INCLUDEDIR}/bsp/socal
+ source:
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_acpidmap.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_clkmgr.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_dmanonsecure.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_dmasecure.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_gpio.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_i2c.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_l3.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_qspi.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_qspidata.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_rstmgr.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_sdr.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_sysmgr.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/alt_uart.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/hps.h
+ - bsps/arm/altera-cyclone-v/include/bsp/socal/socal.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/altera-cyclone-v/start/linkcmds
+ - bsps/arm/altera-cyclone-v/start/linkcmds.altcycv
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: opta9periphclk
+- role: build-dependency
+ uid: optcachedata
+- role: build-dependency
+ uid: optcacheinst
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: optconcfg
+- role: build-dependency
+ uid: optconuart1
+- role: build-dependency
+ uid: optfdtcpyro
+- role: build-dependency
+ uid: optfdten
+- role: build-dependency
+ uid: optfdtmxsz
+- role: build-dependency
+ uid: optfdtro
+- role: build-dependency
+ uid: optfdtuboot
+- role: build-dependency
+ uid: opti2cspeed
+- role: build-dependency
+ uid: optnoi2c
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: optuartbaud
+- role: build-dependency
+ uid: optuartirq
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/altera-cyclone-v/console/console-config.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_16550_uart.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_address_space.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_clock_manager.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_dma.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_dma_program.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_generalpurpose_io.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_i2c.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_qspi.c
+- bsps/arm/altera-cyclone-v/contrib/hwlib/src/hwmgr/alt_reset_manager.c
+- bsps/arm/altera-cyclone-v/i2c/i2cdrv-config.c
+- bsps/arm/altera-cyclone-v/i2c/i2cdrv.c
+- bsps/arm/altera-cyclone-v/rtc/rtc.c
+- bsps/arm/altera-cyclone-v/start/bspclean.c
+- bsps/arm/altera-cyclone-v/start/bspgetworkarea.c
+- bsps/arm/altera-cyclone-v/start/bspreset.c
+- bsps/arm/altera-cyclone-v/start/bspstart.c
+- bsps/arm/altera-cyclone-v/start/bspstarthooks.c
+- bsps/arm/altera-cyclone-v/start/mmu-config.c
+- bsps/arm/shared/cache/cache-l2c-310.c
+- bsps/arm/shared/clock/clock-a9mpcore.c
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/irq/irq-gic.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bsp-fdt.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/objsmp.yml b/spec/build/bsps/arm/altera-cyclone-v/objsmp.yml
new file mode 100644
index 0000000000..bf0c99d21f
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/altera-cyclone-v/start/bspsmp.c
+- bsps/arm/shared/start/arm-a9mpcore-smp.c
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/opta9periphclk.yml b/spec/build/bsps/arm/altera-cyclone-v/opta9periphclk.yml
new file mode 100644
index 0000000000..e67ddc129b
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/opta9periphclk.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ define to set ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz, otherwise alt_clk_freq_get() is used
+enabled-by: true
+links: []
+name: BSP_ARM_A9MPCORE_PERIPHCLK
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optcachedata.yml b/spec/build/bsps/arm/altera-cyclone-v/optcachedata.yml
new file mode 100644
index 0000000000..77dac09116
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optcachedata.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable data cache
+enabled-by: true
+links: []
+name: BSP_DATA_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optcacheinst.yml b/spec/build/bsps/arm/altera-cyclone-v/optcacheinst.yml
new file mode 100644
index 0000000000..a59db43f31
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optcacheinst.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable instruction cache
+enabled-by: true
+links: []
+name: BSP_INSTRUCTION_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optclkfastidle.yml b/spec/build/bsps/arm/altera-cyclone-v/optclkfastidle.yml
new file mode 100644
index 0000000000..b800b20428
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optclkfastidle.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*qemu
+description: |
+ This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optconcfg.yml b/spec/build/bsps/arm/altera-cyclone-v/optconcfg.yml
new file mode 100644
index 0000000000..635697cc8a
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optconcfg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ configuration for console (UART 0)
+enabled-by: true
+links: []
+name: CYCLONE_V_CONFIG_CONSOLE
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optconuart1.yml b/spec/build/bsps/arm/altera-cyclone-v/optconuart1.yml
new file mode 100644
index 0000000000..f5c588a330
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optconuart1.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ configuration for UART 1
+enabled-by: true
+links: []
+name: CYCLONE_V_CONFIG_UART_1
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optfdtcpyro.yml b/spec/build/bsps/arm/altera-cyclone-v/optfdtcpyro.yml
new file mode 100644
index 0000000000..c26b1ae051
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optfdtcpyro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the FDT blob into the read-only load area via bsp_fdt_copy()
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optfdten.yml b/spec/build/bsps/arm/altera-cyclone-v/optfdten.yml
new file mode 100644
index 0000000000..f2fc473967
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optfdten.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ define if FDT is supported
+enabled-by: true
+links: []
+name: BSP_FDT_IS_SUPPORTED
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optfdtmxsz.yml b/spec/build/bsps/arm/altera-cyclone-v/optfdtmxsz.yml
new file mode 100644
index 0000000000..14af766230
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optfdtmxsz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 262144
+default-by-variant: []
+description: |
+ maximum size of the FDT blob in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_FDT_BLOB_SIZE_MAX
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optfdtro.yml b/spec/build/bsps/arm/altera-cyclone-v/optfdtro.yml
new file mode 100644
index 0000000000..a61bb2924b
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optfdtro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ place the FDT blob into the read-only data area
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_READ_ONLY
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optfdtuboot.yml b/spec/build/bsps/arm/altera-cyclone-v/optfdtuboot.yml
new file mode 100644
index 0000000000..5805e912ff
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optfdtuboot.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the U-Boot provided FDT to an internal storage
+enabled-by: true
+links: []
+name: BSP_START_COPY_FDT_FROM_U_BOOT
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/opti2cspeed.yml b/spec/build/bsps/arm/altera-cyclone-v/opti2cspeed.yml
new file mode 100644
index 0000000000..ee8097aa3b
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/opti2cspeed.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 100000
+default-by-variant: []
+description: |
+ speed for I2C0 in HZ
+enabled-by: true
+format: '{}'
+links: []
+name: CYCLONE_V_I2C0_SPEED
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optnoi2c.yml b/spec/build/bsps/arm/altera-cyclone-v/optnoi2c.yml
new file mode 100644
index 0000000000..2d36d5f930
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optnoi2c.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Number of configured I2C buses. Note that each bus has to be configured in an apropriate i2cdrv_config array.
+enabled-by: true
+links: []
+name: CYCLONE_V_NO_I2C
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optresetvec.yml b/spec/build/bsps/arm/altera-cyclone-v/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optuartbaud.yml b/spec/build/bsps/arm/altera-cyclone-v/optuartbaud.yml
new file mode 100644
index 0000000000..b5f577ffc3
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optuartbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UARTs
+enabled-by: true
+format: '{}'
+links: []
+name: CYCLONE_V_UART_BAUD
+type: build
diff --git a/spec/build/bsps/arm/altera-cyclone-v/optuartirq.yml b/spec/build/bsps/arm/altera-cyclone-v/optuartirq.yml
new file mode 100644
index 0000000000..152668b2d9
--- /dev/null
+++ b/spec/build/bsps/arm/altera-cyclone-v/optuartirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable usage of interrupts for the UART modules
+enabled-by: true
+links: []
+name: BSP_USE_UART_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/arm/atsam/abi.yml b/spec/build/bsps/arm/atsam/abi.yml
new file mode 100644
index 0000000000..7a95742c36
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/abi.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mthumb
+- -mcpu=cortex-m7
+- -mfpu=fpv5-d16
+- -mfloat-abi=hard
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/atsam/bspatsam.yml b/spec/build/bsps/arm/atsam/bspatsam.yml
new file mode 100644
index 0000000000..f0aaa17cf7
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/bspatsam.yml
@@ -0,0 +1,411 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: atsamv
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: atsam
+includes:
+- bsps/arm/atsam/contrib/libraries/libboard
+- bsps/arm/atsam/contrib/libraries/libboard/include
+- bsps/arm/atsam/contrib/libraries/libchip
+- bsps/arm/atsam/contrib/libraries/libchip/include
+- bsps/arm/atsam/include/libchip
+- bsps/arm/atsam/include/libchip/include
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/atsam/include/bsp.h
+ - bsps/arm/atsam/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/atsam/include/bsp/atsam-clock-config.h
+ - bsps/arm/atsam/include/bsp/atsam-i2c.h
+ - bsps/arm/atsam/include/bsp/atsam-spi.h
+ - bsps/arm/atsam/include/bsp/i2c.h
+ - bsps/arm/atsam/include/bsp/iocopy.h
+ - bsps/arm/atsam/include/bsp/irq.h
+ - bsps/arm/atsam/include/bsp/pin-config.h
+ - bsps/arm/atsam/include/bsp/power.h
+ - bsps/arm/atsam/include/bsp/sc16is752.h
+ - bsps/arm/atsam/include/bsp/spi.h
+- destination: ${BSP_INCLUDEDIR}/libchip
+ source:
+ - bsps/arm/atsam/include/libchip/chip.h
+ - bsps/arm/atsam/include/libchip/compiler.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include
+ source:
+ - bsps/arm/atsam/include/libchip/include/acc.h
+ - bsps/arm/atsam/include/libchip/include/adc.h
+ - bsps/arm/atsam/include/libchip/include/aes.h
+ - bsps/arm/atsam/include/libchip/include/afe_dma.h
+ - bsps/arm/atsam/include/libchip/include/afec.h
+ - bsps/arm/atsam/include/libchip/include/chip.h
+ - bsps/arm/atsam/include/libchip/include/dac_dma.h
+ - bsps/arm/atsam/include/libchip/include/efc.h
+ - bsps/arm/atsam/include/libchip/include/exceptions.h
+ - bsps/arm/atsam/include/libchip/include/flashd.h
+ - bsps/arm/atsam/include/libchip/include/gmac.h
+ - bsps/arm/atsam/include/libchip/include/gmacd.h
+ - bsps/arm/atsam/include/libchip/include/hsmci.h
+ - bsps/arm/atsam/include/libchip/include/icm.h
+ - bsps/arm/atsam/include/libchip/include/isi.h
+ - bsps/arm/atsam/include/libchip/include/iso7816_4.h
+ - bsps/arm/atsam/include/libchip/include/mcan.h
+ - bsps/arm/atsam/include/libchip/include/mcid.h
+ - bsps/arm/atsam/include/libchip/include/mediaLB.h
+ - bsps/arm/atsam/include/libchip/include/mpu.h
+ - bsps/arm/atsam/include/libchip/include/pio.h
+ - bsps/arm/atsam/include/libchip/include/pio_capture.h
+ - bsps/arm/atsam/include/libchip/include/pio_it.h
+ - bsps/arm/atsam/include/libchip/include/pmc.h
+ - bsps/arm/atsam/include/libchip/include/pwmc.h
+ - bsps/arm/atsam/include/libchip/include/qspi.h
+ - bsps/arm/atsam/include/libchip/include/qspi_dma.h
+ - bsps/arm/atsam/include/libchip/include/rstc.h
+ - bsps/arm/atsam/include/libchip/include/rtc.h
+ - bsps/arm/atsam/include/libchip/include/rtt.h
+ - bsps/arm/atsam/include/libchip/include/sdramc.h
+ - bsps/arm/atsam/include/libchip/include/smc.h
+ - bsps/arm/atsam/include/libchip/include/spi.h
+ - bsps/arm/atsam/include/libchip/include/spi_dma.h
+ - bsps/arm/atsam/include/libchip/include/ssc.h
+ - bsps/arm/atsam/include/libchip/include/supc.h
+ - bsps/arm/atsam/include/libchip/include/tc.h
+ - bsps/arm/atsam/include/libchip/include/timetick.h
+ - bsps/arm/atsam/include/libchip/include/trace.h
+ - bsps/arm/atsam/include/libchip/include/trng.h
+ - bsps/arm/atsam/include/libchip/include/twi.h
+ - bsps/arm/atsam/include/libchip/include/twid.h
+ - bsps/arm/atsam/include/libchip/include/uart.h
+ - bsps/arm/atsam/include/libchip/include/uart_dma.h
+ - bsps/arm/atsam/include/libchip/include/usart.h
+ - bsps/arm/atsam/include/libchip/include/usart_dma.h
+ - bsps/arm/atsam/include/libchip/include/usbhs.h
+ - bsps/arm/atsam/include/libchip/include/video.h
+ - bsps/arm/atsam/include/libchip/include/wdt.h
+ - bsps/arm/atsam/include/libchip/include/xdma_hardware_interface.h
+ - bsps/arm/atsam/include/libchip/include/xdmac.h
+ - bsps/arm/atsam/include/libchip/include/xdmad.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/same70
+ source:
+ - bsps/arm/atsam/include/libchip/include/same70/same70.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70j19.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70j20.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70j21.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70n19.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70n20.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70n21.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70q19.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70q20.h
+ - bsps/arm/atsam/include/libchip/include/same70/same70q21.h
+ - bsps/arm/atsam/include/libchip/include/same70/system_same70.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/same70/component
+ source:
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_acc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_aes.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_afec.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_chipid.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_dacc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_efc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_gmac.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_gpbr.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_hsmci.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_icm.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_isi.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_matrix.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_mcan.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_pio.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_pmc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_pwm.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_qspi.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_rstc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_rswdt.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_rtc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_rtt.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_sdramc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_smc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_spi.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_ssc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_supc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_tc.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_trng.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_twihs.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_uart.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_usart.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_usbhs.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_utmi.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_wdt.h
+ - bsps/arm/atsam/include/libchip/include/same70/component/component_xdmac.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/same70/pio
+ source:
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j19.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j20.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70j21.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n19.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n20.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70n21.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q19.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q20.h
+ - bsps/arm/atsam/include/libchip/include/same70/pio/pio_same70q21.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/sams70
+ source:
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70j19.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70j20.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70j21.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70n19.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70n20.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70n21.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70q19.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70q20.h
+ - bsps/arm/atsam/include/libchip/include/sams70/sams70q21.h
+ - bsps/arm/atsam/include/libchip/include/sams70/system_sams70.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/sams70/component
+ source:
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_acc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_aes.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_afec.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_chipid.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_dacc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_efc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_gpbr.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_hsmci.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_icm.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_isi.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_matrix.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_pio.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_pmc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_pwm.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_qspi.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_rstc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_rswdt.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_rtc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_rtt.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_sdramc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_smc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_spi.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_ssc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_supc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_tc.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_trng.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_twihs.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_uart.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_usart.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_usbhs.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_utmi.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_wdt.h
+ - bsps/arm/atsam/include/libchip/include/sams70/component/component_xdmac.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/sams70/pio
+ source:
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j19.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j20.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70j21.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n19.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n20.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70n21.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q19.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q20.h
+ - bsps/arm/atsam/include/libchip/include/sams70/pio/pio_sams70q21.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/samv71
+ source:
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71j19.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71j20.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71j21.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71n19.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71n20.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71n21.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71q19.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71q20.h
+ - bsps/arm/atsam/include/libchip/include/samv71/samv71q21.h
+ - bsps/arm/atsam/include/libchip/include/samv71/system_samv71.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/samv71/component
+ source:
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_acc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_aes.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_afec.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_chipid.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_dacc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_efc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_gmac.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_gpbr.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_hsmci.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_icm.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_isi.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_matrix.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_mcan.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_mlb.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_pio.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_pmc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_pwm.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_qspi.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_rstc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_rswdt.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_rtc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_rtt.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_sdramc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_smc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_spi.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_ssc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_supc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_tc.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_trng.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_twihs.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_uart.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_usart.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_usbhs.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_utmi.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_wdt.h
+ - bsps/arm/atsam/include/libchip/include/samv71/component/component_xdmac.h
+- destination: ${BSP_INCLUDEDIR}/libchip/include/samv71/pio
+ source:
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j19.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j20.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71j21.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n19.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n20.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71n21.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q19.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q20.h
+ - bsps/arm/atsam/include/libchip/include/samv71/pio/pio_samv71q21.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/atsam/start/linkcmds
+ - bsps/arm/atsam/start/linkcmds.intsram
+ - bsps/arm/atsam/start/linkcmds.qspiflash
+ - bsps/arm/atsam/start/linkcmds.sdram
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optchgclksram
+- role: build-dependency
+ uid: optchip
+- role: build-dependency
+ uid: optconbaud
+- role: build-dependency
+ uid: optconidx
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optcontype
+- role: build-dependency
+ uid: optmck
+- role: build-dependency
+ uid: optnocachesz
+- role: build-dependency
+ uid: optoscmain
+- role: build-dependency
+ uid: optqspiflashsz
+- role: build-dependency
+ uid: optsdram
+- role: build-dependency
+ uid: opttcmsz
+- role: build-dependency
+ uid: optusextal
+- role: build-dependency
+ uid: tstatsamv
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: linkcmds
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/atsam/clock/systick-freq.c
+- bsps/arm/atsam/console/console.c
+- bsps/arm/atsam/console/debug-console.c
+- bsps/arm/atsam/contrib/libraries/libboard/resources_v71/system_samv71.c
+- bsps/arm/atsam/contrib/libraries/libboard/source/board_lowlevel.c
+- bsps/arm/atsam/contrib/libraries/libboard/source/board_memories.c
+- bsps/arm/atsam/contrib/libraries/libboard/source/dbg_console.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/acc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/aes.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/afe_dma.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/afec.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/dac_dma.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/efc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/exceptions.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/flashd.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/gmac.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/gmacd.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/hsmci.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/icm.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/isi.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/mcan.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/mediaLB.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/mpu.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/pio.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/pio_capture.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/pmc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/pwmc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/qspi.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/qspi_dma.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/rstc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/rtc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/rtt.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/sdramc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/spi.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/spi_dma.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/ssc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/supc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/tc.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/trng.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/twi.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/twid.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/uart.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/uart_dma.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/usart.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/usart_dma.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/wdt.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/xdma_hardware_interface.c
+- bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c
+- bsps/arm/atsam/i2c/atsam_i2c_bus.c
+- bsps/arm/atsam/i2c/atsam_i2c_init.c
+- bsps/arm/atsam/rtc/rtc-config.c
+- bsps/arm/atsam/spi/atsam_spi_bus.c
+- bsps/arm/atsam/spi/atsam_spi_init.c
+- bsps/arm/atsam/spi/sc16is752.c
+- bsps/arm/atsam/start/bspstart.c
+- bsps/arm/atsam/start/bspstarthooks.c
+- bsps/arm/atsam/start/getentropy-trng.c
+- bsps/arm/atsam/start/iocopy.c
+- bsps/arm/atsam/start/pin-config.c
+- bsps/arm/atsam/start/pmc-config.c
+- bsps/arm/atsam/start/power-clock.c
+- bsps/arm/atsam/start/power-rtc.c
+- bsps/arm/atsam/start/power-wait.c
+- bsps/arm/atsam/start/power.c
+- bsps/arm/atsam/start/restart.c
+- bsps/arm/atsam/start/sdram-config.c
+- bsps/arm/shared/cache/cache-v7m.c
+- bsps/arm/shared/clock/clock-armv7m.c
+- bsps/arm/shared/cpucounter/cpucounter-armv7m.c
+- bsps/arm/shared/irq/irq-armv7m.c
+- bsps/arm/shared/irq/irq-dispatch-armv7m.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspreset-armv7m.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/atsam/linkcmds.yml b/spec/build/bsps/arm/atsam/linkcmds.yml
new file mode 100644
index 0000000000..fe6211f82f
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/linkcmds.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ MEMORY {
+ ITCM : ORIGIN = 0x00000000, LENGTH = ${ATSAM_MEMORY_TCM_SIZE}
+ INTFLASH : ORIGIN = 0x00400000, LENGTH = ${ATSAM_MEMORY_INTFLASH_SIZE}
+ DTCM : ORIGIN = 0x20000000, LENGTH = ${ATSAM_MEMORY_TCM_SIZE}
+ INTSRAM : ORIGIN = 0x20400000, LENGTH = ${ATSAM_MEMORY_INTSRAM_SIZE} - 2 * ${ATSAM_MEMORY_TCM_SIZE} - ${ATSAM_MEMORY_NOCACHE_SIZE}
+ NOCACHE : ORIGIN = 0x20400000 + ${ATSAM_MEMORY_INTSRAM_SIZE} - 2 * ${ATSAM_MEMORY_TCM_SIZE} - ${ATSAM_MEMORY_NOCACHE_SIZE}, LENGTH = ${ATSAM_MEMORY_NOCACHE_SIZE}
+ SDRAM : ORIGIN = 0x70000000, LENGTH = ${ATSAM_MEMORY_SDRAM_SIZE}
+ QSPIFLASH : ORIGIN = 0x80000000, LENGTH = ${ATSAM_MEMORY_QSPIFLASH_SIZE}
+ }
+
+ /* Must be used only for MPU definitions */
+
+ atsam_memory_itcm_begin = ORIGIN (ITCM);
+ atsam_memory_itcm_end = ORIGIN (ITCM) + LENGTH (ITCM);
+ atsam_memory_itcm_size = LENGTH (ITCM);
+
+ atsam_memory_intflash_begin = ORIGIN (INTFLASH);
+ atsam_memory_intflash_end = ORIGIN (INTFLASH) + LENGTH (INTFLASH);
+ atsam_memory_intflash_size = LENGTH (INTFLASH);
+
+ atsam_memory_dtcm_begin = ORIGIN (DTCM);
+ atsam_memory_dtcm_end = ORIGIN (DTCM) + LENGTH (DTCM);
+ atsam_memory_dtcm_size = LENGTH (DTCM);
+
+ atsam_memory_intsram_begin = ORIGIN (INTSRAM);
+ atsam_memory_intsram_end = ORIGIN (INTSRAM) + LENGTH (INTSRAM);
+ atsam_memory_intsram_size = LENGTH (INTSRAM);
+
+ atsam_memory_nocache_begin = ORIGIN (NOCACHE);
+ atsam_memory_nocache_end = ORIGIN (NOCACHE) + LENGTH (NOCACHE);
+ atsam_memory_nocache_size = LENGTH (NOCACHE);
+
+ atsam_memory_sdram_begin = ORIGIN (SDRAM);
+ atsam_memory_sdram_end = ORIGIN (SDRAM) + LENGTH (SDRAM);
+ atsam_memory_sdram_size = LENGTH (SDRAM);
+
+ atsam_memory_qspiflash_begin = ORIGIN (QSPIFLASH);
+ atsam_memory_qspiflash_end = ORIGIN (QSPIFLASH) + LENGTH (QSPIFLASH);
+ atsam_memory_qspiflash_size = LENGTH (QSPIFLASH);
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds.memory
+type: build
diff --git a/spec/build/bsps/arm/atsam/objnet.yml b/spec/build/bsps/arm/atsam/objnet.yml
new file mode 100644
index 0000000000..7aeceb47d9
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/objnet.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- bsps/arm/atsam/contrib/libraries/libboard
+- bsps/arm/atsam/contrib/libraries/libboard/include
+- bsps/arm/atsam/contrib/libraries/libchip
+- bsps/arm/atsam/contrib/libraries/libchip/include
+- bsps/arm/atsam/include/libchip
+- bsps/arm/atsam/include/libchip/include
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/atsam/net/if_atsam.c
+type: build
diff --git a/spec/build/bsps/arm/atsam/optchgclksram.yml b/spec/build/bsps/arm/atsam/optchgclksram.yml
new file mode 100644
index 0000000000..58dca377d7
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optchgclksram.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Move the functions that set up the clock into the SRAM. This allows to change the clock frequency even if the application is started from SDRAM. Requires a TCM_SIZE > 0.
+enabled-by: true
+links: []
+name: ATSAM_CHANGE_CLOCK_FROM_SRAM
+type: build
diff --git a/spec/build/bsps/arm/atsam/optchip.yml b/spec/build/bsps/arm/atsam/optchip.yml
new file mode 100644
index 0000000000..16998e6c2a
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optchip.yml
@@ -0,0 +1,54 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- script: |
+ c = ("__SAMV71Q21__", 0x00200000, 0x00060000)
+ chips = {
+ "same70j19": ("__SAME70J19__", 0x00080000, 0x00040000),
+ "same70j20": ("__SAME70J20__", 0x00100000, 0x00060000),
+ "same70j21": ("__SAME70J21__", 0x00200000, 0x00060000),
+ "same70n19": ("__SAME70N19__", 0x00080000, 0x00040000),
+ "same70n20": ("__SAME70N20__", 0x00100000, 0x00060000),
+ "same70n21": ("__SAME70N21__", 0x00200000, 0x00060000),
+ "same70q19": ("__SAME70Q19__", 0x00080000, 0x00040000),
+ "same70q20": ("__SAME70Q20__", 0x00100000, 0x00060000),
+ "same70q21": ("__SAME70Q21__", 0x00200000, 0x00060000),
+ "sams70j19": ("__SAMS70J19__", 0x00080000, 0x00040000),
+ "sams70j20": ("__SAMS70J20__", 0x00100000, 0x00060000),
+ "sams70j21": ("__SAMS70J21__", 0x00200000, 0x00060000),
+ "sams70n19": ("__SAMS70N19__", 0x00080000, 0x00040000),
+ "sams70n20": ("__SAMS70N20__", 0x00100000, 0x00060000),
+ "sams70n21": ("__SAMS70N21__", 0x00200000, 0x00060000),
+ "sams70q19": ("__SAMS70Q19__", 0x00080000, 0x00040000),
+ "sams70q20": ("__SAMS70Q20__", 0x00100000, 0x00060000),
+ "sams70q21": ("__SAMS70Q21__", 0x00200000, 0x00060000),
+ "samv71j19": ("__SAMV71J19__", 0x00080000, 0x00040000),
+ "samv71j20": ("__SAMV71J20__", 0x00100000, 0x00060000),
+ "samv71j21": ("__SAMV71J21__", 0x00200000, 0x00060000),
+ "samv71n19": ("__SAMV71N19__", 0x00080000, 0x00040000),
+ "samv71n20": ("__SAMV71N20__", 0x00100000, 0x00060000),
+ "samv71n21": ("__SAMV71N21__", 0x00200000, 0x00060000),
+ "samv71q19": ("__SAMV71Q19__", 0x00080000, 0x00040000),
+ "samv71q20": ("__SAMV71Q20__", 0x00100000, 0x00060000),
+ "samv71q21": c,
+ }
+ if value:
+ try:
+ c = chips[value]
+ except:
+ conf.fatal("Unkown chip variant '{}'".format(value))
+ conf.define_cond(c[0], True)
+ conf.env["ATSAM_MEMORY_INTFLASH_SIZE"] = c[1]
+ conf.env["ATSAM_MEMORY_INTSRAM_SIZE"] = c[2]
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: samv71q21
+default-by-variant: []
+description: |
+ Chip variant
+enabled-by: true
+format: '{}'
+links: []
+name: ATSAM_CHIP
+type: build
diff --git a/spec/build/bsps/arm/atsam/optconbaud.yml b/spec/build/bsps/arm/atsam/optconbaud.yml
new file mode 100644
index 0000000000..b0e34e7505
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optconbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ initial baud for console devices (default 115200)
+enabled-by: true
+format: '{}'
+links: []
+name: ATSAM_CONSOLE_BAUD
+type: build
diff --git a/spec/build/bsps/arm/atsam/optconidx.yml b/spec/build/bsps/arm/atsam/optconidx.yml
new file mode 100644
index 0000000000..42fb3b142a
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optconidx.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ device index for /dev/console (default 1, e.g. USART1)
+enabled-by: true
+links: []
+name: ATSAM_CONSOLE_DEVICE_INDEX
+type: build
diff --git a/spec/build/bsps/arm/atsam/optconirq.yml b/spec/build/bsps/arm/atsam/optconirq.yml
new file mode 100644
index 0000000000..a410e05060
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optconirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use interrupt driven mode for console devices (used by default)
+enabled-by: true
+links: []
+name: ATSAM_CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/arm/atsam/optcontype.yml b/spec/build/bsps/arm/atsam/optcontype.yml
new file mode 100644
index 0000000000..eddbee1063
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optcontype.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ device type for /dev/console, use 0 for USART and 1 for UART (default USART)
+enabled-by: true
+links: []
+name: ATSAM_CONSOLE_DEVICE_TYPE
+type: build
diff --git a/spec/build/bsps/arm/atsam/optmck.yml b/spec/build/bsps/arm/atsam/optmck.yml
new file mode 100644
index 0000000000..d216542285
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optmck.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 123000000
+default-by-variant: []
+description: |
+ Frequency of the MCK in Hz. Set to 0 to force application defined speed. See start/pmc-config.c for available clock configurations.
+enabled-by: true
+format: '{}'
+links: []
+name: ATSAM_MCK
+type: build
diff --git a/spec/build/bsps/arm/atsam/optnocachesz.yml b/spec/build/bsps/arm/atsam/optnocachesz.yml
new file mode 100644
index 0000000000..433633d3b0
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optnocachesz.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- format-and-define: null
+- env-assign: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4096
+default-by-variant: []
+description: |
+ size of NOCACHE section in bytes
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ATSAM_MEMORY_NOCACHE_SIZE
+type: build
diff --git a/spec/build/bsps/arm/atsam/optoscmain.yml b/spec/build/bsps/arm/atsam/optoscmain.yml
new file mode 100644
index 0000000000..4cafffea37
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optoscmain.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 12000000
+default-by-variant: []
+description: |
+ Main oscillator frequency in Hz (default 12MHz)
+enabled-by: true
+format: '{}'
+links: []
+name: BOARD_MAINOSC
+type: build
diff --git a/spec/build/bsps/arm/atsam/optqspiflashsz.yml b/spec/build/bsps/arm/atsam/optqspiflashsz.yml
new file mode 100644
index 0000000000..a9a71b049f
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optqspiflashsz.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- format-and-define: null
+- env-assign: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 2097152
+default-by-variant: []
+description: |
+ size of QSPI flash in bytes
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ATSAM_MEMORY_QSPIFLASH_SIZE
+type: build
diff --git a/spec/build/bsps/arm/atsam/optsdram.yml b/spec/build/bsps/arm/atsam/optsdram.yml
new file mode 100644
index 0000000000..c07edd9ba5
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optsdram.yml
@@ -0,0 +1,29 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- script: |
+ s = ("ATSAM_SDRAM_IS42S16100E_7BLI", 0x00200000)
+ sdram = {
+ "is42s16100e-7bli": s,
+ "is42s16320f-7bl": ("ATSAM_SDRAM_IS42S16320F_7BL", 0x04000000),
+ "mt48lc16m16a2p-6a": ("ATSAM_SDRAM_MT48LC16M16A2P_6A", 0x02000000),
+ }
+ if value:
+ try:
+ s = sdram[value]
+ except:
+ conf.fatal("Unkown SDRAM variant '{}'".format(value))
+ conf.define_cond(s[0], True)
+ conf.env["ATSAM_MEMORY_SDRAM_SIZE"] = s[1]
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: is42s16100e-7bli
+default-by-variant: []
+description: |
+ SDRAM variant
+enabled-by: true
+format: '{}'
+links: []
+name: ATSAM_SDRAM
+type: build
diff --git a/spec/build/bsps/arm/atsam/opttcmsz.yml b/spec/build/bsps/arm/atsam/opttcmsz.yml
new file mode 100644
index 0000000000..7e8b1121e8
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/opttcmsz.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- format-and-define: null
+- env-assign: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ size of tightly coupled memories (TCM) in bytes
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ATSAM_MEMORY_TCM_SIZE
+type: build
diff --git a/spec/build/bsps/arm/atsam/optusextal.yml b/spec/build/bsps/arm/atsam/optusextal.yml
new file mode 100644
index 0000000000..6353956d15
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/optusextal.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Use the external crystal as source for the slow clock instead of the internal RC oscillator. Note that on the ATSAM the NRST pin seems to depend on the slow clock as well as all watchdogs. If ATSAM_SLOWCLOCK_USE_XTAL is set to 1 without a external crystal connected, the controller might hang in the switching process without a working NRST pin.
+enabled-by: true
+links: []
+name: ATSAM_SLOWCLOCK_USE_XTAL
+type: build
diff --git a/spec/build/bsps/arm/atsam/tstatsamv.yml b/spec/build/bsps/arm/atsam/tstatsamv.yml
new file mode 100644
index 0000000000..41d28657e9
--- /dev/null
+++ b/spec/build/bsps/arm/atsam/tstatsamv.yml
@@ -0,0 +1,35 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ flashdisk01: exclude
+ fsdosfsname01: exclude
+ ftp01: exclude
+ jffs2fserror: exclude
+ jffs2fslink: exclude
+ jffs2fspatheval: exclude
+ jffs2fspermission: exclude
+ jffs2fsrdwr: exclude
+ jffs2fsscandir01: exclude
+ jffs2fssymlink: exclude
+ jffs2fstime: exclude
+ linpack: exclude
+ mghttpd01: exclude
+ pppd: exclude
+ psxconfig01: exclude
+ record02: exclude
+ sp16: exclude
+ sp25: exclude
+ sp48: exclude
+ spregionerr01: exclude
+ spstkalloc02: exclude
+ tmfine01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/arm/beagle/abi.yml b/spec/build/bsps/arm/beagle/abi.yml
new file mode 100644
index 0000000000..80b94605e7
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=cortex-a8
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/beagle/bspboardorig.yml b/spec/build/bsps/arm/beagle/bspboardorig.yml
new file mode 100644
index 0000000000..92eb7001fd
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/bspboardorig.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: beagleboardorig
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: beagle
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/beagle/bspboardxm.yml b/spec/build/bsps/arm/beagle/bspboardxm.yml
new file mode 100644
index 0000000000..b0869cfbce
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/bspboardxm.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: beagleboardxm
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: beagle
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/beagle/bspboneblack.yml b/spec/build/bsps/arm/beagle/bspboneblack.yml
new file mode 100644
index 0000000000..7818fdebfa
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/bspboneblack.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: beagleboneblack
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: beagle
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/beagle/bspbonewhite.yml b/spec/build/bsps/arm/beagle/bspbonewhite.yml
new file mode 100644
index 0000000000..85ae13cea5
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/bspbonewhite.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: beaglebonewhite
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: beagle
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/beagle/grp.yml b/spec/build/bsps/arm/beagle/grp.yml
new file mode 100644
index 0000000000..1375913fd0
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/grp.yml
@@ -0,0 +1,44 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: optam335x
+- role: build-dependency
+ uid: optconbaud
+- role: build-dependency
+ uid: optconpoll
+- role: build-dependency
+ uid: optdebug
+- role: build-dependency
+ uid: optdm3730
+- role: build-dependency
+ uid: optfdtcpyro
+- role: build-dependency
+ uid: optfdtmxsz
+- role: build-dependency
+ uid: optfdtro
+- role: build-dependency
+ uid: optfdtuboot
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/beagle/obj.yml b/spec/build/bsps/arm/beagle/obj.yml
new file mode 100644
index 0000000000..87c0ad873d
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/obj.yml
@@ -0,0 +1,61 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/beagle/include/bsp.h
+ - bsps/arm/beagle/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/beagle/include/bsp/bbb-gpio.h
+ - bsps/arm/beagle/include/bsp/bbb-pwm.h
+ - bsps/arm/beagle/include/bsp/beagleboneblack.h
+ - bsps/arm/beagle/include/bsp/i2c.h
+ - bsps/arm/beagle/include/bsp/irq.h
+ - bsps/arm/beagle/include/bsp/spi.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/beagle/start/linkcmds
+links: []
+source:
+- bsps/arm/beagle/clock/clock.c
+- bsps/arm/beagle/console/console-config.c
+- bsps/arm/beagle/gpio/bbb-gpio.c
+- bsps/arm/beagle/i2c/bbb-i2c.c
+- bsps/arm/beagle/irq/irq.c
+- bsps/arm/beagle/pwm/pwm.c
+- bsps/arm/beagle/rtc/rtc.c
+- bsps/arm/beagle/spi/spi.c
+- bsps/arm/beagle/start/bspdebug.c
+- bsps/arm/beagle/start/bspreset.c
+- bsps/arm/beagle/start/bspstart.c
+- bsps/arm/beagle/start/bspstarthooks.c
+- bsps/arm/beagle/start/bspstartmmu.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cache/cache-v7ar-disable-data.S
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/gpio/gpio-support.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bsp-fdt.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/beagle/optam335x.yml b/spec/build/bsps/arm/beagle/optam335x.yml
new file mode 100644
index 0000000000..2453aae088
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optam335x.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/beaglebone.*
+description: |
+ true if SOC is AM335X
+enabled-by: true
+links: []
+name: IS_AM335X
+type: build
diff --git a/spec/build/bsps/arm/beagle/optconbaud.yml b/spec/build/bsps/arm/beagle/optconbaud.yml
new file mode 100644
index 0000000000..9c3eaff15b
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optconbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ initial baud for console UART
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_BAUD
+type: build
diff --git a/spec/build/bsps/arm/beagle/optconpoll.yml b/spec/build/bsps/arm/beagle/optconpoll.yml
new file mode 100644
index 0000000000..1717792bb8
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optconpoll.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ polled console i/o (e.g. to run testsuite)
+enabled-by: true
+links: []
+name: CONSOLE_POLLED
+type: build
diff --git a/spec/build/bsps/arm/beagle/optdebug.yml b/spec/build/bsps/arm/beagle/optdebug.yml
new file mode 100644
index 0000000000..54f6c55f9a
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optdebug.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: false
+ variants:
+ - arm/beaglebone.*
+description: |
+ Enable BBB debug
+enabled-by: true
+links: []
+name: BBB_DEBUG
+type: build
diff --git a/spec/build/bsps/arm/beagle/optdm3730.yml b/spec/build/bsps/arm/beagle/optdm3730.yml
new file mode 100644
index 0000000000..3dd60260f3
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optdm3730.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/beagleboard.*
+description: |
+ true if SOC is DM3730
+enabled-by: true
+links: []
+name: IS_DM3730
+type: build
diff --git a/spec/build/bsps/arm/beagle/optfdtcpyro.yml b/spec/build/bsps/arm/beagle/optfdtcpyro.yml
new file mode 100644
index 0000000000..c26b1ae051
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optfdtcpyro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the FDT blob into the read-only load area via bsp_fdt_copy()
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
+type: build
diff --git a/spec/build/bsps/arm/beagle/optfdtmxsz.yml b/spec/build/bsps/arm/beagle/optfdtmxsz.yml
new file mode 100644
index 0000000000..14af766230
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optfdtmxsz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 262144
+default-by-variant: []
+description: |
+ maximum size of the FDT blob in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_FDT_BLOB_SIZE_MAX
+type: build
diff --git a/spec/build/bsps/arm/beagle/optfdtro.yml b/spec/build/bsps/arm/beagle/optfdtro.yml
new file mode 100644
index 0000000000..a61bb2924b
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optfdtro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ place the FDT blob into the read-only data area
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_READ_ONLY
+type: build
diff --git a/spec/build/bsps/arm/beagle/optfdtuboot.yml b/spec/build/bsps/arm/beagle/optfdtuboot.yml
new file mode 100644
index 0000000000..5805e912ff
--- /dev/null
+++ b/spec/build/bsps/arm/beagle/optfdtuboot.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the U-Boot provided FDT to an internal storage
+enabled-by: true
+links: []
+name: BSP_START_COPY_FDT_FROM_U_BOOT
+type: build
diff --git a/spec/build/bsps/arm/csb336/abi.yml b/spec/build/bsps/arm/csb336/abi.yml
new file mode 100644
index 0000000000..ccf0bc7ea2
--- /dev/null
+++ b/spec/build/bsps/arm/csb336/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm920
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/csb336/bspcsb336.yml b/spec/build/bsps/arm/csb336/bspcsb336.yml
new file mode 100644
index 0000000000..2842b0d5ac
--- /dev/null
+++ b/spec/build/bsps/arm/csb336/bspcsb336.yml
@@ -0,0 +1,59 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: csb336
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: csb336
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/csb336/include/bsp.h
+ - bsps/arm/csb336/include/mc9328mxl.h
+ - bsps/arm/csb336/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/csb336/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/csb336/start/linkcmds
+ - bsps/arm/csb336/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/csb336/btimer/btimer.c
+- bsps/arm/csb336/clock/clockdrv.c
+- bsps/arm/csb336/console/uart.c
+- bsps/arm/csb336/irq/irq.c
+- bsps/arm/csb336/start/bspstart.c
+- bsps/arm/csb336/start/memmap.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cp15/arm920-mmu.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/csb336/objnet.yml b/spec/build/bsps/arm/csb336/objnet.yml
new file mode 100644
index 0000000000..2888ae50e2
--- /dev/null
+++ b/spec/build/bsps/arm/csb336/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/csb336/net/lan91c11x.c
+- bsps/arm/csb336/net/network.c
+type: build
diff --git a/spec/build/bsps/arm/csb336/start.yml b/spec/build/bsps/arm/csb336/start.yml
new file mode 100644
index 0000000000..7791d5b557
--- /dev/null
+++ b/spec/build/bsps/arm/csb336/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/csb336/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/csb337/abi.yml b/spec/build/bsps/arm/csb337/abi.yml
new file mode 100644
index 0000000000..ccf0bc7ea2
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm920
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/csb337/bspcsb337.yml b/spec/build/bsps/arm/csb337/bspcsb337.yml
new file mode 100644
index 0000000000..5665a29ef2
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/bspcsb337.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: csb337
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: csb337
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/csb337/bspcsb637.yml b/spec/build/bsps/arm/csb337/bspcsb637.yml
new file mode 100644
index 0000000000..dd8a4e1659
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/bspcsb637.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: csb637
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: csb337
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/csb337/bspkit637v6.yml b/spec/build/bsps/arm/csb337/bspkit637v6.yml
new file mode 100644
index 0000000000..375c264880
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/bspkit637v6.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: kit637_v6
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: csb337
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/csb337/grp.yml b/spec/build/bsps/arm/csb337/grp.yml
new file mode 100644
index 0000000000..ac5fc9279f
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/grp.yml
@@ -0,0 +1,52 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objlcd
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: objumon
+- role: build-dependency
+ uid: objumoncon
+- role: build-dependency
+ uid: optcsb637
+- role: build-dependency
+ uid: optenlcd
+- role: build-dependency
+ uid: optenumon
+- role: build-dependency
+ uid: optenumoncon
+- role: build-dependency
+ uid: optenusart0
+- role: build-dependency
+ uid: optenusart1
+- role: build-dependency
+ uid: optenusart2
+- role: build-dependency
+ uid: optenusart3
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/csb337/obj.yml b/spec/build/bsps/arm/csb337/obj.yml
new file mode 100644
index 0000000000..c541cfc207
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/obj.yml
@@ -0,0 +1,57 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/csb337/include/at91rm9200.h
+ - bsps/arm/csb337/include/at91rm9200_dbgu.h
+ - bsps/arm/csb337/include/at91rm9200_emac.h
+ - bsps/arm/csb337/include/at91rm9200_gpio.h
+ - bsps/arm/csb337/include/at91rm9200_mem.h
+ - bsps/arm/csb337/include/at91rm9200_pmc.h
+ - bsps/arm/csb337/include/at91rm9200_usart.h
+ - bsps/arm/csb337/include/bits.h
+ - bsps/arm/csb337/include/bsp.h
+ - bsps/arm/csb337/include/font8x16.h
+ - bsps/arm/csb337/include/sed1356.h
+ - bsps/arm/csb337/include/sed1356_16bit.h
+ - bsps/arm/csb337/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/csb337/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/csb337/start/linkcmds.csb337
+ - bsps/arm/csb337/start/linkcmds.csb637
+links: []
+source:
+- bsps/arm/csb337/btimer/btimer.c
+- bsps/arm/csb337/clock/clock.c
+- bsps/arm/csb337/console/dbgu.c
+- bsps/arm/csb337/console/uarts.c
+- bsps/arm/csb337/console/usart.c
+- bsps/arm/csb337/irq/irq.c
+- bsps/arm/csb337/start/bspreset.c
+- bsps/arm/csb337/start/bspstart.c
+- bsps/arm/csb337/start/memmap.c
+- bsps/arm/csb337/start/pmc.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cp15/arm920-mmu.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/csb337/objlcd.yml b/spec/build/bsps/arm/csb337/objlcd.yml
new file mode 100644
index 0000000000..6db16816cd
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/objlcd.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- ENABLE_LCD
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/csb337/console/fbcons.c
+- bsps/arm/csb337/console/sed1356.c
+type: build
diff --git a/spec/build/bsps/arm/csb337/objnet.yml b/spec/build/bsps/arm/csb337/objnet.yml
new file mode 100644
index 0000000000..60849d530d
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/csb337/net/network.c
+type: build
diff --git a/spec/build/bsps/arm/csb337/objumon.yml b/spec/build/bsps/arm/csb337/objumon.yml
new file mode 100644
index 0000000000..e7d8c38a96
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/objumon.yml
@@ -0,0 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- ENABLE_UMON
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/rtems
+ source:
+ - bsps/include/rtems/umon.h
+- destination: ${BSP_INCLUDEDIR}/umon
+ source:
+ - bsps/include/umon/cli.h
+ - bsps/include/umon/monlib.h
+ - bsps/include/umon/tfs.h
+links: []
+source:
+- bsps/arm/csb337/start/umonsupp.c
+- bsps/arm/csb337/umon/monlib.c
+- bsps/arm/csb337/umon/tfsDriver.c
+- bsps/arm/csb337/umon/umonrtemsglue.c
+type: build
diff --git a/spec/build/bsps/arm/csb337/objumoncon.yml b/spec/build/bsps/arm/csb337/objumoncon.yml
new file mode 100644
index 0000000000..93e42a8058
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/objumoncon.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- ENABLE_UMON_CONSOLE
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/csb337/umon/umoncons.c
+type: build
diff --git a/spec/build/bsps/arm/csb337/optcsb637.yml b/spec/build/bsps/arm/csb337/optcsb637.yml
new file mode 100644
index 0000000000..5db48e1f0a
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optcsb637.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/kit637_v6
+- value: true
+ variants:
+ - arm/csb637
+description: |
+ If defined, this indicates that the BSP is being built for the csb637 variant.
+enabled-by: true
+links: []
+name: csb637
+type: build
diff --git a/spec/build/bsps/arm/csb337/optenlcd.yml b/spec/build/bsps/arm/csb337/optenlcd.yml
new file mode 100644
index 0000000000..40617f7c2f
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optenlcd.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: false
+ variants:
+ - arm/kit637_v6
+description: |
+ If defined, enable use of the SED1356 controller and LCD.
+enabled-by: true
+links: []
+name: ENABLE_LCD
+type: build
diff --git a/spec/build/bsps/arm/csb337/optenumon.yml b/spec/build/bsps/arm/csb337/optenumon.yml
new file mode 100644
index 0000000000..8286e0fa4b
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optenumon.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, enable use of the uMon console.
+enabled-by: true
+links: []
+name: ENABLE_UMON
+type: build
diff --git a/spec/build/bsps/arm/csb337/optenumoncon.yml b/spec/build/bsps/arm/csb337/optenumoncon.yml
new file mode 100644
index 0000000000..e2ca577184
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optenumoncon.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, enable use of the MicroMonitor console device.
+enabled-by: true
+links: []
+name: ENABLE_UMON_CONSOLE
+type: build
diff --git a/spec/build/bsps/arm/csb337/optenusart0.yml b/spec/build/bsps/arm/csb337/optenusart0.yml
new file mode 100644
index 0000000000..cd968f8dbc
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optenusart0.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, enable use of the USART 0.
+enabled-by: true
+links: []
+name: ENABLE_USART0
+type: build
diff --git a/spec/build/bsps/arm/csb337/optenusart1.yml b/spec/build/bsps/arm/csb337/optenusart1.yml
new file mode 100644
index 0000000000..963d2a9742
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optenusart1.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, enable use of the USART 1.
+enabled-by: true
+links: []
+name: ENABLE_USART1
+type: build
diff --git a/spec/build/bsps/arm/csb337/optenusart2.yml b/spec/build/bsps/arm/csb337/optenusart2.yml
new file mode 100644
index 0000000000..d4ae1fe756
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optenusart2.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, enable use of the USART 2.
+enabled-by: true
+links: []
+name: ENABLE_USART2
+type: build
diff --git a/spec/build/bsps/arm/csb337/optenusart3.yml b/spec/build/bsps/arm/csb337/optenusart3.yml
new file mode 100644
index 0000000000..200824f3e3
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/optenusart3.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, enable use of the USART 3.
+enabled-by: true
+links: []
+name: ENABLE_USART3
+type: build
diff --git a/spec/build/bsps/arm/csb337/start.yml b/spec/build/bsps/arm/csb337/start.yml
new file mode 100644
index 0000000000..7dd6661d98
--- /dev/null
+++ b/spec/build/bsps/arm/csb337/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/csb337/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/edb7312/abi.yml b/spec/build/bsps/arm/edb7312/abi.yml
new file mode 100644
index 0000000000..ab6ef203fa
--- /dev/null
+++ b/spec/build/bsps/arm/edb7312/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm7tdmi
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/edb7312/bspedb7312.yml b/spec/build/bsps/arm/edb7312/bspedb7312.yml
new file mode 100644
index 0000000000..aa73f7a51b
--- /dev/null
+++ b/spec/build/bsps/arm/edb7312/bspedb7312.yml
@@ -0,0 +1,62 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: edb7312
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: edb7312
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/edb7312/include/bsp.h
+ - bsps/arm/edb7312/include/ep7312.h
+ - bsps/arm/edb7312/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/edb7312/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/edb7312/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/edb7312/btimer/btimer.c
+- bsps/arm/edb7312/clock/clockdrv.c
+- bsps/arm/edb7312/console/uart.c
+- bsps/arm/edb7312/irq/bsp_irq_asm.S
+- bsps/arm/edb7312/irq/irq.c
+- bsps/arm/edb7312/start/bspreset.c
+- bsps/arm/edb7312/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/edb7312/objnet.yml b/spec/build/bsps/arm/edb7312/objnet.yml
new file mode 100644
index 0000000000..7c7d6080cf
--- /dev/null
+++ b/spec/build/bsps/arm/edb7312/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/edb7312/net/network.c
+type: build
diff --git a/spec/build/bsps/arm/edb7312/optskyeye.yml b/spec/build/bsps/arm/edb7312/optskyeye.yml
new file mode 100644
index 0000000000..be55a98c3a
--- /dev/null
+++ b/spec/build/bsps/arm/edb7312/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, enable options which optimize executingon the Skyeye simulator. Speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
+enabled-by: true
+links: []
+name: ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/arm/edb7312/start.yml b/spec/build/bsps/arm/edb7312/start.yml
new file mode 100644
index 0000000000..b1270224f1
--- /dev/null
+++ b/spec/build/bsps/arm/edb7312/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/edb7312/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/grp.yml b/spec/build/bsps/arm/grp.yml
new file mode 100644
index 0000000000..2bf0b82423
--- /dev/null
+++ b/spec/build/bsps/arm/grp.yml
@@ -0,0 +1,62 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/include/cmsis_gcc.h
+ - bsps/arm/include/core_cm7.h
+ - bsps/arm/include/core_cmFunc.h
+ - bsps/arm/include/core_cmInstr.h
+ - bsps/arm/include/core_cmSimd.h
+ - bsps/arm/include/uart.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/include/bsp/arm-a8core-start.h
+ - bsps/arm/include/bsp/arm-a9mpcore-clock.h
+ - bsps/arm/include/bsp/arm-a9mpcore-irq.h
+ - bsps/arm/include/bsp/arm-a9mpcore-regs.h
+ - bsps/arm/include/bsp/arm-a9mpcore-start.h
+ - bsps/arm/include/bsp/arm-cp15-start.h
+ - bsps/arm/include/bsp/arm-errata.h
+ - bsps/arm/include/bsp/arm-gic-irq.h
+ - bsps/arm/include/bsp/arm-gic-regs.h
+ - bsps/arm/include/bsp/arm-gic-tm27.h
+ - bsps/arm/include/bsp/arm-gic.h
+ - bsps/arm/include/bsp/arm-pl011-regs.h
+ - bsps/arm/include/bsp/arm-pl011.h
+ - bsps/arm/include/bsp/arm-pl050-regs.h
+ - bsps/arm/include/bsp/arm-pl050.h
+ - bsps/arm/include/bsp/arm-pl111-fb.h
+ - bsps/arm/include/bsp/arm-pl111-regs.h
+ - bsps/arm/include/bsp/arm-release-id.h
+ - bsps/arm/include/bsp/armv7m-irq.h
+ - bsps/arm/include/bsp/clock-armv7m.h
+ - bsps/arm/include/bsp/linker-symbols.h
+ - bsps/arm/include/bsp/lpc-dma.h
+ - bsps/arm/include/bsp/lpc-emc.h
+ - bsps/arm/include/bsp/lpc-i2s.h
+ - bsps/arm/include/bsp/lpc-lcd.h
+ - bsps/arm/include/bsp/lpc-timer.h
+ - bsps/arm/include/bsp/start.h
+ - bsps/arm/include/bsp/zynq-uart-regs.h
+ - bsps/arm/include/bsp/zynq-uart.h
+- destination: ${BSP_INCLUDEDIR}/libcpu
+ source:
+ - bsps/arm/include/libcpu/am335x.h
+ - bsps/arm/include/libcpu/mmu.h
+ - bsps/arm/include/libcpu/omap3.h
+ - bsps/arm/include/libcpu/omap_timer.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/shared/start/linkcmds.armv4
+ - bsps/arm/shared/start/linkcmds.armv7m
+ - bsps/arm/shared/start/linkcmds.base
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/gumstix/abi.yml b/spec/build/bsps/arm/gumstix/abi.yml
new file mode 100644
index 0000000000..41a3903894
--- /dev/null
+++ b/spec/build/bsps/arm/gumstix/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=xscale
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/gumstix/bspgumstix.yml b/spec/build/bsps/arm/gumstix/bspgumstix.yml
new file mode 100644
index 0000000000..49b809561f
--- /dev/null
+++ b/spec/build/bsps/arm/gumstix/bspgumstix.yml
@@ -0,0 +1,66 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: gumstix
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gumstix
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/gumstix/include/bsp.h
+ - bsps/arm/gumstix/include/ffuart.h
+ - bsps/arm/gumstix/include/pxa255.h
+ - bsps/arm/gumstix/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/gumstix/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/gumstix/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/gumstix/btimer/btimer.c
+- bsps/arm/gumstix/clock/clock.c
+- bsps/arm/gumstix/console/ffuart.c
+- bsps/arm/gumstix/console/uarts.c
+- bsps/arm/gumstix/fb/fb.c
+- bsps/arm/gumstix/irq/irq.c
+- bsps/arm/gumstix/start/bspreset.c
+- bsps/arm/gumstix/start/bspstart.c
+- bsps/arm/gumstix/start/memmap.c
+- bsps/arm/shared/cp15/arm920-mmu.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/gumstix/objnet.yml b/spec/build/bsps/arm/gumstix/objnet.yml
new file mode 100644
index 0000000000..01ca5bea2d
--- /dev/null
+++ b/spec/build/bsps/arm/gumstix/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/gumstix/net/rtl8019.c
+type: build
diff --git a/spec/build/bsps/arm/gumstix/optskyeye.yml b/spec/build/bsps/arm/gumstix/optskyeye.yml
new file mode 100644
index 0000000000..be55a98c3a
--- /dev/null
+++ b/spec/build/bsps/arm/gumstix/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, enable options which optimize executingon the Skyeye simulator. Speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
+enabled-by: true
+links: []
+name: ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/arm/gumstix/start.yml b/spec/build/bsps/arm/gumstix/start.yml
new file mode 100644
index 0000000000..e663028666
--- /dev/null
+++ b/spec/build/bsps/arm/gumstix/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/gumstix/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/imx/abi.yml b/spec/build/bsps/arm/imx/abi.yml
new file mode 100644
index 0000000000..169a5e6584
--- /dev/null
+++ b/spec/build/bsps/arm/imx/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-a
+- -mthumb
+- -mfpu=neon
+- -mfloat-abi=hard
+- -mtune=cortex-a7
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/imx/bspimx.yml b/spec/build/bsps/arm/imx/bspimx.yml
new file mode 100644
index 0000000000..0d32669a4a
--- /dev/null
+++ b/spec/build/bsps/arm/imx/bspimx.yml
@@ -0,0 +1,104 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: imx7
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: imx
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/imx/include/bsp.h
+ - bsps/arm/imx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/arm/freescale/imx
+ source:
+ - bsps/arm/imx/include/arm/freescale/imx/imx_ccmvar.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_ecspireg.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_gpcreg.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_i2creg.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_iomuxreg.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_iomuxvar.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_srcreg.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_uartreg.h
+ - bsps/arm/imx/include/arm/freescale/imx/imx_wdogreg.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/imx/include/bsp/imx-gpio.h
+ - bsps/arm/imx/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/imx/start/linkcmds
+ - bsps/arm/imx/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optcachedata
+- role: build-dependency
+ uid: optcacheinst
+- role: build-dependency
+ uid: optccmahb
+- role: build-dependency
+ uid: optcmmecspi
+- role: build-dependency
+ uid: optcmmipg
+- role: build-dependency
+ uid: optcmmsdhci
+- role: build-dependency
+ uid: optcmmuart
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optfdtcpyro
+- role: build-dependency
+ uid: optfdtmxsz
+- role: build-dependency
+ uid: optfdtro
+- role: build-dependency
+ uid: optfdtuboot
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/imx/console/console-config.c
+- bsps/arm/imx/gpio/imx-gpio.c
+- bsps/arm/imx/i2c/imx-i2c.c
+- bsps/arm/imx/spi/imx-ecspi.c
+- bsps/arm/imx/start/bspreset.c
+- bsps/arm/imx/start/bspstart.c
+- bsps/arm/imx/start/bspstarthooks.c
+- bsps/arm/imx/start/ccm.c
+- bsps/arm/imx/start/imx_iomux.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cache/cache-v7ar-disable-data.S
+- bsps/arm/shared/clock/clock-generic-timer.c
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/irq/irq-gic.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bsp-fdt.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/imx/objsmp.yml b/spec/build/bsps/arm/imx/objsmp.yml
new file mode 100644
index 0000000000..80dd811ddc
--- /dev/null
+++ b/spec/build/bsps/arm/imx/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/imx/start/bspsmp.c
+- bsps/arm/shared/start/arm-a9mpcore-smp.c
+type: build
diff --git a/spec/build/bsps/arm/imx/optcachedata.yml b/spec/build/bsps/arm/imx/optcachedata.yml
new file mode 100644
index 0000000000..1664b0fc31
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optcachedata.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable data cache
+enabled-by: true
+links: []
+name: BSP_DATA_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/imx/optcacheinst.yml b/spec/build/bsps/arm/imx/optcacheinst.yml
new file mode 100644
index 0000000000..b191133af9
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optcacheinst.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable instruction cache
+enabled-by: true
+links: []
+name: BSP_INSTRUCTION_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/imx/optccmahb.yml b/spec/build/bsps/arm/imx/optccmahb.yml
new file mode 100644
index 0000000000..a515a44204
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optccmahb.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 135000000
+default-by-variant: []
+description: |
+ AHB clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: IMX_CCM_AHB_HZ
+type: build
diff --git a/spec/build/bsps/arm/imx/optcmmecspi.yml b/spec/build/bsps/arm/imx/optcmmecspi.yml
new file mode 100644
index 0000000000..1f32305aef
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optcmmecspi.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 67500000
+default-by-variant: []
+description: |
+ ECSPI clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: IMX_CCM_ECSPI_HZ
+type: build
diff --git a/spec/build/bsps/arm/imx/optcmmipg.yml b/spec/build/bsps/arm/imx/optcmmipg.yml
new file mode 100644
index 0000000000..8c62921ef6
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optcmmipg.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 67500000
+default-by-variant: []
+description: |
+ IPG clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: IMX_CCM_IPG_HZ
+type: build
diff --git a/spec/build/bsps/arm/imx/optcmmsdhci.yml b/spec/build/bsps/arm/imx/optcmmsdhci.yml
new file mode 100644
index 0000000000..fa06f8111a
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optcmmsdhci.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 196363000
+default-by-variant: []
+description: |
+ SDHCI clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: IMX_CCM_SDHCI_HZ
+type: build
diff --git a/spec/build/bsps/arm/imx/optcmmuart.yml b/spec/build/bsps/arm/imx/optcmmuart.yml
new file mode 100644
index 0000000000..ab69c87323
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optcmmuart.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 24000000
+default-by-variant: []
+description: |
+ UART clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: IMX_CCM_UART_HZ
+type: build
diff --git a/spec/build/bsps/arm/imx/optconirq.yml b/spec/build/bsps/arm/imx/optconirq.yml
new file mode 100644
index 0000000000..d94a5d20d9
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ use interrupt driven mode for console devices (used by default)
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/arm/imx/optfdtcpyro.yml b/spec/build/bsps/arm/imx/optfdtcpyro.yml
new file mode 100644
index 0000000000..c26b1ae051
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optfdtcpyro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the FDT blob into the read-only load area via bsp_fdt_copy()
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
+type: build
diff --git a/spec/build/bsps/arm/imx/optfdtmxsz.yml b/spec/build/bsps/arm/imx/optfdtmxsz.yml
new file mode 100644
index 0000000000..14af766230
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optfdtmxsz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 262144
+default-by-variant: []
+description: |
+ maximum size of the FDT blob in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_FDT_BLOB_SIZE_MAX
+type: build
diff --git a/spec/build/bsps/arm/imx/optfdtro.yml b/spec/build/bsps/arm/imx/optfdtro.yml
new file mode 100644
index 0000000000..a61bb2924b
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optfdtro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ place the FDT blob into the read-only data area
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_READ_ONLY
+type: build
diff --git a/spec/build/bsps/arm/imx/optfdtuboot.yml b/spec/build/bsps/arm/imx/optfdtuboot.yml
new file mode 100644
index 0000000000..5805e912ff
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optfdtuboot.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the U-Boot provided FDT to an internal storage
+enabled-by: true
+links: []
+name: BSP_START_COPY_FDT_FROM_U_BOOT
+type: build
diff --git a/spec/build/bsps/arm/imx/optresetvec.yml b/spec/build/bsps/arm/imx/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/imx/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/abi.yml b/spec/build/bsps/arm/lm3s69xx/abi.yml
new file mode 100644
index 0000000000..77d5db8cf7
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mthumb
+- -mcpu=cortex-m3
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/bsplm3s3749.yml b/spec/build/bsps/arm/lm3s69xx/bsplm3s3749.yml
new file mode 100644
index 0000000000..f9006ac2cd
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/bsplm3s3749.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lm3s3749
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lm3s69xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlm3s3749
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/bsplm3s6965.yml b/spec/build/bsps/arm/lm3s69xx/bsplm3s6965.yml
new file mode 100644
index 0000000000..aa7627d33f
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/bsplm3s6965.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lm3s6965
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lm3s69xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlm3s6965
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/bsplm4f120.yml b/spec/build/bsps/arm/lm3s69xx/bsplm4f120.yml
new file mode 100644
index 0000000000..cbfe6707d5
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/bsplm4f120.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lm4f120
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lm3s69xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlm4f120
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/bspqemu.yml b/spec/build/bsps/arm/lm3s69xx/bspqemu.yml
new file mode 100644
index 0000000000..ca15af5b37
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/bspqemu.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lm3s6965_qemu
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lm3s69xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/grp.yml b/spec/build/bsps/arm/lm3s69xx/grp.yml
new file mode 100644
index 0000000000..2ab26fe919
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/grp.yml
@@ -0,0 +1,56 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: optenuart0
+- role: build-dependency
+ uid: optenuart1
+- role: build-dependency
+ uid: optenuart2
+- role: build-dependency
+ uid: optgpioahb
+- role: build-dependency
+ uid: optgpionum
+- role: build-dependency
+ uid: optlm3s3749
+- role: build-dependency
+ uid: optlm3s6965
+- role: build-dependency
+ uid: optlm4f120
+- role: build-dependency
+ uid: optssiblks
+- role: build-dependency
+ uid: optssiclk
+- role: build-dependency
+ uid: optsysclk
+- role: build-dependency
+ uid: optuartbaud
+- role: build-dependency
+ uid: optudma
+- role: build-dependency
+ uid: optxtalcfg
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/lm3s69xx/obj.yml b/spec/build/bsps/arm/lm3s69xx/obj.yml
new file mode 100644
index 0000000000..5e01ce7a61
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/obj.yml
@@ -0,0 +1,55 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/lm3s69xx/include/bsp.h
+ - bsps/arm/lm3s69xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/lm3s69xx/include/bsp/io.h
+ - bsps/arm/lm3s69xx/include/bsp/irq.h
+ - bsps/arm/lm3s69xx/include/bsp/lm3s69xx.h
+ - bsps/arm/lm3s69xx/include/bsp/ssi.h
+ - bsps/arm/lm3s69xx/include/bsp/syscon.h
+ - bsps/arm/lm3s69xx/include/bsp/uart.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/lm3s69xx/start/linkcmds.lm3s3749
+ - bsps/arm/lm3s69xx/start/linkcmds.lm3s6965
+ - bsps/arm/lm3s69xx/start/linkcmds.lm3s6965_qemu
+links: []
+source:
+- bsps/arm/lm3s69xx/console/console-config.c
+- bsps/arm/lm3s69xx/console/uart.c
+- bsps/arm/lm3s69xx/i2c/ssi.c
+- bsps/arm/lm3s69xx/start/bspstart.c
+- bsps/arm/lm3s69xx/start/bspstarthook.c
+- bsps/arm/lm3s69xx/start/io.c
+- bsps/arm/lm3s69xx/start/syscon.c
+- bsps/arm/shared/clock/clock-armv7m.c
+- bsps/arm/shared/irq/irq-armv7m.c
+- bsps/arm/shared/irq/irq-dispatch-armv7m.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspreset-armv7m.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optenuart0.yml b/spec/build/bsps/arm/lm3s69xx/optenuart0.yml
new file mode 100644
index 0000000000..fa3254dbf5
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optenuart0.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable UART 0
+enabled-by: true
+links: []
+name: LM3S69XX_ENABLE_UART_0
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optenuart1.yml b/spec/build/bsps/arm/lm3s69xx/optenuart1.yml
new file mode 100644
index 0000000000..42c6133cf5
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optenuart1.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable UART 1
+enabled-by: true
+links: []
+name: LM3S69XX_ENABLE_UART_1
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optenuart2.yml b/spec/build/bsps/arm/lm3s69xx/optenuart2.yml
new file mode 100644
index 0000000000..0de60cb7a7
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optenuart2.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable UART 2
+enabled-by: true
+links: []
+name: LM3S69XX_ENABLE_UART_2
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optgpioahb.yml b/spec/build/bsps/arm/lm3s69xx/optgpioahb.yml
new file mode 100644
index 0000000000..5266ec8549
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optgpioahb.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lm3s3749.*
+- value: true
+ variants:
+ - arm/lm4f.*
+description: |
+ use AHB apperture to access GPIO registers
+enabled-by: true
+links: []
+name: LM3S69XX_USE_AHB_FOR_GPIO
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optgpionum.yml b/spec/build/bsps/arm/lm3s69xx/optgpionum.yml
new file mode 100644
index 0000000000..05911d140c
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optgpionum.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 8
+ variants:
+ - arm/lm3s3749.*
+- value: 7
+ variants:
+ - arm/lm3s6965.*
+- value: 6
+ variants:
+ - arm/lm4f120.*
+description: |
+ number of GPIO blocks supported by MCU
+enabled-by: true
+format: '{}'
+links: []
+name: LM3S69XX_NUM_GPIO_BLOCKS
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optlm3s3749.yml b/spec/build/bsps/arm/lm3s69xx/optlm3s3749.yml
new file mode 100644
index 0000000000..22199d8d59
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optlm3s3749.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lm3s3749.*
+description: |
+ board has LM3S3749 MCU
+enabled-by: true
+links: []
+name: LM3S69XX_MCU_LM3S3749
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optlm3s6965.yml b/spec/build/bsps/arm/lm3s69xx/optlm3s6965.yml
new file mode 100644
index 0000000000..be01195f1d
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optlm3s6965.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lm3s6965.*
+description: |
+ board has LM3S6965 MCU
+enabled-by: true
+links: []
+name: LM3S69XX_MCU_LM3S6965
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optlm4f120.yml b/spec/build/bsps/arm/lm3s69xx/optlm4f120.yml
new file mode 100644
index 0000000000..b3c59921b6
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optlm4f120.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lm4f120.*
+description: |
+ board has LM4F120xxx MCU
+enabled-by: true
+links: []
+name: LM3S69XX_MCU_LM4F120
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optssiblks.yml b/spec/build/bsps/arm/lm3s69xx/optssiblks.yml
new file mode 100644
index 0000000000..551a27cbf2
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optssiblks.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 2
+ variants:
+ - arm/lm3s3749.*
+- value: 1
+ variants:
+ - arm/lm3s6965.*
+- value: 4
+ variants:
+ - arm/lm4f120.*
+description: |
+ number of SSI blocks supported by MCU
+enabled-by: true
+format: '{}'
+links: []
+name: LM3S69XX_NUM_SSI_BLOCKS
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optssiclk.yml b/spec/build/bsps/arm/lm3s69xx/optssiclk.yml
new file mode 100644
index 0000000000..b278880160
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optssiclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1000000
+default-by-variant: []
+description: |
+ SSI clock in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LM3S69XX_SSI_CLOCK
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optsysclk.yml b/spec/build/bsps/arm/lm3s69xx/optsysclk.yml
new file mode 100644
index 0000000000..ffdd8d78c3
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optsysclk.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 50000000
+ variants:
+ - arm/lm3s.*
+- value: 80000000
+ variants:
+ - arm/lm4f.*
+description: |
+ system clock in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LM3S69XX_SYSTEM_CLOCK
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optuartbaud.yml b/spec/build/bsps/arm/lm3s69xx/optuartbaud.yml
new file mode 100644
index 0000000000..9b1deff47c
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optuartbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UARTs
+enabled-by: true
+format: '{}'
+links: []
+name: LM3S69XX_UART_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optudma.yml b/spec/build/bsps/arm/lm3s69xx/optudma.yml
new file mode 100644
index 0000000000..88aae5094c
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optudma.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lm3s3749.*
+- value: true
+ variants:
+ - arm/lm4f.*
+description: |
+ defined if MCU supports UDMA
+enabled-by: true
+links: []
+name: LM3S69XX_HAS_UDMA
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml b/spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml
new file mode 100644
index 0000000000..d034385cd3
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 14
+ variants:
+ - arm/lm3s6965.*
+- value: 16
+ variants:
+ - arm/lm3s3749.*
+- value: 21
+ variants:
+ - arm/lm4f120.*
+description: |
+ crystal configuration for RCC register
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LM3S69XX_XTAL_CONFIG
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml b/spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml
new file mode 100644
index 0000000000..1e62c8bda5
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ capture: exclude
+ cdtest: exclude
+ fileio: exclude
+ fsdosfsformat01: exclude
+ fsrfsbitmap01: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ mdosfsfserror: exclude
+ mdosfsfsrdwr: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ paranoia: exclude
+ pppd: exclude
+ record01: exclude
+ rtems: exclude
+ shell01: exclude
+ sptls02: exclude
+ syscall01: exclude
+ telnetd01: exclude
+ ttest01: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnorfs
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/tstlm3s6965.yml b/spec/build/bsps/arm/lm3s69xx/tstlm3s6965.yml
new file mode 100644
index 0000000000..f752f18b93
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/tstlm3s6965.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ pppd: exclude
+ rtems: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lm3s69xx/tstlm4f120.yml b/spec/build/bsps/arm/lm3s69xx/tstlm4f120.yml
new file mode 100644
index 0000000000..e9dbfc5a9f
--- /dev/null
+++ b/spec/build/bsps/arm/lm3s69xx/tstlm4f120.yml
@@ -0,0 +1,39 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ block08: exclude
+ capture: exclude
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ mghttpd01: exclude
+ ostream: exclude
+ pppd: exclude
+ psxaio01: exclude
+ psxaio02: exclude
+ psxaio03: exclude
+ psxsignal07: exclude
+ sp16: exclude
+ sp25: exclude
+ sp42: exclude
+ sp48: exclude
+ sp71: exclude
+ spregionerr01: exclude
+ sptimecounter02: exclude
+ sptimecounter03: exclude
+ telnetd01: exclude
+ tmcontext01: exclude
+ top: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/abi.yml b/spec/build/bsps/arm/lpc176x/abi.yml
new file mode 100644
index 0000000000..77d5db8cf7
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mthumb
+- -mcpu=cortex-m3
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/bsplpc1768mbed.yml b/spec/build/bsps/arm/lpc176x/bsplpc1768mbed.yml
new file mode 100644
index 0000000000..189ef44c63
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/bsplpc1768mbed.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc1768_mbed
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc176x
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc1768mbed
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbram.yml b/spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbram.yml
new file mode 100644
index 0000000000..705599cbb8
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbram.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc1768_mbed_ahb_ram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc176x
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc1768mbedahbram
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbrameth.yml b/spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbrameth.yml
new file mode 100644
index 0000000000..4d1dddef55
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/bsplpc1768mbedahbrameth.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc1768_mbed_ahb_ram_eth
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc176x
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc1768mbedahbrameth
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/grp.yml b/spec/build/bsps/arm/lpc176x/grp.yml
new file mode 100644
index 0000000000..fba2a13cd8
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/grp.yml
@@ -0,0 +1,52 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: optcclk
+- role: build-dependency
+ uid: optconcfg
+- role: build-dependency
+ uid: optdmachn
+- role: build-dependency
+ uid: optlpc1768
+- role: build-dependency
+ uid: optmintskstksz
+- role: build-dependency
+ uid: optoscmain
+- role: build-dependency
+ uid: optoscrtc
+- role: build-dependency
+ uid: optpclkdiv
+- role: build-dependency
+ uid: optstopgpdma
+- role: build-dependency
+ uid: optstopusb
+- role: build-dependency
+ uid: optuart1cfg
+- role: build-dependency
+ uid: optuartbaud
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/lpc176x/obj.yml b/spec/build/bsps/arm/lpc176x/obj.yml
new file mode 100644
index 0000000000..c77a7ce404
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/obj.yml
@@ -0,0 +1,80 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/lpc176x/include/bsp.h
+ - bsps/arm/lpc176x/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/lpc176x/include/bsp/adc-defs.h
+ - bsps/arm/lpc176x/include/bsp/adc.h
+ - bsps/arm/lpc176x/include/bsp/can-defs.h
+ - bsps/arm/lpc176x/include/bsp/can.h
+ - bsps/arm/lpc176x/include/bsp/common-types.h
+ - bsps/arm/lpc176x/include/bsp/dma.h
+ - bsps/arm/lpc176x/include/bsp/gpio-defs.h
+ - bsps/arm/lpc176x/include/bsp/io-defs.h
+ - bsps/arm/lpc176x/include/bsp/io.h
+ - bsps/arm/lpc176x/include/bsp/irq.h
+ - bsps/arm/lpc176x/include/bsp/lpc-clock-config.h
+ - bsps/arm/lpc176x/include/bsp/lpc-gpio.h
+ - bsps/arm/lpc176x/include/bsp/lpc176x.h
+ - bsps/arm/lpc176x/include/bsp/mbed-pinmap.h
+ - bsps/arm/lpc176x/include/bsp/pwmout-defs.h
+ - bsps/arm/lpc176x/include/bsp/pwmout.h
+ - bsps/arm/lpc176x/include/bsp/system-clocks.h
+ - bsps/arm/lpc176x/include/bsp/timer-defs.h
+ - bsps/arm/lpc176x/include/bsp/timer.h
+ - bsps/arm/lpc176x/include/bsp/watchdog-defs.h
+ - bsps/arm/lpc176x/include/bsp/watchdog.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed
+ - bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram
+ - bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth
+links: []
+source:
+- bsps/arm/lpc176x/btimer/btimer.c
+- bsps/arm/lpc176x/can/can.c
+- bsps/arm/lpc176x/console/console-config.c
+- bsps/arm/lpc176x/gpio/lpc-gpio.c
+- bsps/arm/lpc176x/irq/irq.c
+- bsps/arm/lpc176x/pwm/pwmout.c
+- bsps/arm/lpc176x/rtc/rtc-config.c
+- bsps/arm/lpc176x/start/adc.c
+- bsps/arm/lpc176x/start/bspidle.c
+- bsps/arm/lpc176x/start/bspstart.c
+- bsps/arm/lpc176x/start/bspstarthooks.c
+- bsps/arm/lpc176x/start/dma-copy.c
+- bsps/arm/lpc176x/start/dma.c
+- bsps/arm/lpc176x/start/io.c
+- bsps/arm/lpc176x/start/restart.c
+- bsps/arm/lpc176x/start/system-clocks.c
+- bsps/arm/lpc176x/start/watchdog.c
+- bsps/arm/lpc176x/timer/timer.c
+- bsps/arm/shared/clock/clock-armv7m.c
+- bsps/arm/shared/clock/clock-nxp-lpc.c
+- bsps/arm/shared/irq/irq-armv7m.c
+- bsps/arm/shared/irq/irq-dispatch-armv7m.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspreset-armv7m.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/dev/serial/uart-output-char.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optcclk.yml b/spec/build/bsps/arm/lpc176x/optcclk.yml
new file mode 100644
index 0000000000..5df9f0a5e2
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optcclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 96000000
+default-by-variant: []
+description: |
+ CPU clock in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC176X_CCLK
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optconcfg.yml b/spec/build/bsps/arm/lpc176x/optconcfg.yml
new file mode 100644
index 0000000000..98ff2a9325
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optconcfg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ configuration for console (UART 0)
+enabled-by: true
+links: []
+name: LPC176X_CONFIG_CONSOLE
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optdmachn.yml b/spec/build/bsps/arm/lpc176x/optdmachn.yml
new file mode 100644
index 0000000000..a7c288b3c7
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optdmachn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 2
+default-by-variant: []
+description: |
+ DMA channel count
+enabled-by: true
+format: '{}'
+links: []
+name: LPC_DMA_CHANNEL_COUNT
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optlpc1768.yml b/spec/build/bsps/arm/lpc176x/optlpc1768.yml
new file mode 100644
index 0000000000..9d9673b002
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optlpc1768.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ target used for identify LPC1768 board
+enabled-by: true
+links: []
+name: ARM_LPC1768
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optmintskstksz.yml b/spec/build/bsps/arm/lpc176x/optmintskstksz.yml
new file mode 100644
index 0000000000..57e77ae551
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optmintskstksz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1024
+default-by-variant: []
+description: |
+ Suggested minimum task stack size in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_MINIMUM_TASK_STACK_SIZE
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optoscmain.yml b/spec/build/bsps/arm/lpc176x/optoscmain.yml
new file mode 100644
index 0000000000..eccce9a3ea
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optoscmain.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 12000000
+default-by-variant: []
+description: |
+ main oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC176X_OSCILLATOR_MAIN
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optoscrtc.yml b/spec/build/bsps/arm/lpc176x/optoscrtc.yml
new file mode 100644
index 0000000000..a5eff014e9
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optoscrtc.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ RTC oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC176X_OSCILLATOR_RTC
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optpclkdiv.yml b/spec/build/bsps/arm/lpc176x/optpclkdiv.yml
new file mode 100644
index 0000000000..4027f8ad17
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optpclkdiv.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ clock divider for default PCLK (PCLK = CCLK / PCLKDIV)
+enabled-by: true
+format: '{}'
+links: []
+name: LPC176X_PCLKDIV
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optstopgpdma.yml b/spec/build/bsps/arm/lpc176x/optstopgpdma.yml
new file mode 100644
index 0000000000..d407af65e7
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optstopgpdma.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop general purpose DMA at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC176X_STOP_GPDMA
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optstopusb.yml b/spec/build/bsps/arm/lpc176x/optstopusb.yml
new file mode 100644
index 0000000000..708a5bb41c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optstopusb.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop USB controller at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC176X_STOP_USB
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optuart1cfg.yml b/spec/build/bsps/arm/lpc176x/optuart1cfg.yml
new file mode 100644
index 0000000000..ec9d9843d5
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optuart1cfg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Use Uart 1
+enabled-by: true
+links: []
+name: LPC176X_CONFIG_UART_1
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/optuartbaud.yml b/spec/build/bsps/arm/lpc176x/optuartbaud.yml
new file mode 100644
index 0000000000..c5e094beef
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/optuartbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 9600
+default-by-variant: []
+description: |
+ baud for UARTs
+enabled-by: true
+format: '{}'
+links: []
+name: LPC176X_UART_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/tstlpc1768mbed.yml b/spec/build/bsps/arm/lpc176x/tstlpc1768mbed.yml
new file mode 100644
index 0000000000..566f53a2a3
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/tstlpc1768mbed.yml
@@ -0,0 +1,37 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ block08: exclude
+ capture: exclude
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ mghttpd01: exclude
+ pppd: exclude
+ psxaio01: exclude
+ psxaio02: exclude
+ psxsignal07: exclude
+ rtems: exclude
+ sp16: exclude
+ sp25: exclude
+ sp42: exclude
+ sp48: exclude
+ sptimecounter02: exclude
+ sptimecounter03: exclude
+ telnetd01: exclude
+ tmcontext01: exclude
+ tmfine01: exclude
+ top: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbram.yml b/spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbram.yml
new file mode 100644
index 0000000000..5f4d24d544
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbram.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ block08: exclude
+ capture: exclude
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ mghttpd01: exclude
+ pppd: exclude
+ psxaio01: exclude
+ psxaio02: exclude
+ psxaio03: exclude
+ psxsignal07: exclude
+ rtems: exclude
+ sp16: exclude
+ sp25: exclude
+ sp42: exclude
+ sp48: exclude
+ sptimecounter02: exclude
+ sptimecounter03: exclude
+ sptls02: exclude
+ tmcontext01: exclude
+ tmfine01: exclude
+ top: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbrameth.yml b/spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbrameth.yml
new file mode 100644
index 0000000000..4760c9d08c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc176x/tstlpc1768mbedahbrameth.yml
@@ -0,0 +1,140 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ block08: exclude
+ calloc: exclude
+ capture: exclude
+ cdtest: exclude
+ clockgettime: exclude
+ close: exclude
+ debugger01: exclude
+ defaultconfig01: exclude
+ dhrystone: exclude
+ dup2: exclude
+ fcntl: exclude
+ fileio: exclude
+ flockfile: exclude
+ fork: exclude
+ free: exclude
+ fsdosfswrite01: exclude
+ fsrfsbitmap01: exclude
+ fstat: exclude
+ ftp01: exclude
+ ftrylockfile: exclude
+ funlockfile: exclude
+ getlogin: exclude
+ getpwnam: exclude
+ getpwuid: exclude
+ gettimeofday: exclude
+ getuid: exclude
+ heapwalk: exclude
+ htonl: exclude
+ imfsfserror: exclude
+ imfsfslink: exclude
+ imfsfspatheval: exclude
+ imfsfspermission: exclude
+ imfsfsrdwr: exclude
+ imfsfsscandir01: exclude
+ imfsfssymlink: exclude
+ imfsfstime: exclude
+ iostream: exclude
+ kill: exclude
+ longjmp: exclude
+ loopback: exclude
+ lseek: exclude
+ lstat: exclude
+ malloc: exclude
+ mdosfsfserror: exclude
+ mdosfsfspatheval: exclude
+ mdosfsfsrdwr: exclude
+ mdosfsfsscandir01: exclude
+ mdosfsfsstatvfs: exclude
+ mdosfsfstime: exclude
+ mghttpd01: exclude
+ mimfsfserror: exclude
+ mimfsfslink: exclude
+ mimfsfspatheval: exclude
+ mimfsfspermission: exclude
+ mimfsfsrdwr: exclude
+ mimfsfsrename: exclude
+ mimfsfsscandir01: exclude
+ mimfsfssymlink: exclude
+ mimfsfstime: exclude
+ monitor: exclude
+ monitor01: exclude
+ monitor02: exclude
+ nanosleep: exclude
+ open: exclude
+ pipe: exclude
+ posixmemalign: exclude
+ pppd: exclude
+ psxaio01: exclude
+ psxaio02: exclude
+ psxaio03: exclude
+ psxbarrier01: exclude
+ psxkey07: exclude
+ psxkey08: exclude
+ psxsignal02: exclude
+ psxsignal07: exclude
+ rbheap01: exclude
+ read: exclude
+ readv: exclude
+ realloc: exclude
+ rtems: exclude
+ setjmp: exclude
+ sigaddset: exclude
+ sigdelset: exclude
+ sigemptyset: exclude
+ sigfillset: exclude
+ sigismember: exclude
+ sigprocmask: exclude
+ sp01: exclude
+ sp16: exclude
+ sp20: exclude
+ sp25: exclude
+ sp35: exclude
+ sp42: exclude
+ sp48: exclude
+ spclockerr01: exclude
+ speventerr03: exclude
+ spintrerr01: exclude
+ spmsgqerr01: exclude
+ spmsgqerr02: exclude
+ spporterr01: exclude
+ spratemonerr01: exclude
+ spregionerr01: exclude
+ spsemerr01: exclude
+ spsemerr02: exclude
+ spsignalerr01: exclude
+ spstkalloc: exclude
+ sptaskerr01: exclude
+ sptaskerr03: exclude
+ sptimecounter02: exclude
+ sptimecounter03: exclude
+ sptls02: exclude
+ stat: exclude
+ telnetd01: exclude
+ tm21: exclude
+ tmcontext01: exclude
+ tmfine01: exclude
+ top: exclude
+ unlink: exclude
+ utf8proc01: exclude
+ vfork: exclude
+ wait: exclude
+ waitpid: exclude
+ write: exclude
+ writev: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnorfs
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/abi.yml b/spec/build/bsps/arm/lpc24xx/abi.yml
new file mode 100644
index 0000000000..dd98de97fe
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/abi.yml
@@ -0,0 +1,34 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm7tdmi-s
+- -mthumb
+default-by-variant:
+- value:
+ - -mthumb
+ - -mcpu=cortex-m3
+ variants:
+ - arm/lpc17xx_ea_ram
+ - arm/lpc17xx_ea_rom_int
+ - arm/lpc17xx_plx800_ram
+ - arm/lpc17xx_plx800_rom_int
+- value:
+ - -mthumb
+ - -mcpu=cortex-m4
+ - -mfpu=fpv4-sp-d16
+ - -mfloat-abi=hard
+ variants:
+ - arm/lpc40xx_ea_ram
+ - arm/lpc40xx_ea_rom_int
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc17xxearam.yml b/spec/build/bsps/arm/lpc24xx/bsplpc17xxearam.yml
new file mode 100644
index 0000000000..181c49c60a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc17xxearam.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc17xx_ea_ram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc17xxearomint.yml b/spec/build/bsps/arm/lpc24xx/bsplpc17xxearomint.yml
new file mode 100644
index 0000000000..ad6e72110a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc17xxearomint.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc17xx_ea_rom_int
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc17xxearomint
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800ram.yml b/spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800ram.yml
new file mode 100644
index 0000000000..c19e6174f0
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800ram.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc17xx_plx800_ram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800romint.yml b/spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800romint.yml
new file mode 100644
index 0000000000..ec07975717
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc17xxplx800romint.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc17xx_plx800_rom_int
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc17xxplx800romint
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc2362.yml b/spec/build/bsps/arm/lpc24xx/bsplpc2362.yml
new file mode 100644
index 0000000000..fe667c755f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc2362.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc2362
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc2362
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc23xxtli800.yml b/spec/build/bsps/arm/lpc24xx/bsplpc23xxtli800.yml
new file mode 100644
index 0000000000..4815cdff2a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc23xxtli800.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc23xx_tli800
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc23xxtli800
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc24xxea.yml b/spec/build/bsps/arm/lpc24xx/bsplpc24xxea.yml
new file mode 100644
index 0000000000..8aa5210101
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc24xxea.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc24xx_ea
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc40xxearam.yml b/spec/build/bsps/arm/lpc24xx/bsplpc40xxearam.yml
new file mode 100644
index 0000000000..74dd4b4e0f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc40xxearam.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc40xx_ea_ram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bsplpc40xxearomint.yml b/spec/build/bsps/arm/lpc24xx/bsplpc40xxearomint.yml
new file mode 100644
index 0000000000..babf218f6d
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bsplpc40xxearomint.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc40xx_ea_rom_int
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstlpc40xxearomint
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bspncsram.yml b/spec/build/bsps/arm/lpc24xx/bspncsram.yml
new file mode 100644
index 0000000000..f5fd8fb730
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bspncsram.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc24xx_ncs_ram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bspncsromext.yml b/spec/build/bsps/arm/lpc24xx/bspncsromext.yml
new file mode 100644
index 0000000000..219538f4ba
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bspncsromext.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc24xx_ncs_rom_ext
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bspncsromint.yml b/spec/build/bsps/arm/lpc24xx/bspncsromint.yml
new file mode 100644
index 0000000000..ad3066f149
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bspncsromint.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc24xx_ncs_rom_int
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstncsromint
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bspplx800ram.yml b/spec/build/bsps/arm/lpc24xx/bspplx800ram.yml
new file mode 100644
index 0000000000..1b67bf9030
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bspplx800ram.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc24xx_plx800_ram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/bspplx800romint.yml b/spec/build/bsps/arm/lpc24xx/bspplx800romint.yml
new file mode 100644
index 0000000000..d205aca3b3
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/bspplx800romint.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc24xx_plx800_rom_int
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc24xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstplx800romint
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/grp.yml b/spec/build/bsps/arm/lpc24xx/grp.yml
new file mode 100644
index 0000000000..ba3d3df09d
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/grp.yml
@@ -0,0 +1,84 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optcclk
+- role: build-dependency
+ uid: optconcfg
+- role: build-dependency
+ uid: optdmachn
+- role: build-dependency
+ uid: optemcclkdiv
+- role: build-dependency
+ uid: optemcis42s32800b
+- role: build-dependency
+ uid: optemcis42s32800d7
+- role: build-dependency
+ uid: optemcm29w160e
+- role: build-dependency
+ uid: optemcm29w320e70
+- role: build-dependency
+ uid: optemcmt48lc4m16a2
+- role: build-dependency
+ uid: optemcsst39vf3201
+- role: build-dependency
+ uid: optemctest
+- role: build-dependency
+ uid: optemcw9825g2jb75i
+- role: build-dependency
+ uid: optethdownpin
+- role: build-dependency
+ uid: optethrmii
+- role: build-dependency
+ uid: optheapext
+- role: build-dependency
+ uid: optoscmain
+- role: build-dependency
+ uid: optoscrtc
+- role: build-dependency
+ uid: optotgi2c
+- role: build-dependency
+ uid: optpclkdiv
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: optstopeth
+- role: build-dependency
+ uid: optstopgpdma
+- role: build-dependency
+ uid: optstopusb
+- role: build-dependency
+ uid: optuart1cfg
+- role: build-dependency
+ uid: optuart2cfg
+- role: build-dependency
+ uid: optuart3cfg
+- role: build-dependency
+ uid: optuartbaud
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/lpc24xx/obj.yml b/spec/build/bsps/arm/lpc24xx/obj.yml
new file mode 100644
index 0000000000..43bdf40820
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/obj.yml
@@ -0,0 +1,90 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/lpc24xx/include/bsp.h
+ - bsps/arm/lpc24xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/lpc24xx/include/bsp/dma.h
+ - bsps/arm/lpc24xx/include/bsp/i2c.h
+ - bsps/arm/lpc24xx/include/bsp/io.h
+ - bsps/arm/lpc24xx/include/bsp/irq.h
+ - bsps/arm/lpc24xx/include/bsp/lcd.h
+ - bsps/arm/lpc24xx/include/bsp/lpc-clock-config.h
+ - bsps/arm/lpc24xx/include/bsp/lpc-ethernet-config.h
+ - bsps/arm/lpc24xx/include/bsp/lpc17xx.h
+ - bsps/arm/lpc24xx/include/bsp/lpc24xx.h
+ - bsps/arm/lpc24xx/include/bsp/ssp.h
+ - bsps/arm/lpc24xx/include/bsp/start-config.h
+ - bsps/arm/lpc24xx/include/bsp/system-clocks.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/lpc24xx/start/linkcmds.lpc17xx_ea_ram
+ - bsps/arm/lpc24xx/start/linkcmds.lpc17xx_ea_rom_int
+ - bsps/arm/lpc24xx/start/linkcmds.lpc17xx_plx800_ram
+ - bsps/arm/lpc24xx/start/linkcmds.lpc17xx_plx800_rom_int
+ - bsps/arm/lpc24xx/start/linkcmds.lpc2362
+ - bsps/arm/lpc24xx/start/linkcmds.lpc23xx_tli800
+ - bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ea
+ - bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ncs_ram
+ - bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ncs_rom_ext
+ - bsps/arm/lpc24xx/start/linkcmds.lpc24xx_ncs_rom_int
+ - bsps/arm/lpc24xx/start/linkcmds.lpc24xx_plx800_ram
+ - bsps/arm/lpc24xx/start/linkcmds.lpc24xx_plx800_rom_int
+ - bsps/arm/lpc24xx/start/linkcmds.lpc40xx_ea_ram
+ - bsps/arm/lpc24xx/start/linkcmds.lpc40xx_ea_rom_int
+links: []
+source:
+- bsps/arm/lpc24xx/console/console-config.c
+- bsps/arm/lpc24xx/console/uart-probe-1.c
+- bsps/arm/lpc24xx/console/uart-probe-2.c
+- bsps/arm/lpc24xx/console/uart-probe-3.c
+- bsps/arm/lpc24xx/fb/lcd.c
+- bsps/arm/lpc24xx/i2c/i2c.c
+- bsps/arm/lpc24xx/irq/irq-dispatch.c
+- bsps/arm/lpc24xx/irq/irq.c
+- bsps/arm/lpc24xx/rtc/rtc-config.c
+- bsps/arm/lpc24xx/spi/ssp.c
+- bsps/arm/lpc24xx/start/bspidle.c
+- bsps/arm/lpc24xx/start/bspreset-armv4.c
+- bsps/arm/lpc24xx/start/bspstart.c
+- bsps/arm/lpc24xx/start/bspstarthooks.c
+- bsps/arm/lpc24xx/start/dma-copy.c
+- bsps/arm/lpc24xx/start/dma.c
+- bsps/arm/lpc24xx/start/fb-config.c
+- bsps/arm/lpc24xx/start/io.c
+- bsps/arm/lpc24xx/start/restart.c
+- bsps/arm/lpc24xx/start/start-config-emc-dynamic.c
+- bsps/arm/lpc24xx/start/start-config-emc-static.c
+- bsps/arm/lpc24xx/start/start-config-mpu.c
+- bsps/arm/lpc24xx/start/start-config-pinsel.c
+- bsps/arm/lpc24xx/start/system-clocks.c
+- bsps/arm/lpc24xx/start/timer.c
+- bsps/arm/shared/clock/clock-armv7m.c
+- bsps/arm/shared/clock/clock-nxp-lpc.c
+- bsps/arm/shared/fb/arm-pl111.c
+- bsps/arm/shared/irq/irq-armv7m.c
+- bsps/arm/shared/irq/irq-dispatch-armv7m.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspreset-armv7m.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/dev/serial/uart-output-char.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/objnet.yml b/spec/build/bsps/arm/lpc24xx/objnet.yml
new file mode 100644
index 0000000000..8534edceaf
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/shared/net/lpc-ethernet.c
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optcclk.yml b/spec/build/bsps/arm/lpc24xx/optcclk.yml
new file mode 100644
index 0000000000..aacf2192c2
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optcclk.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 72000000
+default-by-variant:
+- value: 96000000
+ variants:
+ - arm/lpc17xx_ea.*
+- value: 96000000
+ variants:
+ - arm/lpc40xx_ea.*
+- value: 58982400
+ variants:
+ - arm/lpc23.*
+- value: 51612800
+ variants:
+ - arm/lpc24xx_plx800_.*
+description: |
+ CPU clock in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC24XX_CCLK
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optconcfg.yml b/spec/build/bsps/arm/lpc24xx/optconcfg.yml
new file mode 100644
index 0000000000..4e09164cdf
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optconcfg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ configuration for console (UART 0)
+enabled-by: true
+links: []
+name: LPC24XX_CONFIG_CONSOLE
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optdmachn.yml b/spec/build/bsps/arm/lpc24xx/optdmachn.yml
new file mode 100644
index 0000000000..1a67589bfc
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optdmachn.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 2
+default-by-variant:
+- value: 8
+ variants:
+ - arm/lpc17.*
+- value: 8
+ variants:
+ - arm/lpc40.*
+description: |
+ DMA channel count
+enabled-by: true
+format: '{}'
+links: []
+name: LPC_DMA_CHANNEL_COUNT
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcclkdiv.yml b/spec/build/bsps/arm/lpc24xx/optemcclkdiv.yml
new file mode 100644
index 0000000000..8851dadfa7
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcclkdiv.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 2
+ variants:
+ - arm/lpc17xx_ea.*
+- value: 2
+ variants:
+ - arm/lpc40xx_ea.*
+description: |
+ clock divider for EMCCLK (EMCCLK = CCLK / EMCCLKDIV)
+enabled-by: true
+format: '{}'
+links: []
+name: LPC24XX_EMCCLKDIV
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcis42s32800b.yml b/spec/build/bsps/arm/lpc24xx/optemcis42s32800b.yml
new file mode 100644
index 0000000000..de40eca73a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcis42s32800b.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lpc17xx_ea_rom_.*
+- value: true
+ variants:
+ - arm/lpc40xx_ea_rom_.*
+description: |
+ enable ISSI IS42S32800B configuration for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_IS42S32800B
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcis42s32800d7.yml b/spec/build/bsps/arm/lpc24xx/optemcis42s32800d7.yml
new file mode 100644
index 0000000000..e7ad228709
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcis42s32800d7.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*_plx800_rom_.*
+description: |
+ enable ISSI IS42S32800D7 configuration for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_IS42S32800D7
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcm29w160e.yml b/spec/build/bsps/arm/lpc24xx/optemcm29w160e.yml
new file mode 100644
index 0000000000..40a4bfbf71
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcm29w160e.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lpc24xx_ncs_rom_.*
+description: |
+ enable M29W160E configuration for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_M29W160E
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcm29w320e70.yml b/spec/build/bsps/arm/lpc24xx/optemcm29w320e70.yml
new file mode 100644
index 0000000000..a32c1a3eb6
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcm29w320e70.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*_plx800_rom_.*
+description: |
+ enable M29W320E70 configuration for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_M29W320E70
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcmt48lc4m16a2.yml b/spec/build/bsps/arm/lpc24xx/optemcmt48lc4m16a2.yml
new file mode 100644
index 0000000000..ab6f25fef8
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcmt48lc4m16a2.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lpc24xx_ncs_rom_.*
+description: |
+ enable Micron MT48LC4M16A2 configuration for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_MT48LC4M16A2
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcsst39vf3201.yml b/spec/build/bsps/arm/lpc24xx/optemcsst39vf3201.yml
new file mode 100644
index 0000000000..851c28a275
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcsst39vf3201.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable SST39VF3201 configuration for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_SST39VF3201
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemctest.yml b/spec/build/bsps/arm/lpc24xx/optemctest.yml
new file mode 100644
index 0000000000..4153bd2664
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemctest.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable tests for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_TEST
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optemcw9825g2jb75i.yml b/spec/build/bsps/arm/lpc24xx/optemcw9825g2jb75i.yml
new file mode 100644
index 0000000000..2be3f76372
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optemcw9825g2jb75i.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable Winbond W9825G2JB75I configuration for EMC
+enabled-by: true
+links: []
+name: LPC24XX_EMC_W9825G2JB75I
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optethdownpin.yml b/spec/build/bsps/arm/lpc24xx/optethdownpin.yml
new file mode 100644
index 0000000000..c3889b0eea
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optethdownpin.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ optional Ethernet power-down pin, output is set to high to enable power
+enabled-by: true
+links: []
+name: LPC24XX_PIN_ETHERNET_POWER_DOWN
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optethrmii.yml b/spec/build/bsps/arm/lpc24xx/optethrmii.yml
new file mode 100644
index 0000000000..c7c3627c82
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optethrmii.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*_ea_.*
+description: |
+ enable RMII for Ethernet
+enabled-by: true
+links: []
+name: LPC24XX_ETHERNET_RMII
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optheapext.yml b/spec/build/bsps/arm/lpc24xx/optheapext.yml
new file mode 100644
index 0000000000..b485eb6cc3
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optheapext.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/lpc23.*
+description: |
+ enable heap extend by Ethernet and USB regions
+enabled-by: true
+links: []
+name: LPC24XX_HEAP_EXTEND
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optoscmain.yml b/spec/build/bsps/arm/lpc24xx/optoscmain.yml
new file mode 100644
index 0000000000..ec529345a1
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optoscmain.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 12000000
+default-by-variant:
+- value: 3686400
+ variants:
+ - arm/lpc23.*
+description: |
+ main oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC24XX_OSCILLATOR_MAIN
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optoscrtc.yml b/spec/build/bsps/arm/lpc24xx/optoscrtc.yml
new file mode 100644
index 0000000000..0b66f8a553
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optoscrtc.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ RTC oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC24XX_OSCILLATOR_RTC
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optotgi2c.yml b/spec/build/bsps/arm/lpc24xx/optotgi2c.yml
new file mode 100644
index 0000000000..4e205cb0af
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optotgi2c.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 94
+ variants:
+ - arm/lpc17xx_ea.*
+- value: 94
+ variants:
+ - arm/lpc40xx_ea.*
+description: |
+ USB OTG transceiver I2C address used by USB stack
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optpclkdiv.yml b/spec/build/bsps/arm/lpc24xx/optpclkdiv.yml
new file mode 100644
index 0000000000..296486c78f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optpclkdiv.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 2
+ variants:
+ - arm/lpc17xx_ea.*
+- value: 2
+ variants:
+ - arm/lpc40xx_ea.*
+description: |
+ clock divider for default PCLK (PCLK = CCLK / PCLKDIV)
+enabled-by: true
+format: '{}'
+links: []
+name: LPC24XX_PCLKDIV
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optresetvec.yml b/spec/build/bsps/arm/lpc24xx/optresetvec.yml
new file mode 100644
index 0000000000..a73530db7b
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optresetvec.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 2147483712
+ variants:
+ - arm/lpc24xx_ncs_rom_ext
+description: |
+ reset vector address for BSP start
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optstopeth.yml b/spec/build/bsps/arm/lpc24xx/optstopeth.yml
new file mode 100644
index 0000000000..60f07f9a06
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optstopeth.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/lpc23.*
+description: |
+ stop Ethernet controller at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC24XX_STOP_ETHERNET
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optstopgpdma.yml b/spec/build/bsps/arm/lpc24xx/optstopgpdma.yml
new file mode 100644
index 0000000000..5705cc03ef
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optstopgpdma.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop general purpose DMA at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC24XX_STOP_GPDMA
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optstopusb.yml b/spec/build/bsps/arm/lpc24xx/optstopusb.yml
new file mode 100644
index 0000000000..2f2bfc5c93
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optstopusb.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/lpc23.*
+description: |
+ stop USB controller at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC24XX_STOP_USB
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optuart1cfg.yml b/spec/build/bsps/arm/lpc24xx/optuart1cfg.yml
new file mode 100644
index 0000000000..c1f133f08f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optuart1cfg.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*_plx800_.*
+description: |
+ configuration for UART 1
+enabled-by: true
+links: []
+name: LPC24XX_CONFIG_UART_1
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optuart2cfg.yml b/spec/build/bsps/arm/lpc24xx/optuart2cfg.yml
new file mode 100644
index 0000000000..3e523147ca
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optuart2cfg.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: false
+ variants:
+ - arm/lpc23.*
+- value: false
+ variants:
+ - arm/lpc24xx_ncs_.*
+- value: false
+ variants:
+ - arm/.*_plx800_.*
+description: |
+ configuration for UART 2
+enabled-by: true
+links: []
+name: LPC24XX_CONFIG_UART_2
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optuart3cfg.yml b/spec/build/bsps/arm/lpc24xx/optuart3cfg.yml
new file mode 100644
index 0000000000..2af84c927d
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optuart3cfg.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: false
+ variants:
+ - arm/lpc23.*
+- value: false
+ variants:
+ - arm/lpc24xx_ncs_.*
+description: |
+ configuration for UART 3
+enabled-by: true
+links: []
+name: LPC24XX_CONFIG_UART_3
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/optuartbaud.yml b/spec/build/bsps/arm/lpc24xx/optuartbaud.yml
new file mode 100644
index 0000000000..e772d71381
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/optuartbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UARTs
+enabled-by: true
+format: '{}'
+links: []
+name: LPC24XX_UART_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/tstlpc17xxearomint.yml b/spec/build/bsps/arm/lpc24xx/tstlpc17xxearomint.yml
new file mode 100644
index 0000000000..7d60bda27a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/tstlpc17xxearomint.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/tstlpc17xxplx800romint.yml b/spec/build/bsps/arm/lpc24xx/tstlpc17xxplx800romint.yml
new file mode 100644
index 0000000000..7d60bda27a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/tstlpc17xxplx800romint.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/tstlpc2362.yml b/spec/build/bsps/arm/lpc24xx/tstlpc2362.yml
new file mode 100644
index 0000000000..da7d418688
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/tstlpc2362.yml
@@ -0,0 +1,55 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ block08: exclude
+ capture: exclude
+ cdtest: exclude
+ fileio: exclude
+ fsdosfsformat01: exclude
+ fsrfsbitmap01: exclude
+ fsrofs01: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ math: exclude
+ mdosfsfserror: exclude
+ mdosfsfsrdwr: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ paranoia: exclude
+ pppd: exclude
+ psxaio01: exclude
+ psxaio02: exclude
+ psxaio03: exclude
+ psxsignal07: exclude
+ record01: exclude
+ rtems: exclude
+ shell01: exclude
+ sp16: exclude
+ sp25: exclude
+ sp42: exclude
+ sp48: exclude
+ spcxx01: exclude
+ sptimecounter02: exclude
+ sptimecounter03: exclude
+ sptls02: exclude
+ syscall01: exclude
+ telnetd01: exclude
+ tmcontext01: exclude
+ tmfine01: exclude
+ top: exclude
+ ttest01: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnorfs
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/tstlpc23xxtli800.yml b/spec/build/bsps/arm/lpc24xx/tstlpc23xxtli800.yml
new file mode 100644
index 0000000000..97a1aa3b43
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/tstlpc23xxtli800.yml
@@ -0,0 +1,66 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ block08: exclude
+ capture: exclude
+ cdtest: exclude
+ complex: exclude
+ crypt01: exclude
+ fileio: exclude
+ fsdosfsformat01: exclude
+ fsdosfswrite01: exclude
+ fsrfsbitmap01: exclude
+ fsrofs01: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ math: exclude
+ mathf: exclude
+ mdosfsfserror: exclude
+ mdosfsfspatheval: exclude
+ mdosfsfsrdwr: exclude
+ mdosfsfsscandir01: exclude
+ mdosfsfstime: exclude
+ mghttpd01: exclude
+ monitor: exclude
+ monitor02: exclude
+ paranoia: exclude
+ pppd: exclude
+ psxaio01: exclude
+ psxaio02: exclude
+ psxaio03: exclude
+ psxmsgq01: exclude
+ psxsignal07: exclude
+ record01: exclude
+ rtems: exclude
+ shell01: exclude
+ sp16: exclude
+ sp25: exclude
+ sp42: exclude
+ sp48: exclude
+ spcxx01: exclude
+ sptimecounter02: exclude
+ sptimecounter03: exclude
+ sptls02: exclude
+ syscall01: exclude
+ tar01: exclude
+ telnetd01: exclude
+ termios: exclude
+ tmcontext01: exclude
+ tmfine01: exclude
+ top: exclude
+ ttest01: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnorfs
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/tstlpc40xxearomint.yml b/spec/build/bsps/arm/lpc24xx/tstlpc40xxearomint.yml
new file mode 100644
index 0000000000..7d60bda27a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/tstlpc40xxearomint.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/tstncsromint.yml b/spec/build/bsps/arm/lpc24xx/tstncsromint.yml
new file mode 100644
index 0000000000..7d60bda27a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/tstncsromint.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/lpc24xx/tstplx800romint.yml b/spec/build/bsps/arm/lpc24xx/tstplx800romint.yml
new file mode 100644
index 0000000000..7d60bda27a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc24xx/tstplx800romint.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/abi.yml b/spec/build/bsps/arm/lpc32xx/abi.yml
new file mode 100644
index 0000000000..ae245b4eb0
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm926ej-s
+- -mthumb
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml b/spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml
new file mode 100644
index 0000000000..9a9762dd5d
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bsplpc32xxmzx.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_mzx
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml b/spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml
new file mode 100644
index 0000000000..09a70a0654
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bspmzxstage1.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_mzx_stage_1
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstmzxstage1
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml b/spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml
new file mode 100644
index 0000000000..ff709b0bc3
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bspmzxstage2.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_mzx_stage_2
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/bspphycore.yml b/spec/build/bsps/arm/lpc32xx/bspphycore.yml
new file mode 100644
index 0000000000..74396727d6
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/bspphycore.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: lpc32xx_phycore
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lpc32xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/grp.yml b/spec/build/bsps/arm/lpc32xx/grp.yml
new file mode 100644
index 0000000000..510909428c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/grp.yml
@@ -0,0 +1,84 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optdismmu
+- role: build-dependency
+ uid: optdisroprot
+- role: build-dependency
+ uid: optdisrwdc
+- role: build-dependency
+ uid: optdmachn
+- role: build-dependency
+ uid: optenwdgrst
+- role: build-dependency
+ uid: optethrmii
+- role: build-dependency
+ uid: optoscmain
+- role: build-dependency
+ uid: optoscrtc
+- role: build-dependency
+ uid: optotgi2c
+- role: build-dependency
+ uid: optotgvbus
+- role: build-dependency
+ uid: optperiphclk
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: optscratchsz
+- role: build-dependency
+ uid: optstopeth
+- role: build-dependency
+ uid: optstopgpdma
+- role: build-dependency
+ uid: optstopusb
+- role: build-dependency
+ uid: optu3clk
+- role: build-dependency
+ uid: optu4clk
+- role: build-dependency
+ uid: optu5clk
+- role: build-dependency
+ uid: optu6clk
+- role: build-dependency
+ uid: optuart1baud
+- role: build-dependency
+ uid: optuart2baud
+- role: build-dependency
+ uid: optuart3baud
+- role: build-dependency
+ uid: optuart4baud
+- role: build-dependency
+ uid: optuart5baud
+- role: build-dependency
+ uid: optuart6baud
+- role: build-dependency
+ uid: optuart7baud
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/lpc32xx/obj.yml b/spec/build/bsps/arm/lpc32xx/obj.yml
new file mode 100644
index 0000000000..70ee86302c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/obj.yml
@@ -0,0 +1,69 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/lpc32xx/include/bsp.h
+ - bsps/arm/lpc32xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/lpc32xx/include/bsp/boot.h
+ - bsps/arm/lpc32xx/include/bsp/emc.h
+ - bsps/arm/lpc32xx/include/bsp/hsu.h
+ - bsps/arm/lpc32xx/include/bsp/i2c.h
+ - bsps/arm/lpc32xx/include/bsp/irq.h
+ - bsps/arm/lpc32xx/include/bsp/lpc-clock-config.h
+ - bsps/arm/lpc32xx/include/bsp/lpc-ethernet-config.h
+ - bsps/arm/lpc32xx/include/bsp/lpc32xx.h
+ - bsps/arm/lpc32xx/include/bsp/mmu.h
+ - bsps/arm/lpc32xx/include/bsp/nand-mlc.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_1
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_mzx_stage_2
+ - bsps/arm/lpc32xx/start/linkcmds.lpc32xx_phycore
+links: []
+source:
+- bsps/arm/lpc32xx/console/console-config.c
+- bsps/arm/lpc32xx/console/hsu.c
+- bsps/arm/lpc32xx/i2c/i2c.c
+- bsps/arm/lpc32xx/irq/irq.c
+- bsps/arm/lpc32xx/nand/nand-mlc-erase-block-safe.c
+- bsps/arm/lpc32xx/nand/nand-mlc-read-blocks.c
+- bsps/arm/lpc32xx/nand/nand-mlc-write-blocks.c
+- bsps/arm/lpc32xx/nand/nand-mlc.c
+- bsps/arm/lpc32xx/nand/nand-select.c
+- bsps/arm/lpc32xx/rtc/rtc-config.c
+- bsps/arm/lpc32xx/start/boot.c
+- bsps/arm/lpc32xx/start/bspidle.c
+- bsps/arm/lpc32xx/start/bspreset.c
+- bsps/arm/lpc32xx/start/bspstart.c
+- bsps/arm/lpc32xx/start/bspstarthooks.c
+- bsps/arm/lpc32xx/start/emc.c
+- bsps/arm/lpc32xx/start/restart.c
+- bsps/arm/lpc32xx/start/system-clocks.c
+- bsps/arm/lpc32xx/start/timer.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/clock/clock-nxp-lpc.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/dev/serial/uart-output-char.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/objnet.yml b/spec/build/bsps/arm/lpc32xx/objnet.yml
new file mode 100644
index 0000000000..8534edceaf
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/shared/net/lpc-ethernet.c
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdismmu.yml b/spec/build/bsps/arm/lpc32xx/optdismmu.yml
new file mode 100644
index 0000000000..b431f04841
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdismmu.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ disable MMU
+enabled-by: true
+links: []
+name: LPC32XX_DISABLE_MMU
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdisroprot.yml b/spec/build/bsps/arm/lpc32xx/optdisroprot.yml
new file mode 100644
index 0000000000..5ce23607b8
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdisroprot.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ disable MMU protection of read-only sections
+enabled-by: true
+links: []
+name: LPC32XX_DISABLE_READ_ONLY_PROTECTION
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdisrwdc.yml b/spec/build/bsps/arm/lpc32xx/optdisrwdc.yml
new file mode 100644
index 0000000000..55765c3e8e
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdisrwdc.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ disable cache for read-write data sections
+enabled-by: true
+links: []
+name: LPC32XX_DISABLE_READ_WRITE_DATA_CACHE
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optdmachn.yml b/spec/build/bsps/arm/lpc32xx/optdmachn.yml
new file mode 100644
index 0000000000..4c826a5f01
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optdmachn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 8
+default-by-variant: []
+description: |
+ DMA channel count
+enabled-by: true
+format: '{}'
+links: []
+name: LPC_DMA_CHANNEL_COUNT
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optenwdgrst.yml b/spec/build/bsps/arm/lpc32xx/optenwdgrst.yml
new file mode 100644
index 0000000000..d36a5c0398
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optenwdgrst.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ bsp_reset() will use the watchdog to reset the chip
+enabled-by: true
+links: []
+name: LPC32XX_ENABLE_WATCHDOG_RESET
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optethrmii.yml b/spec/build/bsps/arm/lpc32xx/optethrmii.yml
new file mode 100644
index 0000000000..ccb4c95abc
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optethrmii.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable RMII for Ethernet
+enabled-by: true
+links: []
+name: LPC32XX_ETHERNET_RMII
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optoscmain.yml b/spec/build/bsps/arm/lpc32xx/optoscmain.yml
new file mode 100644
index 0000000000..aadb9b6799
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optoscmain.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 13000000
+default-by-variant: []
+description: |
+ main oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_OSCILLATOR_MAIN
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optoscrtc.yml b/spec/build/bsps/arm/lpc32xx/optoscrtc.yml
new file mode 100644
index 0000000000..09aab2d9c6
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optoscrtc.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ RTC oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_OSCILLATOR_RTC
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optotgi2c.yml b/spec/build/bsps/arm/lpc32xx/optotgi2c.yml
new file mode 100644
index 0000000000..72137d9c27
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optotgi2c.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 88
+ variants:
+ - arm/lpc32xx_mzx.*
+description: |
+ USB OTG transceiver I2C address used by USB stack
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_USB_OTG_TRANSCEIVER_I2C_ADDR
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optotgvbus.yml b/spec/build/bsps/arm/lpc32xx/optotgvbus.yml
new file mode 100644
index 0000000000..0d9d6b65f5
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optotgvbus.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: USB_OTG_VBUS_POWER_WITH_CHARGE_PUMP
+ variants:
+ - arm/lpc32xx_mzx.*
+description: |
+ USB OTG transceiver VBUS policy
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_USB_OTG_TRANSCEIVER_VBUS
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optperiphclk.yml b/spec/build/bsps/arm/lpc32xx/optperiphclk.yml
new file mode 100644
index 0000000000..70be8d51bf
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optperiphclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 13000000
+default-by-variant: []
+description: |
+ peripheral clock in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_PERIPH_CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optresetvec.yml b/spec/build/bsps/arm/lpc32xx/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optscratchsz.yml b/spec/build/bsps/arm/lpc32xx/optscratchsz.yml
new file mode 100644
index 0000000000..c54f1ae7b3
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optscratchsz.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 4096
+ variants:
+ - arm/lpc32xx_mzx.*
+description: |
+ size of scratch area
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_SCRATCH_AREA_SIZE
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optstopeth.yml b/spec/build/bsps/arm/lpc32xx/optstopeth.yml
new file mode 100644
index 0000000000..2d430a1862
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optstopeth.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop Ethernet controller at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC32XX_STOP_ETHERNET
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optstopgpdma.yml b/spec/build/bsps/arm/lpc32xx/optstopgpdma.yml
new file mode 100644
index 0000000000..5096cc48a9
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optstopgpdma.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop general purpose DMA at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC32XX_STOP_GPDMA
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optstopusb.yml b/spec/build/bsps/arm/lpc32xx/optstopusb.yml
new file mode 100644
index 0000000000..e2bbc72f5f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optstopusb.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ stop USB controller at start-up to avoid DMA interference
+enabled-by: true
+links: []
+name: LPC32XX_STOP_USB
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu3clk.yml b/spec/build/bsps/arm/lpc32xx/optu3clk.yml
new file mode 100644
index 0000000000..e8aa25671f
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu3clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 3
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U3CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu4clk.yml b/spec/build/bsps/arm/lpc32xx/optu4clk.yml
new file mode 100644
index 0000000000..19c36967e1
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu4clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 4
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U4CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu5clk.yml b/spec/build/bsps/arm/lpc32xx/optu5clk.yml
new file mode 100644
index 0000000000..66a67dea95
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu5clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 5
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U5CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optu6clk.yml b/spec/build/bsps/arm/lpc32xx/optu6clk.yml
new file mode 100644
index 0000000000..364e3143f9
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optu6clk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4998
+default-by-variant: []
+description: |
+ clock configuration for UART 6
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LPC32XX_CONFIG_U6CLK
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart1baud.yml b/spec/build/bsps/arm/lpc32xx/optuart1baud.yml
new file mode 100644
index 0000000000..d0b7a546db
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart1baud.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ baud for UART 1
+enabled-by: true
+links: []
+name: LPC32XX_UART_1_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart2baud.yml b/spec/build/bsps/arm/lpc32xx/optuart2baud.yml
new file mode 100644
index 0000000000..5bdf8be11b
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart2baud.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ baud for UART 2
+enabled-by: true
+links: []
+name: LPC32XX_UART_2_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart3baud.yml b/spec/build/bsps/arm/lpc32xx/optuart3baud.yml
new file mode 100644
index 0000000000..95e63cf56e
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart3baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 3
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_3_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart4baud.yml b/spec/build/bsps/arm/lpc32xx/optuart4baud.yml
new file mode 100644
index 0000000000..d210bd3c6b
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart4baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 4
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_4_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart5baud.yml b/spec/build/bsps/arm/lpc32xx/optuart5baud.yml
new file mode 100644
index 0000000000..0021d5c9ed
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart5baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 5
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_5_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart6baud.yml b/spec/build/bsps/arm/lpc32xx/optuart6baud.yml
new file mode 100644
index 0000000000..dc856fa33e
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart6baud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UART 6
+enabled-by: true
+format: '{}'
+links: []
+name: LPC32XX_UART_6_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/optuart7baud.yml b/spec/build/bsps/arm/lpc32xx/optuart7baud.yml
new file mode 100644
index 0000000000..867d534e57
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/optuart7baud.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ baud for UART 7
+enabled-by: true
+links: []
+name: LPC32XX_UART_7_BAUD
+type: build
diff --git a/spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml b/spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml
new file mode 100644
index 0000000000..0bb2da517c
--- /dev/null
+++ b/spec/build/bsps/arm/lpc32xx/tstmzxstage1.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ pppd: exclude
+ rtems: exclude
+ sp71: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/opta9periphclk.yml b/spec/build/bsps/arm/opta9periphclk.yml
new file mode 100644
index 0000000000..8d8c240606
--- /dev/null
+++ b/spec/build/bsps/arm/opta9periphclk.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 100000000
+default-by-variant:
+- value: 333333333
+ variants:
+ - arm/xilinx_zynq_zc702
+- value: 666666667
+ variants:
+ - arm/xilinx_zynq_zedboard
+description: |
+ ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_ARM_A9MPCORE_PERIPHCLK
+type: build
diff --git a/spec/build/bsps/arm/optmmusmallpages.yml b/spec/build/bsps/arm/optmmusmallpages.yml
new file mode 100644
index 0000000000..a080dec5c6
--- /dev/null
+++ b/spec/build/bsps/arm/optmmusmallpages.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-assign: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Use MMU with small pages (4KiB)
+enabled-by: true
+format: '{}'
+links: []
+name: ARM_MMU_USE_SMALL_PAGES
+type: build
diff --git a/spec/build/bsps/arm/optmmusz.yml b/spec/build/bsps/arm/optmmusz.yml
new file mode 100644
index 0000000000..64c97be60a
--- /dev/null
+++ b/spec/build/bsps/arm/optmmusz.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-ge: 16384
+- assert-le: 33554432
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 16384
+default-by-variant: []
+description: |
+ Defines the size of the MMU translation table in bytes. The translation
+ table size depends on the configured MMU granularity, for example 4KiB pages
+ or 1MiB sections.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ARM_MMU_TRANSLATION_TABLE_SIZE
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/abi.yml b/spec/build/bsps/arm/raspberrypi/abi.yml
new file mode 100644
index 0000000000..66459a1e1b
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/abi.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-a
+- -mthumb
+- -mfpu=neon
+- -mfloat-abi=hard
+- -mtune=cortex-a7
+default-by-variant:
+- value:
+ - -mcpu=arm1176jzf-s
+ variants:
+ - arm/raspberrypi
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/bspraspberrypi.yml b/spec/build/bsps/arm/raspberrypi/bspraspberrypi.yml
new file mode 100644
index 0000000000..ceef1d06e0
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/bspraspberrypi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: raspberrypi
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: raspberrypi
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/bspraspberrypi2.yml b/spec/build/bsps/arm/raspberrypi/bspraspberrypi2.yml
new file mode 100644
index 0000000000..5f604aa42f
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/bspraspberrypi2.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: raspberrypi2
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: raspberrypi
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/grp.yml b/spec/build/bsps/arm/raspberrypi/grp.yml
new file mode 100644
index 0000000000..e28f387c8d
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/grp.yml
@@ -0,0 +1,46 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optenhyp
+- role: build-dependency
+ uid: opti2ciomode
+- role: build-dependency
+ uid: ../optmmusz
+- role: build-dependency
+ uid: optnocachelen
+- role: build-dependency
+ uid: optramlen
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: optrpi2
+- role: build-dependency
+ uid: optspiiomode
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: linkcmds
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/raspberrypi/linkcmds.yml b/spec/build/bsps/arm/raspberrypi/linkcmds.yml
new file mode 100644
index 0000000000..100d593757
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/linkcmds.yml
@@ -0,0 +1,43 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ MEMORY {
+ RAM_MMU (AIW) : ORIGIN = 0x00100000, LENGTH = ${ARM_MMU_TRANSLATION_TABLE_SIZE}
+ RAM (AIW) : ORIGIN = 0x00200000, LENGTH = ${RPI_RAM_LENGTH_AVAILABLE} - ${RPI_RAM_NOCACHE_LENGTH}
+ }
+
+ REGION_ALIAS ("REGION_START", RAM);
+ REGION_ALIAS ("REGION_VECTOR", RAM);
+ REGION_ALIAS ("REGION_TEXT", RAM);
+ REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_RODATA", RAM);
+ REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_DATA", RAM);
+ REGION_ALIAS ("REGION_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_BSS", RAM);
+ REGION_ALIAS ("REGION_WORK", RAM);
+ REGION_ALIAS ("REGION_STACK", RAM);
+ REGION_ALIAS ("REGION_NOCACHE", RAM);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", RAM);
+
+ bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
+
+ bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
+
+ bsp_vector_table_in_start_section = 1;
+
+ bsp_translation_table_base = ORIGIN (RAM_MMU);
+ bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
+
+ INCLUDE linkcmds.armv4
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/obj.yml b/spec/build/bsps/arm/raspberrypi/obj.yml
new file mode 100644
index 0000000000..45180cdd5f
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/obj.yml
@@ -0,0 +1,61 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/raspberrypi/include/bsp.h
+ - bsps/arm/raspberrypi/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/raspberrypi/include/bsp/fbcons.h
+ - bsps/arm/raspberrypi/include/bsp/i2c.h
+ - bsps/arm/raspberrypi/include/bsp/irq.h
+ - bsps/arm/raspberrypi/include/bsp/mailbox.h
+ - bsps/arm/raspberrypi/include/bsp/mmu.h
+ - bsps/arm/raspberrypi/include/bsp/raspberrypi.h
+ - bsps/arm/raspberrypi/include/bsp/rpi-fb.h
+ - bsps/arm/raspberrypi/include/bsp/rpi-gpio.h
+ - bsps/arm/raspberrypi/include/bsp/spi.h
+ - bsps/arm/raspberrypi/include/bsp/usart.h
+ - bsps/arm/raspberrypi/include/bsp/vc.h
+links: []
+source:
+- bsps/arm/raspberrypi/clock/clockdrv.c
+- bsps/arm/raspberrypi/console/console-config.c
+- bsps/arm/raspberrypi/console/fb.c
+- bsps/arm/raspberrypi/console/fbcons.c
+- bsps/arm/raspberrypi/console/outch.c
+- bsps/arm/raspberrypi/gpio/rpi-gpio.c
+- bsps/arm/raspberrypi/i2c/i2c.c
+- bsps/arm/raspberrypi/irq/irq.c
+- bsps/arm/raspberrypi/spi/spi.c
+- bsps/arm/raspberrypi/start/bspreset.c
+- bsps/arm/raspberrypi/start/bspstart.c
+- bsps/arm/raspberrypi/start/bspstarthooks.c
+- bsps/arm/raspberrypi/start/cmdline.c
+- bsps/arm/raspberrypi/start/mailbox.c
+- bsps/arm/raspberrypi/start/timer.c
+- bsps/arm/raspberrypi/start/vc.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cache/cache-v7ar-disable-data.S
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/serial/arm-pl011.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/gpio/gpio-support.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bsp-fdt.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/objsmp.yml b/spec/build/bsps/arm/raspberrypi/objsmp.yml
new file mode 100644
index 0000000000..547c39abf5
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/raspberrypi/start/bspsmp.c
+- bsps/arm/raspberrypi/start/bspsmp_init.c
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optenhyp.yml b/spec/build/bsps/arm/raspberrypi/optenhyp.yml
new file mode 100644
index 0000000000..b9b9cb89ae
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optenhyp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Support start of BSP in ARM HYP mode
+enabled-by: true
+links: []
+name: BSP_START_IN_HYP_SUPPORT
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/opti2ciomode.yml b/spec/build/bsps/arm/raspberrypi/opti2ciomode.yml
new file mode 100644
index 0000000000..82ba37dc4d
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/opti2ciomode.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Define to 1 to use interrupt-driven I/O with the Raspberry Pi I2C bus. If defined to other value the access will be polled-driven.
+enabled-by: true
+links: []
+name: I2C_IO_MODE
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optnocachelen.yml b/spec/build/bsps/arm/raspberrypi/optnocachelen.yml
new file mode 100644
index 0000000000..b9d9071b17
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optnocachelen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 2097152
+default-by-variant: []
+description: |
+ No-cache region length
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: RPI_RAM_NOCACHE_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optramlen.yml b/spec/build/bsps/arm/raspberrypi/optramlen.yml
new file mode 100644
index 0000000000..040d514dad
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optramlen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 268435456
+default-by-variant: []
+description: |
+ RAM region length
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: RPI_RAM_LENGTH_AVAILABLE
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optresetvec.yml b/spec/build/bsps/arm/raspberrypi/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optrpi2.yml b/spec/build/bsps/arm/raspberrypi/optrpi2.yml
new file mode 100644
index 0000000000..08e3a1e381
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optrpi2.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/raspberrypi2
+description: |
+ Set if the BSP variant is Raspberry Pi 2.
+enabled-by: true
+links: []
+name: BSP_IS_RPI2
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/optspiiomode.yml b/spec/build/bsps/arm/raspberrypi/optspiiomode.yml
new file mode 100644
index 0000000000..bb0b94a683
--- /dev/null
+++ b/spec/build/bsps/arm/raspberrypi/optspiiomode.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Define to 1 to use interrupt-driven I/O with the Raspberry Pi SPI bus. If defined to other value the access will be polled-driven.
+enabled-by: true
+links: []
+name: SPI_IO_MODE
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/abi.yml b/spec/build/bsps/arm/realview-pbx-a9/abi.yml
new file mode 100644
index 0000000000..a3a710c97d
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-a
+- -mthumb
+- -mfpu=neon
+- -mfloat-abi=hard
+- -mtune=cortex-a9
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
new file mode 100644
index 0000000000..2721152b93
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
@@ -0,0 +1,84 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: realview_pbx_a9_qemu
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: realview-pbx-a9
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/realview-pbx-a9/include/bsp.h
+ - bsps/arm/realview-pbx-a9/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/realview-pbx-a9/include/bsp/console.h
+ - bsps/arm/realview-pbx-a9/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/realview-pbx-a9/start/linkcmds.realview_pbx_a9_qemu
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: opta9periphclk
+- role: build-dependency
+ uid: optcachedata
+- role: build-dependency
+ uid: optcacheinst
+- role: build-dependency
+ uid: optclkbootcpu
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: optmmusmallpages
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto0
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/realview-pbx-a9/console/console-config.c
+- bsps/arm/realview-pbx-a9/console/console-polled.c
+- bsps/arm/realview-pbx-a9/start/bspreset.c
+- bsps/arm/realview-pbx-a9/start/bspstart.c
+- bsps/arm/realview-pbx-a9/start/bspstarthooks.c
+- bsps/arm/realview-pbx-a9/start/fb-config.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cache/cache-v7ar-disable-data.S
+- bsps/arm/shared/clock/clock-a9mpcore.c
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/fb/arm-pl111.c
+- bsps/arm/shared/irq/irq-gic.c
+- bsps/arm/shared/serial/arm-pl011.c
+- bsps/arm/shared/serial/arm-pl050.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/dev/serial/getserialmouseps2.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/objsmp.yml b/spec/build/bsps/arm/realview-pbx-a9/objsmp.yml
new file mode 100644
index 0000000000..0c1ac9e6bb
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/realview-pbx-a9/start/bspsmp.c
+- bsps/arm/shared/start/arm-a9mpcore-smp.c
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/opta9periphclk.yml b/spec/build/bsps/arm/realview-pbx-a9/opta9periphclk.yml
new file mode 100644
index 0000000000..3ab2b72830
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/opta9periphclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 100000000
+default-by-variant: []
+description: |
+ ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_ARM_A9MPCORE_PERIPHCLK
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/optcachedata.yml b/spec/build/bsps/arm/realview-pbx-a9/optcachedata.yml
new file mode 100644
index 0000000000..1664b0fc31
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/optcachedata.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable data cache
+enabled-by: true
+links: []
+name: BSP_DATA_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/optcacheinst.yml b/spec/build/bsps/arm/realview-pbx-a9/optcacheinst.yml
new file mode 100644
index 0000000000..b191133af9
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/optcacheinst.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable instruction cache
+enabled-by: true
+links: []
+name: BSP_INSTRUCTION_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/optclkbootcpu.yml b/spec/build/bsps/arm/realview-pbx-a9/optclkbootcpu.yml
new file mode 100644
index 0000000000..8d78c9ce6a
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/optclkbootcpu.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*qemu.*
+description: |
+ If defined, then do the clock tick processing on the boot processor on behalf of all other processors.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/optclkfastidle.yml b/spec/build/bsps/arm/realview-pbx-a9/optclkfastidle.yml
new file mode 100644
index 0000000000..e4624223eb
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/optclkfastidle.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*qemu.*
+description: |
+ This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/optmmusmallpages.yml b/spec/build/bsps/arm/realview-pbx-a9/optmmusmallpages.yml
new file mode 100644
index 0000000000..d24005197e
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/optmmusmallpages.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use MMU with small pages (4KiB)
+enabled-by: true
+links: []
+name: ARM_MMU_USE_SMALL_PAGES
+type: build
diff --git a/spec/build/bsps/arm/realview-pbx-a9/optresetvec.yml b/spec/build/bsps/arm/realview-pbx-a9/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/realview-pbx-a9/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/abi.yml b/spec/build/bsps/arm/rtl22xx/abi.yml
new file mode 100644
index 0000000000..abb7f66b50
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/abi.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm7tdmi
+- -mthumb
+default-by-variant:
+- value:
+ - -mcpu=arm7tdmi
+ variants:
+ - arm/rtl22xx
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml b/spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml
new file mode 100644
index 0000000000..340172deef
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/bsprtl22xx.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: rtl22xx
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: rtl22xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstrtl22xx
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml b/spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml
new file mode 100644
index 0000000000..ecd5f8baec
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/bsprtl22xxt.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: rtl22xx_t
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: rtl22xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstrtl22xxt
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/grp.yml b/spec/build/bsps/arm/rtl22xx/grp.yml
new file mode 100644
index 0000000000..4d560158f4
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/grp.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/rtl22xx/obj.yml b/spec/build/bsps/arm/rtl22xx/obj.yml
new file mode 100644
index 0000000000..1889f0d842
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/obj.yml
@@ -0,0 +1,41 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/rtl22xx/include/bsp.h
+ - bsps/arm/rtl22xx/include/lpc22xx.h
+ - bsps/arm/rtl22xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/rtl22xx/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/rtl22xx/start/linkcmds
+links: []
+source:
+- bsps/arm/rtl22xx/btimer/btimer.c
+- bsps/arm/rtl22xx/clock/clockdrv.c
+- bsps/arm/rtl22xx/console/uart.c
+- bsps/arm/rtl22xx/irq/irq.c
+- bsps/arm/rtl22xx/start/bspreset.c
+- bsps/arm/rtl22xx/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/objnet.yml b/spec/build/bsps/arm/rtl22xx/objnet.yml
new file mode 100644
index 0000000000..3e9f691ec5
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/arm/rtl22xx/net/network.c
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/optskyeye.yml b/spec/build/bsps/arm/rtl22xx/optskyeye.yml
new file mode 100644
index 0000000000..be55a98c3a
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, enable options which optimize executingon the Skyeye simulator. Speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
+enabled-by: true
+links: []
+name: ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/start.yml b/spec/build/bsps/arm/rtl22xx/start.yml
new file mode 100644
index 0000000000..4fe0065e7e
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/rtl22xx/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml b/spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml
new file mode 100644
index 0000000000..9e3fe758bc
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/tstrtl22xx.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ dl10: exclude
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml b/spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml
new file mode 100644
index 0000000000..53b3efd010
--- /dev/null
+++ b/spec/build/bsps/arm/rtl22xx/tstrtl22xxt.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ dl10: exclude
+ fsdosfsname01: exclude
+ linpack: exclude
+ record02: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/arm/smdk2410/abi.yml b/spec/build/bsps/arm/smdk2410/abi.yml
new file mode 100644
index 0000000000..d964ca5d2f
--- /dev/null
+++ b/spec/build/bsps/arm/smdk2410/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=arm920t
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml b/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
new file mode 100644
index 0000000000..3b15c7ca91
--- /dev/null
+++ b/spec/build/bsps/arm/smdk2410/bspsmdk2410.yml
@@ -0,0 +1,69 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: smdk2410
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: smdk2410
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/smdk2410/include/bsp.h
+ - bsps/arm/smdk2410/include/s3c2400.h
+ - bsps/arm/smdk2410/include/s3c2410.h
+ - bsps/arm/smdk2410/include/s3c24xx.h
+ - bsps/arm/smdk2410/include/smc.h
+ - bsps/arm/smdk2410/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/smdk2410/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/smdk2410/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optcpus3c2410
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cp15/arm920-mmu.c
+- bsps/arm/smdk2410/btimer/btimer.c
+- bsps/arm/smdk2410/clock/clockdrv.c
+- bsps/arm/smdk2410/clock/support.c
+- bsps/arm/smdk2410/console/uart.c
+- bsps/arm/smdk2410/irq/irq.c
+- bsps/arm/smdk2410/smc/smc.c
+- bsps/arm/smdk2410/start/bspidle.c
+- bsps/arm/smdk2410/start/bspreset.c
+- bsps/arm/smdk2410/start/bspstart.c
+- bsps/arm/smdk2410/start/memmap.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/smdk2410/optcpus3c2410.yml b/spec/build/bsps/arm/smdk2410/optcpus3c2410.yml
new file mode 100644
index 0000000000..ba24539e4a
--- /dev/null
+++ b/spec/build/bsps/arm/smdk2410/optcpus3c2410.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/smdk2410
+description: |
+ If defined, enable optons for the S3C2410 CPU model.
+enabled-by: true
+links: []
+name: CPU_S3C2410
+type: build
diff --git a/spec/build/bsps/arm/smdk2410/optskyeye.yml b/spec/build/bsps/arm/smdk2410/optskyeye.yml
new file mode 100644
index 0000000000..be55a98c3a
--- /dev/null
+++ b/spec/build/bsps/arm/smdk2410/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, enable options which optimize executingon the Skyeye simulator. Speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
+enabled-by: true
+links: []
+name: ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/arm/smdk2410/start.yml b/spec/build/bsps/arm/smdk2410/start.yml
new file mode 100644
index 0000000000..6910892daf
--- /dev/null
+++ b/spec/build/bsps/arm/smdk2410/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/smdk2410/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/start.yml b/spec/build/bsps/arm/start.yml
new file mode 100644
index 0000000000..07120dcc71
--- /dev/null
+++ b/spec/build/bsps/arm/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/arm/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/abi.yml b/spec/build/bsps/arm/stm32f4/abi.yml
new file mode 100644
index 0000000000..8c9b62c6ea
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/abi.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mthumb
+- -mcpu=cortex-m4
+default-by-variant:
+- value:
+ - -mthumb
+ - -mcpu=cortex-m3
+ variants:
+ - arm/stm32f105rc
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/bspstm32f105rc.yml b/spec/build/bsps/arm/stm32f4/bspstm32f105rc.yml
new file mode 100644
index 0000000000..f00a177dc0
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/bspstm32f105rc.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32f105rc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: stm32f4
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tststm32f105rc
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/bspstm32f4.yml b/spec/build/bsps/arm/stm32f4/bspstm32f4.yml
new file mode 100644
index 0000000000..f3c6426f07
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/bspstm32f4.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32f4
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: stm32f4
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstsmallmem
+source: []
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/grp.yml b/spec/build/bsps/arm/stm32f4/grp.yml
new file mode 100644
index 0000000000..ad08ee63c1
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/grp.yml
@@ -0,0 +1,60 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: opteni2c1
+- role: build-dependency
+ uid: opteni2c2
+- role: build-dependency
+ uid: optenuart4
+- role: build-dependency
+ uid: optenuart5
+- role: build-dependency
+ uid: optenusart1
+- role: build-dependency
+ uid: optenusart2
+- role: build-dependency
+ uid: optenusart3
+- role: build-dependency
+ uid: optenusart6
+- role: build-dependency
+ uid: optf10xxx
+- role: build-dependency
+ uid: optf4xxxx
+- role: build-dependency
+ uid: opthclk
+- role: build-dependency
+ uid: optoschse
+- role: build-dependency
+ uid: optpclk1
+- role: build-dependency
+ uid: optpclk2
+- role: build-dependency
+ uid: optsysclk
+- role: build-dependency
+ uid: optusartbaud
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/stm32f4/obj.yml b/spec/build/bsps/arm/stm32f4/obj.yml
new file mode 100644
index 0000000000..22b73177cd
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/obj.yml
@@ -0,0 +1,70 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/stm32f4/include/bsp.h
+ - bsps/arm/stm32f4/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/stm32f4/include/bsp/i2c.h
+ - bsps/arm/stm32f4/include/bsp/io.h
+ - bsps/arm/stm32f4/include/bsp/irq.h
+ - bsps/arm/stm32f4/include/bsp/rcc.h
+ - bsps/arm/stm32f4/include/bsp/stm32_i2c.h
+ - bsps/arm/stm32f4/include/bsp/stm32_usart.h
+ - bsps/arm/stm32f4/include/bsp/stm32f10xxx_exti.h
+ - bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h
+ - bsps/arm/stm32f4/include/bsp/stm32f10xxx_rcc.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_adc.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_exti.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_flash.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_otgfs.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_pwr.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_rcc.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_syscfg.h
+ - bsps/arm/stm32f4/include/bsp/stm32f4xxxx_tim.h
+ - bsps/arm/stm32f4/include/bsp/usart.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/stm32f4/start/linkcmds.stm32f105rc
+ - bsps/arm/stm32f4/start/linkcmds.stm32f4
+links: []
+source:
+- bsps/arm/shared/clock/clock-armv7m.c
+- bsps/arm/shared/irq/irq-armv7m.c
+- bsps/arm/shared/irq/irq-dispatch-armv7m.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/stm32f4/console/console-config.c
+- bsps/arm/stm32f4/console/usart.c
+- bsps/arm/stm32f4/i2c/i2c-config.c
+- bsps/arm/stm32f4/i2c/i2c.c
+- bsps/arm/stm32f4/start/bspreset.c
+- bsps/arm/stm32f4/start/bspstart.c
+- bsps/arm/stm32f4/start/bspstarthook.c
+- bsps/arm/stm32f4/start/io.c
+- bsps/arm/stm32f4/start/rcc.c
+- bsps/arm/stm32f4/start/start-config-io.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/cpucounter/cpucounterfrequency.c
+- bsps/shared/dev/cpucounter/cpucounterread.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/opteni2c1.yml b/spec/build/bsps/arm/stm32f4/opteni2c1.yml
new file mode 100644
index 0000000000..e200c81623
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/opteni2c1.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/stm32f1.*
+description: |
+ enable I2C 1
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_I2C1
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/opteni2c2.yml b/spec/build/bsps/arm/stm32f4/opteni2c2.yml
new file mode 100644
index 0000000000..d4ef7328e1
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/opteni2c2.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable I2C 2
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_I2C2
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optenuart4.yml b/spec/build/bsps/arm/stm32f4/optenuart4.yml
new file mode 100644
index 0000000000..5bf266707f
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optenuart4.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable UART 4
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_UART_4
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optenuart5.yml b/spec/build/bsps/arm/stm32f4/optenuart5.yml
new file mode 100644
index 0000000000..21f1e6f963
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optenuart5.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable UART 5
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_UART_5
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optenusart1.yml b/spec/build/bsps/arm/stm32f4/optenusart1.yml
new file mode 100644
index 0000000000..9fd8f99af2
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optenusart1.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable USART 1
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_USART_1
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optenusart2.yml b/spec/build/bsps/arm/stm32f4/optenusart2.yml
new file mode 100644
index 0000000000..d9dd3a3d22
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optenusart2.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable USART 2
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_USART_2
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optenusart3.yml b/spec/build/bsps/arm/stm32f4/optenusart3.yml
new file mode 100644
index 0000000000..3cc11ba79b
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optenusart3.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable USART 3
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_USART_3
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optenusart6.yml b/spec/build/bsps/arm/stm32f4/optenusart6.yml
new file mode 100644
index 0000000000..4e20fb4317
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optenusart6.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable USART 6
+enabled-by: true
+links: []
+name: STM32F4_ENABLE_USART_6
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optf10xxx.yml b/spec/build/bsps/arm/stm32f4/optf10xxx.yml
new file mode 100644
index 0000000000..54f1418cf9
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optf10xxx.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/stm32f1.*
+description: |
+ Chip belongs to the STM32F10XXX family.
+enabled-by: true
+links: []
+name: STM32F4_FAMILY_F10XXX
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optf4xxxx.yml b/spec/build/bsps/arm/stm32f4/optf4xxxx.yml
new file mode 100644
index 0000000000..66604f249a
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optf4xxxx.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/stm32f4.*
+description: |
+ Chip belongs to the STM32F4XXXX family.
+enabled-by: true
+links: []
+name: STM32F4_FAMILY_F4XXXX
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/opthclk.yml b/spec/build/bsps/arm/stm32f4/opthclk.yml
new file mode 100644
index 0000000000..7f315f12b2
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/opthclk.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 16000000
+default-by-variant:
+- value: 8000000
+ variants:
+ - arm/stm32f1.*
+description: |
+ HCLK frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: STM32F4_HCLK
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optoschse.yml b/spec/build/bsps/arm/stm32f4/optoschse.yml
new file mode 100644
index 0000000000..2b1dad620e
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optoschse.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 8000000
+default-by-variant: []
+description: |
+ HSE oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: STM32F4_HSE_OSCILLATOR
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optpclk1.yml b/spec/build/bsps/arm/stm32f4/optpclk1.yml
new file mode 100644
index 0000000000..9ac285b0bc
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optpclk1.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 16000000
+default-by-variant:
+- value: 8000000
+ variants:
+ - arm/stm32f1.*
+description: |
+ PCLK1 frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: STM32F4_PCLK1
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optpclk2.yml b/spec/build/bsps/arm/stm32f4/optpclk2.yml
new file mode 100644
index 0000000000..e51eeaf36f
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optpclk2.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 16000000
+default-by-variant:
+- value: 8000000
+ variants:
+ - arm/stm32f1.*
+description: |
+ PCLK2 frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: STM32F4_PCLK2
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optsysclk.yml b/spec/build/bsps/arm/stm32f4/optsysclk.yml
new file mode 100644
index 0000000000..5f08d4ecde
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optsysclk.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 16000000
+default-by-variant:
+- value: 8000000
+ variants:
+ - arm/stm32f1.*
+description: |
+ SYSCLK frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: STM32F4_SYSCLK
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/optusartbaud.yml b/spec/build/bsps/arm/stm32f4/optusartbaud.yml
new file mode 100644
index 0000000000..b102e37eb6
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/optusartbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for USARTs
+enabled-by: true
+format: '{}'
+links: []
+name: STM32F4_USART_BAUD
+type: build
diff --git a/spec/build/bsps/arm/stm32f4/tststm32f105rc.yml b/spec/build/bsps/arm/stm32f4/tststm32f105rc.yml
new file mode 100644
index 0000000000..f752f18b93
--- /dev/null
+++ b/spec/build/bsps/arm/stm32f4/tststm32f105rc.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ pppd: exclude
+ rtems: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/tms570/abi.yml b/spec/build/bsps/arm/tms570/abi.yml
new file mode 100644
index 0000000000..0177616e2a
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-r
+- -mthumb
+- -mbig-endian
+- -mfpu=vfpv3-d16
+- -mfloat-abi=hard
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/tms570/bspls3137hdk.yml b/spec/build/bsps/arm/tms570/bspls3137hdk.yml
new file mode 100644
index 0000000000..e2704a268d
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/bspls3137hdk.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: tms570ls3137_hdk
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tms570
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstsmallmem
+source: []
+type: build
diff --git a/spec/build/bsps/arm/tms570/bspls3137hdkintram.yml b/spec/build/bsps/arm/tms570/bspls3137hdkintram.yml
new file mode 100644
index 0000000000..77a21e861b
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/bspls3137hdkintram.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: tms570ls3137_hdk_intram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tms570
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstls3137hdkintram
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/tms570/bspls3137hdksdram.yml b/spec/build/bsps/arm/tms570/bspls3137hdksdram.yml
new file mode 100644
index 0000000000..8ffb5294d2
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/bspls3137hdksdram.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: tms570ls3137_hdk_sdram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tms570
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml b/spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml
new file mode 100644
index 0000000000..f8e8cb81bb
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: tms570ls3137_hdk_with_loader
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tms570
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstsmallmem
+source: []
+type: build
diff --git a/spec/build/bsps/arm/tms570/grp.yml b/spec/build/bsps/arm/tms570/grp.yml
new file mode 100644
index 0000000000..f7b84e2f57
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/grp.yml
@@ -0,0 +1,48 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objhwinit
+- role: build-dependency
+ uid: optcclk
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
+ uid: optmintskstksz
+- role: build-dependency
+ uid: optoscmain
+- role: build-dependency
+ uid: optoscrtc
+- role: build-dependency
+ uid: optreginit
+- role: build-dependency
+ uid: optscibaud
+- role: build-dependency
+ uid: opttms570ls3137
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/tms570/obj.yml b/spec/build/bsps/arm/tms570/obj.yml
new file mode 100644
index 0000000000..8e5b665a78
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/obj.yml
@@ -0,0 +1,100 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/tms570/include/bsp.h
+ - bsps/arm/tms570/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/tms570/include/bsp/irq.h
+ - bsps/arm/tms570/include/bsp/system-clocks.h
+ - bsps/arm/tms570/include/bsp/tms570-pinmux.h
+ - bsps/arm/tms570/include/bsp/tms570-pins.h
+ - bsps/arm/tms570/include/bsp/tms570-pom.h
+ - bsps/arm/tms570/include/bsp/tms570-rti.h
+ - bsps/arm/tms570/include/bsp/tms570-sci-driver.h
+ - bsps/arm/tms570/include/bsp/tms570-sci.h
+ - bsps/arm/tms570/include/bsp/tms570-vim.h
+ - bsps/arm/tms570/include/bsp/tms570.h
+ - bsps/arm/tms570/include/bsp/tms570_hwinit.h
+ - bsps/arm/tms570/include/bsp/tms570_selftest.h
+ - bsps/arm/tms570/include/bsp/tms570_selftest_parity.h
+ - bsps/arm/tms570/include/bsp/tms570lc4357-pins.h
+ - bsps/arm/tms570/include/bsp/tms570ls3137zwt-pins.h
+- destination: ${BSP_INCLUDEDIR}/bsp/ti/herc
+ source:
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_adc.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_ccmsr.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_crc.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_dcan.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_dcc.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_dma.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_dmm.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_efuse.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_emacc.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_emacm.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_emif.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_esm.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_flash.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_flex_ray.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_gio.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_htu.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_i2c.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_iomm.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_lin.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_mdio.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_n2het.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_pbist.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_pcr.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_pll.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_pmm.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_pom.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_rti.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_rtp.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_sci.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_spi.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_stc.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_sys.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_sys2.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_tcr.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_tcram.h
+ - bsps/arm/tms570/include/bsp/ti_herc/reg_vim.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk
+ - bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram
+ - bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_sdram
+ - bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_with_loader
+links: []
+source:
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/tms570/clock/clock.c
+- bsps/arm/tms570/console/printk-support.c
+- bsps/arm/tms570/console/tms570-sci.c
+- bsps/arm/tms570/cpucounter/cpucounterread.c
+- bsps/arm/tms570/irq/irq.c
+- bsps/arm/tms570/start/bspreset.c
+- bsps/arm/tms570/start/bspstart.c
+- bsps/arm/tms570/start/bspstarthooks.c
+- bsps/arm/tms570/start/pinmux.c
+- bsps/arm/tms570/start/tms570-pom.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-cpucounter.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/tms570/objhwinit.yml b/spec/build/bsps/arm/tms570/objhwinit.yml
new file mode 100644
index 0000000000..04241dffc9
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/objhwinit.yml
@@ -0,0 +1,27 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- TMS570_USE_HWINIT_STARTUP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/tms570/start/bspstarthooks-hwinit.c
+- bsps/arm/tms570/start/fail_notification.c
+- bsps/arm/tms570/start/init_emif_sdram.c
+- bsps/arm/tms570/start/init_esm.c
+- bsps/arm/tms570/start/init_pinmux.c
+- bsps/arm/tms570/start/init_system.c
+- bsps/arm/tms570/start/tms570_selftest.c
+- bsps/arm/tms570/start/tms570_selftest_par_can.c
+- bsps/arm/tms570/start/tms570_selftest_par_mibspi.c
+- bsps/arm/tms570/start/tms570_selftest_par_std.c
+- bsps/arm/tms570/start/tms570_selftest_parity.c
+- bsps/arm/tms570/start/tms570_sys_core.S
+- bsps/arm/tms570/start/tms570_tcram_tests.c
+type: build
diff --git a/spec/build/bsps/arm/tms570/optcclk.yml b/spec/build/bsps/arm/tms570/optcclk.yml
new file mode 100644
index 0000000000..674ec1ac86
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optcclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 96000000
+default-by-variant: []
+description: |
+ CPU clock in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: TMS570_CCLK
+type: build
diff --git a/spec/build/bsps/arm/tms570/optconirq.yml b/spec/build/bsps/arm/tms570/optconirq.yml
new file mode 100644
index 0000000000..3e3dc5a836
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ The tms570 console driver can operate in either polled or interrupt mode.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/arm/tms570/optlowinit.yml b/spec/build/bsps/arm/tms570/optlowinit.yml
new file mode 100644
index 0000000000..d889dd2573
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optlowinit.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Include BSP startup code for TMS570LS3137 which allows to start RTEMS application directly after reset
+enabled-by: true
+links: []
+name: TMS570_USE_HWINIT_STARTUP
+type: build
diff --git a/spec/build/bsps/arm/tms570/optmintskstksz.yml b/spec/build/bsps/arm/tms570/optmintskstksz.yml
new file mode 100644
index 0000000000..57e77ae551
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optmintskstksz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1024
+default-by-variant: []
+description: |
+ Suggested minimum task stack size in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_MINIMUM_TASK_STACK_SIZE
+type: build
diff --git a/spec/build/bsps/arm/tms570/optoscmain.yml b/spec/build/bsps/arm/tms570/optoscmain.yml
new file mode 100644
index 0000000000..8ebd6bb82d
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optoscmain.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 12000000
+default-by-variant: []
+description: |
+ main oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: TMS570_OSCILLATOR_MAIN
+type: build
diff --git a/spec/build/bsps/arm/tms570/optoscrtc.yml b/spec/build/bsps/arm/tms570/optoscrtc.yml
new file mode 100644
index 0000000000..8e14cbf9a8
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optoscrtc.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ RTC oscillator frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: TMS570_OSCILLATOR_RTC
+type: build
diff --git a/spec/build/bsps/arm/tms570/optreginit.yml b/spec/build/bsps/arm/tms570/optreginit.yml
new file mode 100644
index 0000000000..3f7e9f2bf2
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optreginit.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ The TMS570 needs to have the registers of its CPU initialized to avoid CCMR4F errors
+enabled-by: true
+links: []
+name: BSP_START_NEEDS_REGISTER_INITIALIZATION
+type: build
diff --git a/spec/build/bsps/arm/tms570/optscibaud.yml b/spec/build/bsps/arm/tms570/optscibaud.yml
new file mode 100644
index 0000000000..e4eedd871b
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optscibaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ baud for UARTs
+enabled-by: true
+format: '{}'
+links: []
+name: TMS570_SCI_BAUD_RATE
+type: build
diff --git a/spec/build/bsps/arm/tms570/opttms570ls3137.yml b/spec/build/bsps/arm/tms570/opttms570ls3137.yml
new file mode 100644
index 0000000000..344f209ca1
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/opttms570ls3137.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ target used for identify TMS570LS3137 board
+enabled-by: true
+links: []
+name: ARM_TMS570LS3137
+type: build
diff --git a/spec/build/bsps/arm/tms570/tstls3137hdkintram.yml b/spec/build/bsps/arm/tms570/tstls3137hdkintram.yml
new file mode 100644
index 0000000000..c9271afdd0
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/tstls3137hdkintram.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ pppd: exclude
+ syscall01: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/arm/xen/abi.yml b/spec/build/bsps/arm/xen/abi.yml
new file mode 100644
index 0000000000..ed581d94f4
--- /dev/null
+++ b/spec/build/bsps/arm/xen/abi.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-a
+- -mthumb
+- -mfpu=neon
+- -mfloat-abi=hard
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/xen/bspxen.yml b/spec/build/bsps/arm/xen/bspxen.yml
new file mode 100644
index 0000000000..e469170e34
--- /dev/null
+++ b/spec/build/bsps/arm/xen/bspxen.yml
@@ -0,0 +1,78 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xen_virtual
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: xen
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/xen/include/bsp.h
+ - bsps/arm/xen/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/xen/include/bsp/irq.h
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optgentmrusevirt
+- role: build-dependency
+ uid: optgentmunmask
+- role: build-dependency
+ uid: optloadoff
+- role: build-dependency
+ uid: ../optmmusz
+- role: build-dependency
+ uid: optnocachelen
+- role: build-dependency
+ uid: optramlen
+- role: build-dependency
+ uid: optramori
+- role: build-dependency
+ uid: optzimghdr
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../optcachedata
+- role: build-dependency
+ uid: ../../optcacheinst
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: linkcmds
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/clock/clock-generic-timer.c
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/irq/irq-gic.c
+- bsps/arm/shared/serial/arm-pl011.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/xen/console/console.c
+- bsps/arm/xen/start/bspstart.c
+- bsps/arm/xen/start/bspstarthooks.c
+- bsps/arm/xen/start/bspstartmmu.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/arm/xen/linkcmds.yml b/spec/build/bsps/arm/xen/linkcmds.yml
new file mode 100644
index 0000000000..ab36af512b
--- /dev/null
+++ b/spec/build/bsps/arm/xen/linkcmds.yml
@@ -0,0 +1,72 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ /*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (C) 2019 DornerWorks
+ * Written by Jeff Kubascik <jeff.kubascik@dornerworks.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+ MEMORY {
+ RAM_MMU : ORIGIN = ${BSP_XEN_RAM_BASE}, LENGTH = ${ARM_MMU_TRANSLATION_TABLE_SIZE}
+ RAM : ORIGIN = ${BSP_XEN_RAM_BASE} + ${BSP_XEN_LOAD_OFFSET}, LENGTH = ${BSP_XEN_RAM_LENGTH} - ${BSP_XEN_LOAD_OFFSET} - ${BSP_XEN_NOCACHE_LENGTH}
+ NOCACHE : ORIGIN = ${BSP_XEN_RAM_BASE} + ${BSP_XEN_RAM_LENGTH} - ${BSP_XEN_NOCACHE_LENGTH}, LENGTH = ${BSP_XEN_NOCACHE_LENGTH}
+ }
+
+ REGION_ALIAS ("REGION_START", RAM);
+ REGION_ALIAS ("REGION_VECTOR", RAM);
+ REGION_ALIAS ("REGION_TEXT", RAM);
+ REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_RODATA", RAM);
+ REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_DATA", RAM);
+ REGION_ALIAS ("REGION_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_BSS", RAM);
+ REGION_ALIAS ("REGION_WORK", RAM);
+ REGION_ALIAS ("REGION_STACK", RAM);
+ REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE);
+
+ bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
+
+ bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
+
+ bsp_vector_table_in_start_section = 1;
+
+ bsp_translation_table_base = ORIGIN (RAM_MMU);
+ bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
+
+ INCLUDE linkcmds.armv4
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds
+type: build
diff --git a/spec/build/bsps/arm/xen/optgentmrusevirt.yml b/spec/build/bsps/arm/xen/optgentmrusevirt.yml
new file mode 100644
index 0000000000..cfcc9e86d3
--- /dev/null
+++ b/spec/build/bsps/arm/xen/optgentmrusevirt.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use virtual ARM generic timer
+enabled-by: true
+links: []
+name: ARM_GENERIC_TIMER_USE_VIRTUAL
+type: build
diff --git a/spec/build/bsps/arm/xen/optgentmunmask.yml b/spec/build/bsps/arm/xen/optgentmunmask.yml
new file mode 100644
index 0000000000..1e7c523f15
--- /dev/null
+++ b/spec/build/bsps/arm/xen/optgentmunmask.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ unmask the timer in the tick handler, since Xen will mask the virtual timer before injecting the interrupt to the guest
+enabled-by: true
+links: []
+name: ARM_GENERIC_TIMER_UNMASK_AT_TICK
+type: build
diff --git a/spec/build/bsps/arm/xen/optloadoff.yml b/spec/build/bsps/arm/xen/optloadoff.yml
new file mode 100644
index 0000000000..4589807f88
--- /dev/null
+++ b/spec/build/bsps/arm/xen/optloadoff.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ offset of RAM region from memory area base
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_XEN_LOAD_OFFSET
+type: build
diff --git a/spec/build/bsps/arm/xen/optnocachelen.yml b/spec/build/bsps/arm/xen/optnocachelen.yml
new file mode 100644
index 0000000000..389fbb596b
--- /dev/null
+++ b/spec/build/bsps/arm/xen/optnocachelen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1048576
+default-by-variant: []
+description: |
+ length of nocache RAM region
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_XEN_NOCACHE_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xen/optramlen.yml b/spec/build/bsps/arm/xen/optramlen.yml
new file mode 100644
index 0000000000..1d1b43615a
--- /dev/null
+++ b/spec/build/bsps/arm/xen/optramlen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 8388608
+default-by-variant: []
+description: |
+ length of memory area available to the BSP
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_XEN_RAM_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xen/optramori.yml b/spec/build/bsps/arm/xen/optramori.yml
new file mode 100644
index 0000000000..95fbf64079
--- /dev/null
+++ b/spec/build/bsps/arm/xen/optramori.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1073741824
+default-by-variant: []
+description: |
+ base address of memory area available to the BSP
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_XEN_RAM_BASE
+type: build
diff --git a/spec/build/bsps/arm/xen/optzimghdr.yml b/spec/build/bsps/arm/xen/optzimghdr.yml
new file mode 100644
index 0000000000..56aa00c8b1
--- /dev/null
+++ b/spec/build/bsps/arm/xen/optzimghdr.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ include zImage boot header
+enabled-by: true
+links: []
+name: BSP_START_ZIMAGE_HEADER
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/abi.yml b/spec/build/bsps/arm/xilinx-zynq/abi.yml
new file mode 100644
index 0000000000..a3a710c97d
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-a
+- -mthumb
+- -mfpu=neon
+- -mfloat-abi=hard
+- -mtune=cortex-a9
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspqemu.yml b/spec/build/bsps/arm/xilinx-zynq/bspqemu.yml
new file mode 100644
index 0000000000..a8f59548d9
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bspqemu.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_a9_qemu
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspzc702.yml b/spec/build/bsps/arm/xilinx-zynq/bspzc702.yml
new file mode 100644
index 0000000000..683c2c7b8c
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bspzc702.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_zc702
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspzc706.yml b/spec/build/bsps/arm/xilinx-zynq/bspzc706.yml
new file mode 100644
index 0000000000..eca7aaf46c
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bspzc706.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_zc706
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspzedboard.yml b/spec/build/bsps/arm/xilinx-zynq/bspzedboard.yml
new file mode 100644
index 0000000000..ba285c1b80
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bspzedboard.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_zedboard
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml b/spec/build/bsps/arm/xilinx-zynq/grp.yml
new file mode 100644
index 0000000000..264308e6ad
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/grp.yml
@@ -0,0 +1,64 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: opta9periphclk
+- role: build-dependency
+ uid: optcachedata
+- role: build-dependency
+ uid: optcacheinst
+- role: build-dependency
+ uid: optclkcpu1x
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: optclkuart
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optconminor
+- role: build-dependency
+ uid: optint0len
+- role: build-dependency
+ uid: optint0ori
+- role: build-dependency
+ uid: optint1len
+- role: build-dependency
+ uid: optint1ori
+- role: build-dependency
+ uid: ../optmmusz
+- role: build-dependency
+ uid: optnocachelen
+- role: build-dependency
+ uid: optramlen
+- role: build-dependency
+ uid: optramori
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: linkcmds
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/xilinx-zynq/linkcmds.yml b/spec/build/bsps/arm/xilinx-zynq/linkcmds.yml
new file mode 100644
index 0000000000..d7c0934f78
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/linkcmds.yml
@@ -0,0 +1,46 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ MEMORY {
+ RAM_INT_0 : ORIGIN = ${ZYNQ_RAM_INT_0_ORIGIN:#010x}, LENGTH = ${ZYNQ_RAM_INT_0_LENGTH:#010x}
+ RAM_INT_1 : ORIGIN = ${ZYNQ_RAM_INT_1_ORIGIN:#010x}, LENGTH = ${ZYNQ_RAM_INT_1_LENGTH:#010x}
+ RAM_MMU : ORIGIN = ${ZYNQ_RAM_ORIGIN:#010x}, LENGTH = ${ARM_MMU_TRANSLATION_TABLE_SIZE:#010x}
+ RAM : ORIGIN = ${ZYNQ_RAM_ORIGIN:#010x} + ${ARM_MMU_TRANSLATION_TABLE_SIZE:#010x}, LENGTH = ${ZYNQ_RAM_LENGTH:#010x} - ${ZYNQ_RAM_ORIGIN:#010x} - ${ARM_MMU_TRANSLATION_TABLE_SIZE:#010x} - ${ZYNQ_RAM_NOCACHE_LENGTH:#010x}
+ NOCACHE : ORIGIN = ${ZYNQ_RAM_LENGTH:#010x} - ${ZYNQ_RAM_NOCACHE_LENGTH:#010x}, LENGTH = ${ZYNQ_RAM_NOCACHE_LENGTH:#010x}
+ }
+
+ REGION_ALIAS ("REGION_START", RAM);
+ REGION_ALIAS ("REGION_VECTOR", RAM);
+ REGION_ALIAS ("REGION_TEXT", RAM);
+ REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_RODATA", RAM);
+ REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_DATA", RAM);
+ REGION_ALIAS ("REGION_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_BSS", RAM);
+ REGION_ALIAS ("REGION_WORK", RAM);
+ REGION_ALIAS ("REGION_STACK", RAM);
+ REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE);
+
+ bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
+
+ bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
+
+ bsp_vector_table_in_start_section = 1;
+
+ bsp_translation_table_base = ORIGIN (RAM_MMU);
+ bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
+
+ INCLUDE linkcmds.armv4
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/obj.yml b/spec/build/bsps/arm/xilinx-zynq/obj.yml
new file mode 100644
index 0000000000..6f7f8ab39a
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/obj.yml
@@ -0,0 +1,47 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/xilinx-zynq/include/bsp.h
+ - bsps/arm/xilinx-zynq/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/xilinx-zynq/include/bsp/cadence-i2c-regs.h
+ - bsps/arm/xilinx-zynq/include/bsp/cadence-i2c.h
+ - bsps/arm/xilinx-zynq/include/bsp/i2c.h
+ - bsps/arm/xilinx-zynq/include/bsp/irq.h
+links: []
+source:
+- bsps/arm/shared/cache/cache-l2c-310.c
+- bsps/arm/shared/clock/clock-a9mpcore.c
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/irq/irq-gic.c
+- bsps/arm/shared/serial/zynq-uart.c
+- bsps/arm/shared/serial/zynq-uart-polled.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/xilinx-zynq/console/console-config.c
+- bsps/arm/xilinx-zynq/console/console-init.c
+- bsps/arm/xilinx-zynq/console/debug-console.c
+- bsps/arm/xilinx-zynq/i2c/cadence-i2c.c
+- bsps/arm/xilinx-zynq/start/bspreset.c
+- bsps/arm/xilinx-zynq/start/bspstart.c
+- bsps/arm/xilinx-zynq/start/bspstarthooks.c
+- bsps/arm/xilinx-zynq/start/bspstartmmu.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/objsmp.yml b/spec/build/bsps/arm/xilinx-zynq/objsmp.yml
new file mode 100644
index 0000000000..587884f6a3
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/shared/start/arm-a9mpcore-smp.c
+- bsps/arm/xilinx-zynq/start/bspsmp.c
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml b/spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml
new file mode 100644
index 0000000000..0b10b47bc2
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 100000000
+default-by-variant:
+- value: 333333333
+ variants:
+ - arm/xilinx_zynq_zc702.*
+- value: 666666667
+ variants:
+ - arm/xilinx_zynq_zedboard.*
+description: |
+ ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_ARM_A9MPCORE_PERIPHCLK
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optcachedata.yml b/spec/build/bsps/arm/xilinx-zynq/optcachedata.yml
new file mode 100644
index 0000000000..1664b0fc31
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optcachedata.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable data cache
+enabled-by: true
+links: []
+name: BSP_DATA_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optcacheinst.yml b/spec/build/bsps/arm/xilinx-zynq/optcacheinst.yml
new file mode 100644
index 0000000000..b191133af9
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optcacheinst.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable instruction cache
+enabled-by: true
+links: []
+name: BSP_INSTRUCTION_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml b/spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml
new file mode 100644
index 0000000000..1f93f52a8a
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 111111111
+default-by-variant:
+- value: 111111111
+ variants:
+ - arm/xilinx_zynq_zc702.*
+- value: 111111111
+ variants:
+ - arm/xilinx_zynq_zedboard.*
+description: |
+ Zynq cpu_1x clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: ZYNQ_CLOCK_CPU_1X
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optclkfastidle.yml b/spec/build/bsps/arm/xilinx-zynq/optclkfastidle.yml
new file mode 100644
index 0000000000..b800b20428
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optclkfastidle.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*qemu
+description: |
+ This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optclkuart.yml b/spec/build/bsps/arm/xilinx-zynq/optclkuart.yml
new file mode 100644
index 0000000000..7d69273eb2
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optclkuart.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 50000000
+default-by-variant:
+- value: 50000000
+ variants:
+ - arm/xilinx_zynq_zc702.*
+- value: 50000000
+ variants:
+ - arm/xilinx_zynq_zedboard.*
+description: |
+ Zynq UART clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: ZYNQ_CLOCK_UART
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optconirq.yml b/spec/build/bsps/arm/xilinx-zynq/optconirq.yml
new file mode 100644
index 0000000000..ecb91d81a3
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optconirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use interrupt driven mode for console devices (used by default)
+enabled-by: true
+links: []
+name: ZYNQ_CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optconminor.yml b/spec/build/bsps/arm/xilinx-zynq/optconminor.yml
new file mode 100644
index 0000000000..55074c6dac
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optconminor.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ minor number of console device
+enabled-by: true
+links: []
+name: BSP_CONSOLE_MINOR
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint0len.yml b/spec/build/bsps/arm/xilinx-zynq/optint0len.yml
new file mode 100644
index 0000000000..90d77daeb7
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optint0len.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 196608
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQ_RAM_INT_0_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint0ori.yml b/spec/build/bsps/arm/xilinx-zynq/optint0ori.yml
new file mode 100644
index 0000000000..a8c4514fd9
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optint0ori.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQ_RAM_INT_0_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint1len.yml b/spec/build/bsps/arm/xilinx-zynq/optint1len.yml
new file mode 100644
index 0000000000..32a2c8f3d6
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optint1len.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 65024
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQ_RAM_INT_1_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint1ori.yml b/spec/build/bsps/arm/xilinx-zynq/optint1ori.yml
new file mode 100644
index 0000000000..f089c467c4
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optint1ori.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4294901760
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQ_RAM_INT_1_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml b/spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml
new file mode 100644
index 0000000000..7a553ab9a2
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1048576
+default-by-variant: []
+description: |
+ length of nocache RAM region
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQ_RAM_NOCACHE_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optramlen.yml b/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
new file mode 100644
index 0000000000..e51d3ebf38
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 268435456
+default-by-variant:
+- value: 268435456
+ variants:
+ - arm/xilinx_zynq_a9_qemu
+- value: 1073741824
+ variants:
+ - arm/xilinx_zynq_zc702
+- value: 1073741824
+ variants:
+ - arm/xilinx_zynq_zc706
+- value: 536870912
+ variants:
+ - arm/xilinx_zynq_zedboard
+description: |
+ override a BSP's default RAM length
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQ_RAM_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optramori.yml b/spec/build/bsps/arm/xilinx-zynq/optramori.yml
new file mode 100644
index 0000000000..5723b73d53
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optramori.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- assert-aligned: 1048576
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1048576
+default-by-variant:
+- value: 4194304
+ variants:
+ - arm/xilinx_zynq_zc706
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQ_RAM_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/optresetvec.yml b/spec/build/bsps/arm/xilinx-zynq/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/abi.yml b/spec/build/bsps/arm/xilinx-zynqmp/abi.yml
new file mode 100644
index 0000000000..23c66bb5b8
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=armv7-a
+- -mthumb
+- -mfpu=neon
+- -mfloat-abi=hard
+- -mtune=cortex-a53
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
new file mode 100644
index 0000000000..fe56228c38
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
@@ -0,0 +1,95 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynqmp_ultra96
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: xilinx-zynqmp
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/xilinx-zynqmp/include/bsp.h
+ - bsps/arm/xilinx-zynqmp/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/xilinx-zynqmp/include/bsp/irq.h
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optcachedata
+- role: build-dependency
+ uid: optcacheinst
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: optclkuart
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optconminor
+- role: build-dependency
+ uid: optgentmrfreq
+- role: build-dependency
+ uid: optgentmrusevirt
+- role: build-dependency
+ uid: optint0len
+- role: build-dependency
+ uid: optint0ori
+- role: build-dependency
+ uid: optint1len
+- role: build-dependency
+ uid: optint1ori
+- role: build-dependency
+ uid: ../optmmusz
+- role: build-dependency
+ uid: optnocachelen
+- role: build-dependency
+ uid: optramlen
+- role: build-dependency
+ uid: optramori
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: linkcmds
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/clock/clock-generic-timer.c
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/irq/irq-gic.c
+- bsps/arm/shared/serial/zynq-uart.c
+- bsps/arm/shared/serial/zynq-uart-polled.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/xilinx-zynqmp/console/console-config.c
+- bsps/arm/xilinx-zynqmp/start/bspreset.c
+- bsps/arm/xilinx-zynqmp/start/bspstart.c
+- bsps/arm/xilinx-zynqmp/start/bspstarthooks.c
+- bsps/arm/xilinx-zynqmp/start/bspstartmmu.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/linkcmds.yml b/spec/build/bsps/arm/xilinx-zynqmp/linkcmds.yml
new file mode 100644
index 0000000000..77bd5fb763
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/linkcmds.yml
@@ -0,0 +1,46 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ MEMORY {
+ RAM_INT_0 : ORIGIN = ${ZYNQMP_RAM_INT_0_ORIGIN:#010x}, LENGTH = ${ZYNQMP_RAM_INT_0_LENGTH:#010x}
+ RAM_INT_1 : ORIGIN = ${ZYNQMP_RAM_INT_1_ORIGIN:#010x}, LENGTH = ${ZYNQMP_RAM_INT_1_LENGTH:#010x}
+ RAM_MMU : ORIGIN = ${ZYNQMP_RAM_ORIGIN:#010x}, LENGTH = ${ARM_MMU_TRANSLATION_TABLE_SIZE:#010x}
+ RAM : ORIGIN = ${ZYNQMP_RAM_ORIGIN:#010x} + ${ARM_MMU_TRANSLATION_TABLE_SIZE:#010x}, LENGTH = ${ZYNQMP_RAM_LENGTH:#010x} - ${ZYNQMP_RAM_ORIGIN:#010x} - ${ARM_MMU_TRANSLATION_TABLE_SIZE:#010x} - ${ZYNQMP_RAM_NOCACHE_LENGTH:#010x}
+ NOCACHE : ORIGIN = ${ZYNQMP_RAM_LENGTH:#010x} - ${ZYNQMP_RAM_NOCACHE_LENGTH:#010x}, LENGTH = ${ZYNQMP_RAM_NOCACHE_LENGTH:#010x}
+ }
+
+ REGION_ALIAS ("REGION_START", RAM);
+ REGION_ALIAS ("REGION_VECTOR", RAM);
+ REGION_ALIAS ("REGION_TEXT", RAM);
+ REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_RODATA", RAM);
+ REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_DATA", RAM);
+ REGION_ALIAS ("REGION_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_BSS", RAM);
+ REGION_ALIAS ("REGION_WORK", RAM);
+ REGION_ALIAS ("REGION_STACK", RAM);
+ REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE);
+
+ bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
+
+ bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
+
+ bsp_vector_table_in_start_section = 1;
+
+ bsp_translation_table_base = ORIGIN (RAM_MMU);
+ bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
+
+ INCLUDE linkcmds.armv4
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/objsmp.yml b/spec/build/bsps/arm/xilinx-zynqmp/objsmp.yml
new file mode 100644
index 0000000000..e8b954b5cb
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/shared/start/arm-a9mpcore-smp.c
+- bsps/arm/xilinx-zynqmp/start/bspsmp.c
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optcachedata.yml b/spec/build/bsps/arm/xilinx-zynqmp/optcachedata.yml
new file mode 100644
index 0000000000..1664b0fc31
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optcachedata.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable data cache
+enabled-by: true
+links: []
+name: BSP_DATA_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optcacheinst.yml b/spec/build/bsps/arm/xilinx-zynqmp/optcacheinst.yml
new file mode 100644
index 0000000000..b191133af9
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optcacheinst.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - arm/.*qemu
+description: |
+ enable instruction cache
+enabled-by: true
+links: []
+name: BSP_INSTRUCTION_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optclkfastidle.yml b/spec/build/bsps/arm/xilinx-zynqmp/optclkfastidle.yml
new file mode 100644
index 0000000000..b800b20428
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optclkfastidle.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - arm/.*qemu
+description: |
+ This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optclkuart.yml b/spec/build/bsps/arm/xilinx-zynqmp/optclkuart.yml
new file mode 100644
index 0000000000..a2def36606
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optclkuart.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 100000000
+default-by-variant:
+- value: 100000000
+ variants:
+ - arm/xilinx_zynqmp_ultra96.*
+description: |
+ Zynq UART clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: ZYNQ_CLOCK_UART
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optconirq.yml b/spec/build/bsps/arm/xilinx-zynqmp/optconirq.yml
new file mode 100644
index 0000000000..ecb91d81a3
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optconirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use interrupt driven mode for console devices (used by default)
+enabled-by: true
+links: []
+name: ZYNQ_CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optconminor.yml b/spec/build/bsps/arm/xilinx-zynqmp/optconminor.yml
new file mode 100644
index 0000000000..55074c6dac
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optconminor.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ minor number of console device
+enabled-by: true
+links: []
+name: BSP_CONSOLE_MINOR
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optgentmrfreq.yml b/spec/build/bsps/arm/xilinx-zynqmp/optgentmrfreq.yml
new file mode 100644
index 0000000000..a31630ebd6
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optgentmrfreq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ ARM generic timer frequency in Hz
+enabled-by: true
+links: []
+name: ARM_GENERIC_TIMER_FREQ
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optgentmrusevirt.yml b/spec/build/bsps/arm/xilinx-zynqmp/optgentmrusevirt.yml
new file mode 100644
index 0000000000..794f66244b
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optgentmrusevirt.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Use virtual ARM generic timer
+enabled-by: true
+links: []
+name: ARM_GENERIC_TIMER_USE_VIRTUAL
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml
new file mode 100644
index 0000000000..55b3487553
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 196608
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RAM_INT_0_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml
new file mode 100644
index 0000000000..f6a8b5f7d4
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RAM_INT_0_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml
new file mode 100644
index 0000000000..bdaef49951
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 65024
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RAM_INT_1_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml
new file mode 100644
index 0000000000..55caa6f4a2
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4294901760
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RAM_INT_1_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml b/spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml
new file mode 100644
index 0000000000..4b9118d926
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1048576
+default-by-variant: []
+description: |
+ length of nocache RAM region
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RAM_NOCACHE_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml b/spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml
new file mode 100644
index 0000000000..6efaf7b13b
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 268435456
+default-by-variant:
+- value: 2147483648
+ variants:
+ - arm/xilinx_zynqmp_ultra96
+description: |
+ override a BSP's default RAM length
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RAM_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optramori.yml b/spec/build/bsps/arm/xilinx-zynqmp/optramori.yml
new file mode 100644
index 0000000000..401b8ec3a3
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optramori.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- assert-aligned: 1048576
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1048576
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RAM_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optresetvec.yml b/spec/build/bsps/arm/xilinx-zynqmp/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/bfin/TLL6527M/abi.yml b/spec/build/bsps/bfin/TLL6527M/abi.yml
new file mode 100644
index 0000000000..861623f2a5
--- /dev/null
+++ b/spec/build/bsps/bfin/TLL6527M/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=bf527
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml b/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
new file mode 100644
index 0000000000..8c90c20272
--- /dev/null
+++ b/spec/build/bsps/bfin/TLL6527M/bsptll6527m.yml
@@ -0,0 +1,62 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: bfin
+bsp: TLL6527M
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: TLL6527M
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/bfin/TLL6527M/include/bsp.h
+ - bsps/bfin/TLL6527M/include/cplb.h
+ - bsps/bfin/TLL6527M/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/bfin/TLL6527M/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/bfin/TLL6527M/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optconbaud
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optirqtbl
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: optuartdma
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/bfin/TLL6527M/console/console.c
+- bsps/bfin/TLL6527M/start/bspstart.c
+- bsps/bfin/TLL6527M/start/interrupt.c
+- bsps/bfin/shared/cache/cache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/bfin/TLL6527M/optconbaud.yml b/spec/build/bsps/bfin/TLL6527M/optconbaud.yml
new file mode 100644
index 0000000000..c1823caa93
--- /dev/null
+++ b/spec/build/bsps/bfin/TLL6527M/optconbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 9600
+default-by-variant: []
+description: |
+ The baudrate of the console uart.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_BAUDRATE
+type: build
diff --git a/spec/build/bsps/bfin/TLL6527M/optconirq.yml b/spec/build/bsps/bfin/TLL6527M/optconirq.yml
new file mode 100644
index 0000000000..1557437cae
--- /dev/null
+++ b/spec/build/bsps/bfin/TLL6527M/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ The console driver can operate in either polled or interrupt mode.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/bfin/TLL6527M/optirqtbl.yml b/spec/build/bsps/bfin/TLL6527M/optirqtbl.yml
new file mode 100644
index 0000000000..925753a83b
--- /dev/null
+++ b/spec/build/bsps/bfin/TLL6527M/optirqtbl.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Select if INTERRUPT use table or link list
+enabled-by: true
+links: []
+name: INTERRUPT_USE_TABLE
+type: build
diff --git a/spec/build/bsps/bfin/TLL6527M/optskyeye.yml b/spec/build/bsps/bfin/TLL6527M/optskyeye.yml
new file mode 100644
index 0000000000..f6b9655e57
--- /dev/null
+++ b/spec/build/bsps/bfin/TLL6527M/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ (BSP--Skyeye) If defined, disable features which are not supported on Skyeye.
+enabled-by: true
+links: []
+name: BFIN_ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/bfin/TLL6527M/optuartdma.yml b/spec/build/bsps/bfin/TLL6527M/optuartdma.yml
new file mode 100644
index 0000000000..915333096d
--- /dev/null
+++ b/spec/build/bsps/bfin/TLL6527M/optuartdma.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ The uart driver can operate in dma mode with interrupts. Set to 1 if DMA operation is required
+enabled-by: true
+links: []
+name: UART_USE_DMA
+type: build
diff --git a/spec/build/bsps/bfin/bf537Stamp/abi.yml b/spec/build/bsps/bfin/bf537Stamp/abi.yml
new file mode 100644
index 0000000000..530e7a5d14
--- /dev/null
+++ b/spec/build/bsps/bfin/bf537Stamp/abi.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: []
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml b/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
new file mode 100644
index 0000000000..3307b2d110
--- /dev/null
+++ b/spec/build/bsps/bfin/bf537Stamp/bspbf537stamp.yml
@@ -0,0 +1,57 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: bfin
+bsp: bf537Stamp
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: bf537Stamp
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/bfin/bf537Stamp/include/bsp.h
+ - bsps/bfin/bf537Stamp/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/bfin/bf537Stamp/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/bfin/bf537Stamp/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/bfin/bf537Stamp/console/console.c
+- bsps/bfin/bf537Stamp/start/bspstart.c
+- bsps/bfin/shared/cache/cache.c
+- bsps/bfin/shared/interrupt.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/bfin/bf537Stamp/objnet.yml b/spec/build/bsps/bfin/bf537Stamp/objnet.yml
new file mode 100644
index 0000000000..151d36831e
--- /dev/null
+++ b/spec/build/bsps/bfin/bf537Stamp/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/bfin/bf537Stamp/net/ethernet.c
+- bsps/bfin/bf537Stamp/net/networkconfig.c
+type: build
diff --git a/spec/build/bsps/bfin/bf537Stamp/optconirq.yml b/spec/build/bsps/bfin/bf537Stamp/optconirq.yml
new file mode 100644
index 0000000000..683469c931
--- /dev/null
+++ b/spec/build/bsps/bfin/bf537Stamp/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ The console driver can operate in either polled or interrupt mode.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/bfin/bf537Stamp/optskyeye.yml b/spec/build/bsps/bfin/bf537Stamp/optskyeye.yml
new file mode 100644
index 0000000000..f6b9655e57
--- /dev/null
+++ b/spec/build/bsps/bfin/bf537Stamp/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ (BSP--Skyeye) If defined, disable features which are not supported on Skyeye.
+enabled-by: true
+links: []
+name: BFIN_ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/bfin/bf537Stamp/start.yml b/spec/build/bsps/bfin/bf537Stamp/start.yml
new file mode 100644
index 0000000000..e105798e1d
--- /dev/null
+++ b/spec/build/bsps/bfin/bf537Stamp/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/bfin/bf537Stamp/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/bfin/eZKit533/abi.yml b/spec/build/bsps/bfin/eZKit533/abi.yml
new file mode 100644
index 0000000000..530e7a5d14
--- /dev/null
+++ b/spec/build/bsps/bfin/eZKit533/abi.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: []
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/bfin/eZKit533/bspezkit533.yml b/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
new file mode 100644
index 0000000000..aebacd3596
--- /dev/null
+++ b/spec/build/bsps/bfin/eZKit533/bspezkit533.yml
@@ -0,0 +1,56 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: bfin
+bsp: eZKit533
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: eZKit533
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/bfin/eZKit533/include/bsp.h
+ - bsps/bfin/eZKit533/include/cplb.h
+ - bsps/bfin/eZKit533/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/bfin/eZKit533/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/bfin/eZKit533/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optskyeye
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/bfin/eZKit533/console/console-io.c
+- bsps/bfin/eZKit533/start/bspstart.c
+- bsps/bfin/shared/cache/cache.c
+- bsps/bfin/shared/interrupt.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/bfin/eZKit533/optconirq.yml b/spec/build/bsps/bfin/eZKit533/optconirq.yml
new file mode 100644
index 0000000000..683469c931
--- /dev/null
+++ b/spec/build/bsps/bfin/eZKit533/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ The console driver can operate in either polled or interrupt mode.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/bfin/eZKit533/optskyeye.yml b/spec/build/bsps/bfin/eZKit533/optskyeye.yml
new file mode 100644
index 0000000000..f6b9655e57
--- /dev/null
+++ b/spec/build/bsps/bfin/eZKit533/optskyeye.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ (BSP--Skyeye) If defined, disable features which are not supported on Skyeye.
+enabled-by: true
+links: []
+name: BFIN_ON_SKYEYE
+type: build
diff --git a/spec/build/bsps/bfin/grp.yml b/spec/build/bsps/bfin/grp.yml
new file mode 100644
index 0000000000..86241a16cf
--- /dev/null
+++ b/spec/build/bsps/bfin/grp.yml
@@ -0,0 +1,46 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/bfin/include/bf52x.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/bfin/include/bsp/interrupt.h
+- destination: ${BSP_INCLUDEDIR}/libcpu
+ source:
+ - bsps/bfin/include/libcpu/bf533.h
+ - bsps/bfin/include/libcpu/bf537.h
+ - bsps/bfin/include/libcpu/cecRegs.h
+ - bsps/bfin/include/libcpu/coreTimerRegs.h
+ - bsps/bfin/include/libcpu/dmaRegs.h
+ - bsps/bfin/include/libcpu/ebiuRegs.h
+ - bsps/bfin/include/libcpu/ethernet.h
+ - bsps/bfin/include/libcpu/ethernetRegs.h
+ - bsps/bfin/include/libcpu/gpioRegs.h
+ - bsps/bfin/include/libcpu/interrupt.h
+ - bsps/bfin/include/libcpu/memoryRegs.h
+ - bsps/bfin/include/libcpu/mmu.h
+ - bsps/bfin/include/libcpu/mmuRegs.h
+ - bsps/bfin/include/libcpu/ppiRegs.h
+ - bsps/bfin/include/libcpu/rtcRegs.h
+ - bsps/bfin/include/libcpu/sicRegs.h
+ - bsps/bfin/include/libcpu/spi.h
+ - bsps/bfin/include/libcpu/spiRegs.h
+ - bsps/bfin/include/libcpu/sport.h
+ - bsps/bfin/include/libcpu/sportRegs.h
+ - bsps/bfin/include/libcpu/timerRegs.h
+ - bsps/bfin/include/libcpu/twi.h
+ - bsps/bfin/include/libcpu/twiRegs.h
+ - bsps/bfin/include/libcpu/uart.h
+ - bsps/bfin/include/libcpu/uartRegs.h
+ - bsps/bfin/include/libcpu/wdogRegs.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/bfin/obj.yml b/spec/build/bsps/bfin/obj.yml
new file mode 100644
index 0000000000..b5f666414d
--- /dev/null
+++ b/spec/build/bsps/bfin/obj.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/bfin/shared/mmu.c
+- bsps/bfin/shared/dev/clock.c
+- bsps/bfin/shared/dev/rtc.c
+- bsps/bfin/shared/dev/spi.c
+- bsps/bfin/shared/dev/sport.c
+- bsps/bfin/shared/dev/timer.c
+- bsps/bfin/shared/dev/twi.c
+- bsps/bfin/shared/dev/uart.c
+type: build
diff --git a/spec/build/bsps/bfin/start.yml b/spec/build/bsps/bfin/start.yml
new file mode 100644
index 0000000000..bf4c4457c4
--- /dev/null
+++ b/spec/build/bsps/bfin/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/bfin/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/bspopts.yml b/spec/build/bsps/bspopts.yml
new file mode 100644
index 0000000000..836d94476e
--- /dev/null
+++ b/spec/build/bsps/bspopts.yml
@@ -0,0 +1,39 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-header
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+guard: __BSP_OPTIONS_H
+include-headers: []
+install-path: ${BSP_INCLUDEDIR}
+links:
+- role: build-dependency
+ uid: optabi
+- role: build-dependency
+ uid: optasflags
+- role: build-dependency
+ uid: optbsp
+- role: build-dependency
+ uid: optfatalverb
+- role: build-dependency
+ uid: optincludes
+- role: build-dependency
+ uid: optldflags
+- role: build-dependency
+ uid: optldflagsbsp
+- role: build-dependency
+ uid: optmakelegacy
+- role: build-dependency
+ uid: optprintexcpt
+- role: build-dependency
+ uid: optreset
+- role: build-dependency
+ uid: optresetkey
+- role: build-dependency
+ uid: pkgconfig
+- role: build-dependency
+ uid: tst
+- role: build-dependency
+ uid: grpmake
+target: bsps/include/bspopts.h
+type: build
diff --git a/spec/build/bsps/grpmake.yml b/spec/build/bsps/grpmake.yml
new file mode 100644
index 0000000000..0998efc49e
--- /dev/null
+++ b/spec/build/bsps/grpmake.yml
@@ -0,0 +1,44 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by:
+- INSTALL_LEGACY_MAKEFILES
+includes: []
+install:
+- destination: ${PREFIX}/share/rtems${__RTEMS_MAJOR__}/make
+ source:
+ - make/lib.cfg
+ - make/host.cfg
+ - make/directory.cfg
+ - make/README
+- destination: ${PREFIX}/share/rtems${__RTEMS_MAJOR__}/make/compilers
+ source:
+ - make/compilers/gcc-target-default.cfg
+- destination: ${PREFIX}/share/rtems${__RTEMS_MAJOR__}/make/Templates
+ source:
+ - make/Templates/Makefile.dir
+ - make/Templates/Makefile.lib
+ - make/Templates/Makefile.leaf
+- destination: ${PREFIX}/make
+ source:
+ - make/main.cfg
+ - make/leaf.cfg
+- destination: ${PREFIX}/make/custom
+ source:
+ - make/custom/default.cfg
+ldflags: []
+links:
+- role: build-dependency
+ uid: makebsp
+- role: build-dependency
+ uid: makecustom
+- role: build-dependency
+ uid: makeinc
+- role: build-dependency
+ uid: maketarget
+- role: build-dependency
+ uid: optmake
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/i386/grp.yml b/spec/build/bsps/i386/grp.yml
new file mode 100644
index 0000000000..bd68f7f340
--- /dev/null
+++ b/spec/build/bsps/i386/grp.yml
@@ -0,0 +1,29 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/i386/include/i386_io.h
+ - bsps/i386/include/uart.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/i386/include/bsp/apic.h
+ - bsps/i386/include/bsp/irq.h
+ - bsps/i386/include/bsp/irq_asm.h
+ - bsps/i386/include/bsp/realmode_int.h
+ - bsps/i386/include/bsp/smp-imps.h
+ - bsps/i386/include/bsp/tty_drv.h
+- destination: ${BSP_INCLUDEDIR}/libcpu
+ source:
+ - bsps/i386/include/libcpu/byteorder.h
+ - bsps/i386/include/libcpu/cpuModel.h
+ - bsps/i386/include/libcpu/page.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/i386/pc386/abi.yml b/spec/build/bsps/i386/pc386/abi.yml
new file mode 100644
index 0000000000..ed933804f5
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/abi.yml
@@ -0,0 +1,48 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mtune=pentium4
+- -march=pentium4
+- -msse3
+- -mtune=i386
+default-by-variant:
+- value:
+ - -mtune=pentiumpro
+ - -march=pentium
+ - -mtune=i386
+ variants:
+ - i386/pc686
+- value:
+ - -mtune=pentium
+ - -march=pentium
+ - -msse2
+ - -mtune=i386
+ variants:
+ - i386/pc586-sse
+- value:
+ - -mtune=pentium
+ - -march=pentium
+ - -mtune=i386
+ variants:
+ - i386/pc586
+- value:
+ - -mtune=i486
+ - -mtune=i386
+ variants:
+ - i386/pc486
+- value:
+ - -mtune=i386
+ variants:
+ - i386/pc386
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/i386/pc386/bsppc386.yml b/spec/build/bsps/i386/pc386/bsppc386.yml
new file mode 100644
index 0000000000..a221bb5820
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/bsppc386.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: i386
+bsp: pc386
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: pc386
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/i386/pc386/bsppc486.yml b/spec/build/bsps/i386/pc386/bsppc486.yml
new file mode 100644
index 0000000000..7a14db2f06
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/bsppc486.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: i386
+bsp: pc486
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: pc386
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/i386/pc386/bsppc586.yml b/spec/build/bsps/i386/pc386/bsppc586.yml
new file mode 100644
index 0000000000..5c73a6368b
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/bsppc586.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: i386
+bsp: pc586
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: pc386
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/i386/pc386/bsppc586sse.yml b/spec/build/bsps/i386/pc386/bsppc586sse.yml
new file mode 100644
index 0000000000..5af45aba6d
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/bsppc586sse.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: i386
+bsp: pc586-sse
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: pc386
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/i386/pc386/bsppc686.yml b/spec/build/bsps/i386/pc386/bsppc686.yml
new file mode 100644
index 0000000000..4f491b47d4
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/bsppc686.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: i386
+bsp: pc686
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: pc386
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/i386/pc386/bsppcp4.yml b/spec/build/bsps/i386/pc386/bsppcp4.yml
new file mode 100644
index 0000000000..41329d7930
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/bsppcp4.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: i386
+bsp: pcp4
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: pc386
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/i386/pc386/grp.yml b/spec/build/bsps/i386/pc386/grp.yml
new file mode 100644
index 0000000000..03aa8cf46e
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/grp.yml
@@ -0,0 +1,68 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objide
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: objvga
+- role: build-dependency
+ uid: optvberm
+- role: build-dependency
+ uid: objvgacir
+- role: build-dependency
+ uid: objvgavbe
+- role: build-dependency
+ uid: objvgavga
+- role: build-dependency
+ uid: optcirrus
+- role: build-dependency
+ uid: optclk8253
+- role: build-dependency
+ uid: optclktsc
+- role: build-dependency
+ uid: optconcom1
+- role: build-dependency
+ uid: optencom14
+- role: build-dependency
+ uid: optenide
+- role: build-dependency
+ uid: optenvga
+- role: build-dependency
+ uid: optgdbstub
+- role: build-dependency
+ uid: optidepriifc
+- role: build-dependency
+ uid: optidesecifc
+- role: build-dependency
+ uid: optvga
+- role: build-dependency
+ uid: optvideo80x50
+- role: build-dependency
+ uid: optgdtdesc
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/i386/pc386/obj.yml b/spec/build/bsps/i386/pc386/obj.yml
new file mode 100644
index 0000000000..e9a6decddc
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/obj.yml
@@ -0,0 +1,83 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/i386/pc386/include/bsp.h
+ - bsps/i386/pc386/include/crt.h
+ - bsps/i386/pc386/include/edid.h
+ - bsps/i386/pc386/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/i386/pc386/include/bsp/bspimpl.h
+ - bsps/i386/pc386/include/bsp/exar17d15x.h
+ - bsps/i386/pc386/include/bsp/fb_default_mode.h
+ - bsps/i386/pc386/include/bsp/fb_vesa.h
+ - bsps/i386/pc386/include/bsp/rtd316.h
+ - bsps/i386/pc386/include/bsp/tblsizes.h
+ - bsps/i386/pc386/include/bsp/vbe3.h
+- destination: ${BSP_INCLUDEDIR}/rtems
+ source:
+ - bsps/i386/pc386/include/rtems/kd.h
+ - bsps/i386/pc386/include/rtems/keyboard.h
+ - bsps/i386/pc386/include/rtems/ps2_drv.h
+ - bsps/i386/pc386/include/rtems/vgacons.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/i386/pc386/start/linkcmds
+links: []
+source:
+- bsps/i386/pc386/btimer/btimer.c
+- bsps/i386/pc386/btimer/timerisr.S
+- bsps/i386/pc386/clock/ckinit.c
+- bsps/i386/pc386/clock/todcfg.c
+- bsps/i386/pc386/console/conscfg.c
+- bsps/i386/pc386/console/console_control.c
+- bsps/i386/pc386/console/console_select.c
+- bsps/i386/pc386/console/exar17d15x.c
+- bsps/i386/pc386/console/gdb_glue.c
+- bsps/i386/pc386/console/gdb_select.c
+- bsps/i386/pc386/console/i386-stub-glue.c
+- bsps/i386/pc386/console/i386-stub.c
+- bsps/i386/pc386/console/printk_support.c
+- bsps/i386/pc386/console/rtd316.c
+- bsps/i386/pc386/console/serial_mouse_config.c
+- bsps/i386/pc386/console/tty_drv.c
+- bsps/i386/pc386/console/uart.c
+- bsps/i386/pc386/console/uart_bus_pci.c
+- bsps/i386/pc386/start/bsp_fatal_halt.c
+- bsps/i386/pc386/start/bspcmdline.c
+- bsps/i386/pc386/start/bspgetworkarea.c
+- bsps/i386/pc386/start/bspidle.S
+- bsps/i386/pc386/start/bspreset.c
+- bsps/i386/pc386/start/bspstart.c
+- bsps/i386/pc386/start/cpuModel.S
+- bsps/i386/pc386/start/displayCpu.c
+- bsps/i386/pc386/start/idtr.S
+- bsps/i386/pc386/start/ldsegs.S
+- bsps/i386/pc386/start/page.c
+- bsps/i386/pc386/start/realmode_int.c
+- bsps/i386/shared/cache/cache.c
+- bsps/i386/shared/irq/elcr.c
+- bsps/i386/shared/irq/idt.c
+- bsps/i386/shared/irq/irq.c
+- bsps/i386/shared/irq/irq_asm.S
+- bsps/i386/shared/irq/irq_init.c
+- bsps/i386/shared/pci/pci_io.c
+- bsps/i386/shared/pci/pcibios.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/pci/pci_bus_count.c
+- bsps/shared/dev/pci/pci_find_device.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/objide.yml b/spec/build/bsps/i386/pc386/objide.yml
new file mode 100644
index 0000000000..8065afc402
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/objide.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- BSP_ENABLE_IDE
+includes: []
+install: []
+links: []
+source:
+- bsps/i386/pc386/ata/ide.c
+- bsps/i386/pc386/ata/idecfg.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/objnet.yml b/spec/build/bsps/i386/pc386/objnet.yml
new file mode 100644
index 0000000000..da30f2423b
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/objnet.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/i386/pc386/net/3c509.c
+- bsps/i386/pc386/net/elink.c
+- bsps/i386/pc386/net/ne2000.c
+- bsps/i386/pc386/net/wd8003.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/objsmp.yml b/spec/build/bsps/i386/pc386/objsmp.yml
new file mode 100644
index 0000000000..af882cb425
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/i386/pc386/start/getcpuid.c
+- bsps/i386/pc386/start/smp-imps.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/objvga.yml b/spec/build/bsps/i386/pc386/objvga.yml
new file mode 100644
index 0000000000..9e212637bb
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/objvga.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- BSP_ENABLE_VGA
+includes: []
+install: []
+links: []
+source:
+- bsps/i386/pc386/console/defkeymap.c
+- bsps/i386/pc386/console/inch.c
+- bsps/i386/pc386/console/kbd_parser.c
+- bsps/i386/pc386/console/keyboard.c
+- bsps/i386/pc386/console/outch.c
+- bsps/i386/pc386/console/pc_keyb.c
+- bsps/i386/pc386/console/ps2_mouse.c
+- bsps/i386/pc386/console/vgacons.c
+- bsps/i386/pc386/console/vgainit.c
+- bsps/i386/pc386/console/videoAsm.S
+- bsps/i386/pc386/console/vt.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/objvgacir.yml b/spec/build/bsps/i386/pc386/objvgacir.yml
new file mode 100644
index 0000000000..530c12b99d
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/objvgacir.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- and:
+ - BSP_ENABLE_VGA
+ - USE_CIRRUS_GD5446
+includes: []
+install: []
+links: []
+source:
+- bsps/i386/pc386/console/fb_cirrus.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/objvgavbe.yml b/spec/build/bsps/i386/pc386/objvgavbe.yml
new file mode 100644
index 0000000000..57206ff9de
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/objvgavbe.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- and:
+ - BSP_ENABLE_VGA
+ - USE_VBE_RM
+includes: []
+install: []
+links: []
+source:
+- bsps/i386/pc386/console/fb_vesa_rm.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/objvgavga.yml b/spec/build/bsps/i386/pc386/objvgavga.yml
new file mode 100644
index 0000000000..5f658c0d2f
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/objvgavga.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- and:
+ - BSP_ENABLE_VGA
+ - USE_VGA
+includes: []
+install: []
+links: []
+source:
+- bsps/i386/pc386/console/fb_vga.c
+type: build
diff --git a/spec/build/bsps/i386/pc386/optcirrus.yml b/spec/build/bsps/i386/pc386/optcirrus.yml
new file mode 100644
index 0000000000..c974001647
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optcirrus.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, enables use of the Cirrus GD5446 controller rather than the controller utilizing Vesa Bios Extensions - real mode interface. NOTE: This has only been tested on Qemu.
+enabled-by: true
+links: []
+name: USE_CIRRUS_GD5446
+type: build
diff --git a/spec/build/bsps/i386/pc386/optclk8253.yml b/spec/build/bsps/i386/pc386/optclk8253.yml
new file mode 100644
index 0000000000..ddaeb3bb75
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optclk8253.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ None
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_8254
+type: build
diff --git a/spec/build/bsps/i386/pc386/optclktsc.yml b/spec/build/bsps/i386/pc386/optclktsc.yml
new file mode 100644
index 0000000000..2b02523def
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optclktsc.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ None
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_TSC
+type: build
diff --git a/spec/build/bsps/i386/pc386/optconcom1.yml b/spec/build/bsps/i386/pc386/optconcom1.yml
new file mode 100644
index 0000000000..6743683ecc
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optconcom1.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Determines, whether the console will be associated with the standard VGA display or with the COM1 serial port. Currently only the VGA display and COM1 support printk.
+enabled-by: true
+links: []
+name: USE_COM1_AS_CONSOLE
+type: build
diff --git a/spec/build/bsps/i386/pc386/optencom14.yml b/spec/build/bsps/i386/pc386/optencom14.yml
new file mode 100644
index 0000000000..1547f5d890
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optencom14.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Set if COM1..COM4 support is enabled.
+enabled-by: true
+links: []
+name: BSP_ENABLE_COM1_COM4
+type: build
diff --git a/spec/build/bsps/i386/pc386/optenide.yml b/spec/build/bsps/i386/pc386/optenide.yml
new file mode 100644
index 0000000000..db3a9aaf04
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optenide.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Set if IDE support is enabled.
+enabled-by: true
+links: []
+name: BSP_ENABLE_IDE
+type: build
diff --git a/spec/build/bsps/i386/pc386/optenvga.yml b/spec/build/bsps/i386/pc386/optenvga.yml
new file mode 100644
index 0000000000..d2f4755a8b
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optenvga.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Set if the VGA and keyboard console support is enabled.
+enabled-by: true
+links: []
+name: BSP_ENABLE_VGA
+type: build
diff --git a/spec/build/bsps/i386/pc386/optgdbstub.yml b/spec/build/bsps/i386/pc386/optgdbstub.yml
new file mode 100644
index 0000000000..6af1c8ec56
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optgdbstub.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Defined by default. Enables use of the GDB stub for debugging via a serial port.
+enabled-by: true
+links: []
+name: BSP_GDB_STUB
+type: build
diff --git a/spec/build/bsps/i386/pc386/optgdtdesc.yml b/spec/build/bsps/i386/pc386/optgdtdesc.yml
new file mode 100644
index 0000000000..8898bf4726
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optgdtdesc.yml
@@ -0,0 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- script: |
+ if "USE_CIRRUS_GD5446" not in conf.env.ENABLE and "USE_VGA" not in conf.env.ENABLE:
+ if "USE_VBE_RM" not in conf.env.ENABLE:
+ conf.fatal(
+ "USE_VBE_RM must be enabled in case USE_CIRRUS_GD5446 and USE_VGA are disabled"
+ )
+ if value:
+ value += 2
+ else:
+ value = 2
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ Defines how many descriptors in GDT may be allocated for application or driver usage.
+enabled-by: true
+format: '{}'
+links: []
+name: NUM_APP_DRV_GDT_DESCRIPTORS
+type: build
diff --git a/spec/build/bsps/i386/pc386/optidepriifc.yml b/spec/build/bsps/i386/pc386/optidepriifc.yml
new file mode 100644
index 0000000000..375b89904b
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optidepriifc.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Determines, whether RTEMS will try to use the primary IDE interface. Disable it, if: - you have no primary IDE interface - or you have no disk attached to this interface - or you do not want to access disks attached to this interface
+enabled-by: true
+links: []
+name: IDE_USE_PRIMARY_INTERFACE
+type: build
diff --git a/spec/build/bsps/i386/pc386/optidesecifc.yml b/spec/build/bsps/i386/pc386/optidesecifc.yml
new file mode 100644
index 0000000000..4b61958f7d
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optidesecifc.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Determines, whether RTEMS will try to use the secondary IDE interface. Enable it, if: - you have a secondary IDE interface - and you have at least one disk attached to this interface - and you do want to access disks attached to this interface
+enabled-by: true
+links: []
+name: IDE_USE_SECONDARY_INTERFACE
+type: build
diff --git a/spec/build/bsps/i386/pc386/optvberm.yml b/spec/build/bsps/i386/pc386/optvberm.yml
new file mode 100644
index 0000000000..dce5975ef8
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optvberm.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Defined by default. Enables use of the Vesa Bios Extensions - real mode interface, which enables graphical mode and introduce it upon bootup.
+enabled-by: true
+links: []
+name: USE_VBE_RM
+type: build
diff --git a/spec/build/bsps/i386/pc386/optvga.yml b/spec/build/bsps/i386/pc386/optvga.yml
new file mode 100644
index 0000000000..5477de3e0b
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optvga.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, enables use of the very basic VGA driver for framebuffer support rather than the controller utilizing Vesa Bios Extensions - real mode interface.
+enabled-by: true
+links: []
+name: USE_VGA
+type: build
diff --git a/spec/build/bsps/i386/pc386/optvideo80x50.yml b/spec/build/bsps/i386/pc386/optvideo80x50.yml
new file mode 100644
index 0000000000..f95225bc04
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/optvideo80x50.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, set the VGA display to 80x50.
+enabled-by: true
+links: []
+name: BSP_VIDEO_80x50
+type: build
diff --git a/spec/build/bsps/i386/pc386/start.yml b/spec/build/bsps/i386/pc386/start.yml
new file mode 100644
index 0000000000..99cefa2751
--- /dev/null
+++ b/spec/build/bsps/i386/pc386/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/i386/pc386/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/linkcmds.yml b/spec/build/bsps/linkcmds.yml
new file mode 100644
index 0000000000..420108473d
--- /dev/null
+++ b/spec/build/bsps/linkcmds.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+do-build: |
+ bld.install_as(
+ "${BSP_LIBDIR}/linkcmds",
+ "bsps/" + bld.env.ARCH + "/" + bld.env.BSP_FAMILY +
+ "/start/linkcmds." + bld.env.BSP_BASE
+ )
+do-configure: |
+ conf.env.append_value(
+ "LINKFLAGS",
+ ["-qnolinkcmds", "-T", "linkcmds." + conf.env.BSP_BASE]
+ )
+enabled-by: true
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/lm32/grp.yml b/spec/build/bsps/lm32/grp.yml
new file mode 100644
index 0000000000..218367fb08
--- /dev/null
+++ b/spec/build/bsps/lm32/grp.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/lm32/include/bsp/irq.h
+ - bsps/lm32/include/bsp/milkymist_ac97.h
+ - bsps/lm32/include/bsp/milkymist_buttons.h
+ - bsps/lm32/include/bsp/milkymist_dmx.h
+ - bsps/lm32/include/bsp/milkymist_flash.h
+ - bsps/lm32/include/bsp/milkymist_gpio.h
+ - bsps/lm32/include/bsp/milkymist_ir.h
+ - bsps/lm32/include/bsp/milkymist_memcard.h
+ - bsps/lm32/include/bsp/milkymist_midi.h
+ - bsps/lm32/include/bsp/milkymist_pfpu.h
+ - bsps/lm32/include/bsp/milkymist_tmu.h
+ - bsps/lm32/include/bsp/milkymist_usbinput.h
+ - bsps/lm32/include/bsp/milkymist_versions.h
+ - bsps/lm32/include/bsp/milkymist_video.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/lm32/lm32_evr/abi.yml b/spec/build/bsps/lm32/lm32_evr/abi.yml
new file mode 100644
index 0000000000..530e7a5d14
--- /dev/null
+++ b/spec/build/bsps/lm32/lm32_evr/abi.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: []
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/lm32/lm32_evr/bspgdbsim.yml b/spec/build/bsps/lm32/lm32_evr/bspgdbsim.yml
new file mode 100644
index 0000000000..8c9c736d8f
--- /dev/null
+++ b/spec/build/bsps/lm32/lm32_evr/bspgdbsim.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: lm32
+bsp: lm32_evr_gdbsim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lm32_evr
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstnointrcrit
+source: []
+type: build
diff --git a/spec/build/bsps/lm32/lm32_evr/bsplm32evr.yml b/spec/build/bsps/lm32/lm32_evr/bsplm32evr.yml
new file mode 100644
index 0000000000..f3576154ca
--- /dev/null
+++ b/spec/build/bsps/lm32/lm32_evr/bsplm32evr.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: lm32
+bsp: lm32_evr
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: lm32_evr
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/lm32/lm32_evr/grp.yml b/spec/build/bsps/lm32/lm32_evr/grp.yml
new file mode 100644
index 0000000000..3dec0056fb
--- /dev/null
+++ b/spec/build/bsps/lm32/lm32_evr/grp.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optsim
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/lm32/lm32_evr/obj.yml b/spec/build/bsps/lm32/lm32_evr/obj.yml
new file mode 100644
index 0000000000..eec04aefe8
--- /dev/null
+++ b/spec/build/bsps/lm32/lm32_evr/obj.yml
@@ -0,0 +1,33 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/lm32/lm32_evr/include/bsp.h
+ - bsps/lm32/lm32_evr/include/system_conf.h
+ - bsps/lm32/lm32_evr/include/tm27.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/lm32/lm32_evr/start/linkcmds
+links: []
+source:
+- bsps/lm32/shared/btimer/btimer.c
+- bsps/lm32/shared/clock/ckinit.c
+- bsps/lm32/shared/console/console.c
+- bsps/lm32/shared/console/uart.c
+- bsps/lm32/shared/start/bspreset.c
+- bsps/lm32/shared/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/lm32/lm32_evr/objnet.yml b/spec/build/bsps/lm32/lm32_evr/objnet.yml
new file mode 100644
index 0000000000..32e64832c7
--- /dev/null
+++ b/spec/build/bsps/lm32/lm32_evr/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/lm32/shared/net/tsmac.c
+type: build
diff --git a/spec/build/bsps/lm32/lm32_evr/optsim.yml b/spec/build/bsps/lm32/lm32_evr/optsim.yml
new file mode 100644
index 0000000000..b02e333c26
--- /dev/null
+++ b/spec/build/bsps/lm32/lm32_evr/optsim.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - lm32/lm32_evr_gdbsim
+description: |
+ If defined, this indicates the BSP is being built to run on the lm32 simulator in GDB. This enables fast idle support which speeds up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites. It also enables a special exit and alternate printk support.
+enabled-by: true
+links: []
+name: LM32_ON_SIMULATOR
+type: build
diff --git a/spec/build/bsps/lm32/milkymist/abi.yml b/spec/build/bsps/lm32/milkymist/abi.yml
new file mode 100644
index 0000000000..1b553c1f4d
--- /dev/null
+++ b/spec/build/bsps/lm32/milkymist/abi.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mbarrel-shift-enabled
+- -mmultiply-enabled
+- -mdivide-enabled
+- -msign-extend-enabled
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/lm32/milkymist/bspmilkymist.yml b/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
new file mode 100644
index 0000000000..a599d42f8d
--- /dev/null
+++ b/spec/build/bsps/lm32/milkymist/bspmilkymist.yml
@@ -0,0 +1,67 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: lm32
+bsp: milkymist
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: milkymist
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/lm32/milkymist/include/bsp.h
+ - bsps/lm32/milkymist/include/system_conf.h
+ - bsps/lm32/milkymist/include/tm27.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/lm32/milkymist/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optsim
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/lm32/milkymist/start/bspclean.c
+- bsps/lm32/shared/irq/irq.c
+- bsps/lm32/shared/milkymist_ac97/ac97.c
+- bsps/lm32/shared/milkymist_buttons/buttons.c
+- bsps/lm32/shared/milkymist_clock/ckinit.c
+- bsps/lm32/shared/milkymist_console/console.c
+- bsps/lm32/shared/milkymist_console/uart.c
+- bsps/lm32/shared/milkymist_dmx/dmx.c
+- bsps/lm32/shared/milkymist_flash/flash.c
+- bsps/lm32/shared/milkymist_framebuffer/framebuffer.c
+- bsps/lm32/shared/milkymist_gpio/gpio.c
+- bsps/lm32/shared/milkymist_ir/ir.c
+- bsps/lm32/shared/milkymist_memcard/memcard.c
+- bsps/lm32/shared/milkymist_midi/midi.c
+- bsps/lm32/shared/milkymist_pfpu/pfpu.c
+- bsps/lm32/shared/milkymist_timer/timer.c
+- bsps/lm32/shared/milkymist_tmu/tmu.c
+- bsps/lm32/shared/milkymist_usbinput/usbinput.c
+- bsps/lm32/shared/milkymist_versions/versions.c
+- bsps/lm32/shared/milkymist_video/video.c
+- bsps/lm32/shared/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/lm32/milkymist/objnet.yml b/spec/build/bsps/lm32/milkymist/objnet.yml
new file mode 100644
index 0000000000..14d84f9e7e
--- /dev/null
+++ b/spec/build/bsps/lm32/milkymist/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/lm32/shared/net/network.c
+type: build
diff --git a/spec/build/bsps/lm32/milkymist/optsim.yml b/spec/build/bsps/lm32/milkymist/optsim.yml
new file mode 100644
index 0000000000..5172e03c63
--- /dev/null
+++ b/spec/build/bsps/lm32/milkymist/optsim.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, this indicates the BSP is being built to run on the lm32 simulator in GDB. This enables fast idle support which speeds up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites. It also enables a special exit and alternate printk support.
+enabled-by: true
+links: []
+name: LM32_ON_SIMULATOR
+type: build
diff --git a/spec/build/bsps/lm32/start.yml b/spec/build/bsps/lm32/start.yml
new file mode 100644
index 0000000000..4ebb69a1e1
--- /dev/null
+++ b/spec/build/bsps/lm32/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/lm32/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/av5282/abi.yml b/spec/build/bsps/m68k/av5282/abi.yml
new file mode 100644
index 0000000000..78f70236d3
--- /dev/null
+++ b/spec/build/bsps/m68k/av5282/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=528x
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/av5282/bspav5282.yml b/spec/build/bsps/m68k/av5282/bspav5282.yml
new file mode 100644
index 0000000000..66ab1333d2
--- /dev/null
+++ b/spec/build/bsps/m68k/av5282/bspav5282.yml
@@ -0,0 +1,55 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: av5282
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: av5282
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/av5282/include/bsp.h
+ - bsps/m68k/av5282/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/av5282/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/av5282/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/av5282/btimer/btimer.c
+- bsps/m68k/av5282/clock/clock.c
+- bsps/m68k/av5282/console/console.c
+- bsps/m68k/av5282/start/bspstart.c
+- bsps/m68k/av5282/start/init5282.c
+- bsps/m68k/shared/cache/cache-mcf5282.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/av5282/objnet.yml b/spec/build/bsps/m68k/av5282/objnet.yml
new file mode 100644
index 0000000000..4346dad873
--- /dev/null
+++ b/spec/build/bsps/m68k/av5282/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/av5282/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/av5282/start.yml b/spec/build/bsps/m68k/av5282/start.yml
new file mode 100644
index 0000000000..a67f06364f
--- /dev/null
+++ b/spec/build/bsps/m68k/av5282/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/av5282/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/csb360/abi.yml b/spec/build/bsps/m68k/csb360/abi.yml
new file mode 100644
index 0000000000..1ff2806a6c
--- /dev/null
+++ b/spec/build/bsps/m68k/csb360/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=5272
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/csb360/bspcsb360.yml b/spec/build/bsps/m68k/csb360/bspcsb360.yml
new file mode 100644
index 0000000000..e2add1c268
--- /dev/null
+++ b/spec/build/bsps/m68k/csb360/bspcsb360.yml
@@ -0,0 +1,55 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: csb360
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: csb360
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/csb360/include/bsp.h
+ - bsps/m68k/csb360/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/csb360/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/csb360/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/csb360/console/console-io.c
+- bsps/m68k/csb360/dev/ckinit.c
+- bsps/m68k/csb360/dev/timer.c
+- bsps/m68k/csb360/dev/timerisr.S
+- bsps/m68k/csb360/start/idle-mcf5272.c
+- bsps/m68k/csb360/start/init5272.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/csb360/start.yml b/spec/build/bsps/m68k/csb360/start.yml
new file mode 100644
index 0000000000..fd94bd5958
--- /dev/null
+++ b/spec/build/bsps/m68k/csb360/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/csb360/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/gen68340/abi.yml b/spec/build/bsps/m68k/gen68340/abi.yml
new file mode 100644
index 0000000000..0daf8ee06b
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68340/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=cpu32
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/gen68340/bspgen68340.yml b/spec/build/bsps/m68k/gen68340/bspgen68340.yml
new file mode 100644
index 0000000000..e07abddd43
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68340/bspgen68340.yml
@@ -0,0 +1,61 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: gen68340
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen68340
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/gen68340/include/bsp.h
+ - bsps/m68k/gen68340/include/m340timer.h
+ - bsps/m68k/gen68340/include/m340uart.h
+ - bsps/m68k/gen68340/include/m68340.h
+ - bsps/m68k/gen68340/include/m68340.inc
+ - bsps/m68k/gen68340/include/m68349.inc
+ - bsps/m68k/gen68340/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/gen68340/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/gen68340/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/gen68340/btimer/btimer.c
+- bsps/m68k/gen68340/clock/ckinit.c
+- bsps/m68k/gen68340/console/console.c
+- bsps/m68k/gen68340/console/m340uart.c
+- bsps/m68k/gen68340/start/dumpanic.c
+- bsps/m68k/gen68340/start/init68340.c
+- bsps/m68k/shared/cache/cache.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/gen68340/start.yml b/spec/build/bsps/m68k/gen68340/start.yml
new file mode 100644
index 0000000000..be6f431af3
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68340/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/gen68340/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/abi.yml b/spec/build/bsps/m68k/gen68360/abi.yml
new file mode 100644
index 0000000000..5e83fae804
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/abi.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu32
+default-by-variant:
+- value:
+ - -mcpu=68040
+ variants:
+ - m68k/gen68360_040
+- value:
+ - -mcpu=cpu32
+ variants:
+ - m68k/gen68360
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/bspgen68360.yml b/spec/build/bsps/m68k/gen68360/bspgen68360.yml
new file mode 100644
index 0000000000..3fe72993b3
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/bspgen68360.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: gen68360
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen68360
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/bspgen68360040.yml b/spec/build/bsps/m68k/gen68360/bspgen68360040.yml
new file mode 100644
index 0000000000..24c1d855a5
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/bspgen68360040.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: gen68360_040
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen68360
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/bsppgh360.yml b/spec/build/bsps/m68k/gen68360/bsppgh360.yml
new file mode 100644
index 0000000000..2a8f2f2131
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/bsppgh360.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: pgh360
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen68360
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/grp.yml b/spec/build/bsps/m68k/gen68360/grp.yml
new file mode 100644
index 0000000000..56357004ce
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/grp.yml
@@ -0,0 +1,36 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: opt68360
+- role: build-dependency
+ uid: opt68360x040
+- role: build-dependency
+ uid: optpgh360
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../objfpsp
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/m68k/gen68360/obj.yml b/spec/build/bsps/m68k/gen68360/obj.yml
new file mode 100644
index 0000000000..27e7bb8517
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/obj.yml
@@ -0,0 +1,41 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/gen68360/include/bsp.h
+ - bsps/m68k/gen68360/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/gen68360/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/gen68360/start/linkcmds
+ - bsps/m68k/gen68360/start/linkcmds.bootp
+ - bsps/m68k/gen68360/start/linkcmds.prom
+links: []
+source:
+- bsps/m68k/gen68360/btimer/btimer.c
+- bsps/m68k/gen68360/clock/clock.c
+- bsps/m68k/gen68360/console/console.c
+- bsps/m68k/gen68360/start/alloc360.c
+- bsps/m68k/gen68360/start/init68360.c
+- bsps/m68k/shared/cache/cache.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/objnet.yml b/spec/build/bsps/m68k/gen68360/objnet.yml
new file mode 100644
index 0000000000..4b9ee8164b
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/gen68360/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/opt68360.yml b/spec/build/bsps/m68k/gen68360/opt68360.yml
new file mode 100644
index 0000000000..11f0f054c9
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/opt68360.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - m68k/gen68360
+description: |
+ If defined, use custom settings for the gen68360 BSP.
+enabled-by: true
+links: []
+name: GEN68360
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/opt68360x040.yml b/spec/build/bsps/m68k/gen68360/opt68360x040.yml
new file mode 100644
index 0000000000..c176a780a3
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/opt68360x040.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - m68k/gen68360_040
+description: |
+ If defined, use custom settings for the gen68360_040 BSP.
+enabled-by: true
+links: []
+name: GEN68360_040
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/optpgh360.yml b/spec/build/bsps/m68k/gen68360/optpgh360.yml
new file mode 100644
index 0000000000..8fea68fa42
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/optpgh360.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - m68k/pgh360
+description: |
+ If defined, use custom settings for the pgh360 BSP.
+enabled-by: true
+links: []
+name: PGH360
+type: build
diff --git a/spec/build/bsps/m68k/gen68360/start.yml b/spec/build/bsps/m68k/gen68360/start.yml
new file mode 100644
index 0000000000..88a6949b60
--- /dev/null
+++ b/spec/build/bsps/m68k/gen68360/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/gen68360/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/abi.yml b/spec/build/bsps/m68k/genmcf548x/abi.yml
new file mode 100644
index 0000000000..6680decb4c
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcfv4e
+- -Wa,-memac
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/bspcobra5475.yml b/spec/build/bsps/m68k/genmcf548x/bspcobra5475.yml
new file mode 100644
index 0000000000..481c2edbe5
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/bspcobra5475.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: COBRA5475
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: genmcf548x
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/bspm5484fireengine.yml b/spec/build/bsps/m68k/genmcf548x/bspm5484fireengine.yml
new file mode 100644
index 0000000000..51d434bd02
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/bspm5484fireengine.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: m5484FireEngine
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: genmcf548x
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/grp.yml b/spec/build/bsps/m68k/genmcf548x/grp.yml
new file mode 100644
index 0000000000..b4e72b6199
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/grp.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optcpuclk
+- role: build-dependency
+ uid: optdbug
+- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
+ uid: optm5484fireengine
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/m68k/genmcf548x/obj.yml b/spec/build/bsps/m68k/genmcf548x/obj.yml
new file mode 100644
index 0000000000..729c1f045a
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/obj.yml
@@ -0,0 +1,52 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/genmcf548x/include/bsp.h
+ - bsps/m68k/genmcf548x/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/genmcf548x/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/genmcf548x/start/linkcmds.COBRA5475
+ - bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine
+ - bsps/m68k/genmcf548x/start/linkcmds.m5484FireEngine.flash
+ - bsps/m68k/shared/start/linkcmds.base
+links: []
+source:
+- bsps/m68k/genmcf548x/btimer/btimer.c
+- bsps/m68k/genmcf548x/clock/clock.c
+- bsps/m68k/genmcf548x/console/console.c
+- bsps/m68k/genmcf548x/irq/intc-icr-init-values.c
+- bsps/m68k/genmcf548x/irq/irq.c
+- bsps/m68k/genmcf548x/mcdma/MCD_dmaApi.c
+- bsps/m68k/genmcf548x/mcdma/MCD_tasks.c
+- bsps/m68k/genmcf548x/mcdma/MCD_tasksInit.c
+- bsps/m68k/genmcf548x/mcdma/mcdma_glue.c
+- bsps/m68k/genmcf548x/start/bspstart.c
+- bsps/m68k/genmcf548x/start/cache.c
+- bsps/m68k/genmcf548x/start/init548x.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/irq/irq-info.c
+- bsps/shared/irq/irq-legacy.c
+- bsps/shared/irq/irq-lock.c
+- bsps/shared/irq/irq-server.c
+- bsps/shared/irq/irq-shell.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/objnet.yml b/spec/build/bsps/m68k/genmcf548x/objnet.yml
new file mode 100644
index 0000000000..203cb408a8
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/genmcf548x/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/optcpuclk.yml b/spec/build/bsps/m68k/genmcf548x/optcpuclk.yml
new file mode 100644
index 0000000000..6cf392fbb6
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/optcpuclk.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 100000000
+default-by-variant:
+- value: 132000000
+ variants:
+ - m68k/COBRA5475
+- value: 100000000
+ variants:
+ - m68k/m5484FireEngine
+description: |
+ The bus clock to be used inside the mcf54xx
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_CPU_CLOCK_SPEED
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/optdbug.yml b/spec/build/bsps/m68k/genmcf548x/optdbug.yml
new file mode 100644
index 0000000000..26f93cd969
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/optdbug.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - m68k/COBRA5475
+description: |
+ If defined, we will not boot from RESET, but from Freescale DBug monitor.
+enabled-by: true
+links: []
+name: HAS_DBUG
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/optlowinit.yml b/spec/build/bsps/m68k/genmcf548x/optlowinit.yml
new file mode 100644
index 0000000000..7d0f76a6be
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/optlowinit.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - m68k/m5484FireEngine
+description: |
+ If defined, we will do all the low level init of the chip (like bus/memory...).
+enabled-by: true
+links: []
+name: HAS_LOW_LEVEL_INIT
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/optm5484fireengine.yml b/spec/build/bsps/m68k/genmcf548x/optm5484fireengine.yml
new file mode 100644
index 0000000000..e2b71f1af1
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/optm5484fireengine.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - m68k/m5484FireEngine
+description: |
+ If defined, use custom settings for the m5484FireEngine BSP.
+enabled-by: true
+links: []
+name: M5484FIREENGINE
+type: build
diff --git a/spec/build/bsps/m68k/genmcf548x/start.yml b/spec/build/bsps/m68k/genmcf548x/start.yml
new file mode 100644
index 0000000000..7176737200
--- /dev/null
+++ b/spec/build/bsps/m68k/genmcf548x/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/genmcf548x/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/grp.yml b/spec/build/bsps/m68k/grp.yml
new file mode 100644
index 0000000000..f04277d74c
--- /dev/null
+++ b/spec/build/bsps/m68k/grp.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/include/mvme16x_hw.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/include/bsp/linker-symbols.h
+- destination: ${BSP_INCLUDEDIR}/mcf5206
+ source:
+ - bsps/m68k/include/mcf5206/mcf5206e.h
+ - bsps/m68k/include/mcf5206/mcfmbus.h
+ - bsps/m68k/include/mcf5206/mcfuart.h
+- destination: ${BSP_INCLUDEDIR}/mcf5223x
+ source:
+ - bsps/m68k/include/mcf5223x/mcf5223x.h
+- destination: ${BSP_INCLUDEDIR}/mcf5225x
+ source:
+ - bsps/m68k/include/mcf5225x/fec.h
+ - bsps/m68k/include/mcf5225x/mcf5225x.h
+- destination: ${BSP_INCLUDEDIR}/mcf5235
+ source:
+ - bsps/m68k/include/mcf5235/mcf5235.h
+- destination: ${BSP_INCLUDEDIR}/mcf5272
+ source:
+ - bsps/m68k/include/mcf5272/mcf5272.h
+- destination: ${BSP_INCLUDEDIR}/mcf5282
+ source:
+ - bsps/m68k/include/mcf5282/mcf5282.h
+- destination: ${BSP_INCLUDEDIR}/mcf532x
+ source:
+ - bsps/m68k/include/mcf532x/mcf532x.h
+- destination: ${BSP_INCLUDEDIR}/mcf548x
+ source:
+ - bsps/m68k/include/mcf548x/MCD_dma.h
+ - bsps/m68k/include/mcf548x/MCD_progCheck.h
+ - bsps/m68k/include/mcf548x/MCD_tasksInit.h
+ - bsps/m68k/include/mcf548x/mcdma_glue.h
+ - bsps/m68k/include/mcf548x/mcf548x.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/m68k/mcf5206elite/abi.yml b/spec/build/bsps/m68k/mcf5206elite/abi.yml
new file mode 100644
index 0000000000..703730cf3d
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5206elite/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=5206
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml b/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
new file mode 100644
index 0000000000..b00f11c217
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5206elite/bspmcf5206elite.yml
@@ -0,0 +1,71 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mcf5206elite
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mcf5206elite
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mcf5206elite/include/bsp.h
+ - bsps/m68k/mcf5206elite/include/ds1307.h
+ - bsps/m68k/mcf5206elite/include/i2c.h
+ - bsps/m68k/mcf5206elite/include/i2cdrv.h
+ - bsps/m68k/mcf5206elite/include/nvram.h
+ - bsps/m68k/mcf5206elite/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mcf5206elite/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mcf5206elite/start/gdbinit
+ - bsps/m68k/mcf5206elite/start/linkcmds
+ - bsps/m68k/mcf5206elite/start/linkcmds.flash
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: tstmcf5206elite
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mcf5206elite/console/console.c
+- bsps/m68k/mcf5206elite/dev/ckinit.c
+- bsps/m68k/mcf5206elite/dev/mcfmbus.c
+- bsps/m68k/mcf5206elite/dev/mcfuart.c
+- bsps/m68k/mcf5206elite/dev/timer.c
+- bsps/m68k/mcf5206elite/dev/timerisr.S
+- bsps/m68k/mcf5206elite/i2c/i2c.c
+- bsps/m68k/mcf5206elite/i2c/i2cdrv.c
+- bsps/m68k/mcf5206elite/nvram/nvram.c
+- bsps/m68k/mcf5206elite/rtc/ds1307.c
+- bsps/m68k/mcf5206elite/rtc/todcfg.c
+- bsps/m68k/mcf5206elite/start/init5206e.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mcf5206elite/start.yml b/spec/build/bsps/m68k/mcf5206elite/start.yml
new file mode 100644
index 0000000000..624d89a612
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5206elite/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/mcf5206elite/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/mcf5206elite/tstmcf5206elite.yml b/spec/build/bsps/m68k/mcf5206elite/tstmcf5206elite.yml
new file mode 100644
index 0000000000..02faf0a666
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5206elite/tstmcf5206elite.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ dl05: exclude
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/m68k/mcf52235/abi.yml b/spec/build/bsps/m68k/mcf52235/abi.yml
new file mode 100644
index 0000000000..643eaa7548
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf52235/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=52235
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml b/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
new file mode 100644
index 0000000000..56e342023c
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf52235/bspmcf52235.yml
@@ -0,0 +1,58 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mcf52235
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mcf52235
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mcf52235/include/bsp.h
+ - bsps/m68k/mcf52235/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mcf52235/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mcf52235/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: tstmcf52235
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mcf52235/btimer/btimer.c
+- bsps/m68k/mcf52235/clock/clock.c
+- bsps/m68k/mcf52235/console/console.c
+- bsps/m68k/mcf52235/console/debugio.c
+- bsps/m68k/mcf52235/start/bspgetcpuclockspeed.c
+- bsps/m68k/mcf52235/start/cfinit.c
+- bsps/m68k/mcf52235/start/init52235.c
+- bsps/m68k/shared/cache/cache-mcf5223x.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mcf52235/start.yml b/spec/build/bsps/m68k/mcf52235/start.yml
new file mode 100644
index 0000000000..16383bedde
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf52235/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/mcf52235/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/mcf52235/tstmcf52235.yml b/spec/build/bsps/m68k/mcf52235/tstmcf52235.yml
new file mode 100644
index 0000000000..f1b5135b3c
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf52235/tstmcf52235.yml
@@ -0,0 +1,34 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ block08: exclude
+ capture: exclude
+ cdtest: exclude
+ fileio: exclude
+ fsdosfsformat01: exclude
+ ftp01: exclude
+ iostream: exclude
+ loopback: exclude
+ mghttpd01: exclude
+ monitor02: exclude
+ paranoia: exclude
+ pppd: exclude
+ sp16: exclude
+ sptimecounter02: exclude
+ sptimecounter03: exclude
+ syscall01: exclude
+ tmcontext01: exclude
+ tmfine01: exclude
+ top: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/m68k/mcf5225x/abi.yml b/spec/build/bsps/m68k/mcf5225x/abi.yml
new file mode 100644
index 0000000000..643eaa7548
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5225x/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=52235
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml b/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
new file mode 100644
index 0000000000..81591fa4e0
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5225x/bspmcf5225x.yml
@@ -0,0 +1,56 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mcf5225x
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mcf5225x
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mcf5225x/include/bsp.h
+ - bsps/m68k/mcf5225x/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mcf5225x/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mcf5225x/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: tstmcf5225x
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mcf5225x/btimer/btimer.c
+- bsps/m68k/mcf5225x/clock/clock.c
+- bsps/m68k/mcf5225x/console/console.c
+- bsps/m68k/mcf5225x/console/debugio.c
+- bsps/m68k/mcf5225x/start/bspstart.c
+- bsps/m68k/mcf5225x/start/init5225x.c
+- bsps/m68k/shared/cache/cache-mcf5225x.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mcf5225x/start.yml b/spec/build/bsps/m68k/mcf5225x/start.yml
new file mode 100644
index 0000000000..d43849e9c5
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5225x/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/mcf5225x/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/mcf5225x/tstmcf5225x.yml b/spec/build/bsps/m68k/mcf5225x/tstmcf5225x.yml
new file mode 100644
index 0000000000..aebe0bc83e
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5225x/tstmcf5225x.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ cdtest: exclude
+ fileio: exclude
+ iostream: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/m68k/mcf5235/abi.yml b/spec/build/bsps/m68k/mcf5235/abi.yml
new file mode 100644
index 0000000000..3e7f43f45f
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5235/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=5235
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
new file mode 100644
index 0000000000..542a495929
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml
@@ -0,0 +1,60 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mcf5235
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mcf5235
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mcf5235/include/bsp.h
+ - bsps/m68k/mcf5235/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mcf5235/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mcf5235/start/linkcmds
+ - bsps/m68k/mcf5235/start/linkcmds
+ - bsps/m68k/mcf5235/start/linkcmdsflash
+ - bsps/m68k/mcf5235/start/linkcmdsram
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mcf5235/btimer/btimer.c
+- bsps/m68k/mcf5235/clock/clock.c
+- bsps/m68k/mcf5235/console/console.c
+- bsps/m68k/mcf5235/start/bspgetcpuclockspeed.c
+- bsps/m68k/mcf5235/start/bspstart.c
+- bsps/m68k/mcf5235/start/copyvectors.c
+- bsps/m68k/mcf5235/start/init5235.c
+- bsps/m68k/shared/cache/cache-mcf5235.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mcf5235/objnet.yml b/spec/build/bsps/m68k/mcf5235/objnet.yml
new file mode 100644
index 0000000000..48a3c73242
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5235/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/mcf5235/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/mcf5235/start.yml b/spec/build/bsps/m68k/mcf5235/start.yml
new file mode 100644
index 0000000000..e9bc319e6e
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5235/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/mcf5235/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/mcf5329/abi.yml b/spec/build/bsps/m68k/mcf5329/abi.yml
new file mode 100644
index 0000000000..163fedd212
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5329/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=5307
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml b/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
new file mode 100644
index 0000000000..e0def013f4
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5329/bspmcf5329.yml
@@ -0,0 +1,57 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mcf5329
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mcf5329
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mcf5329/include/bsp.h
+ - bsps/m68k/mcf5329/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mcf5329/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mcf5329/start/linkcmds
+ - bsps/m68k/mcf5329/start/linkcmdsflash
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mcf5329/btimer/btimer.c
+- bsps/m68k/mcf5329/clock/clock.c
+- bsps/m68k/mcf5329/console/console.c
+- bsps/m68k/mcf5329/start/bspstart.c
+- bsps/m68k/mcf5329/start/cfinit.c
+- bsps/m68k/mcf5329/start/init5329.c
+- bsps/m68k/shared/cache/cache-mcf532x.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mcf5329/objnet.yml b/spec/build/bsps/m68k/mcf5329/objnet.yml
new file mode 100644
index 0000000000..c5951112c5
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5329/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/mcf5329/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/mcf5329/start.yml b/spec/build/bsps/m68k/mcf5329/start.yml
new file mode 100644
index 0000000000..cdf3bc0e28
--- /dev/null
+++ b/spec/build/bsps/m68k/mcf5329/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/mcf5329/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/mrm332/abi.yml b/spec/build/bsps/m68k/mrm332/abi.yml
new file mode 100644
index 0000000000..0daf8ee06b
--- /dev/null
+++ b/spec/build/bsps/m68k/mrm332/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=cpu32
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mrm332/bspmrm332.yml b/spec/build/bsps/m68k/mrm332/bspmrm332.yml
new file mode 100644
index 0000000000..1162b6c8ff
--- /dev/null
+++ b/spec/build/bsps/m68k/mrm332/bspmrm332.yml
@@ -0,0 +1,59 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mrm332
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mrm332
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mrm332/include/bsp.h
+ - bsps/m68k/mrm332/include/mrm332.h
+ - bsps/m68k/mrm332/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mrm332/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mrm332/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: tstmrm332
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../optos
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mrm332/btimer/btimer.c
+- bsps/m68k/mrm332/clock/ckinit.c
+- bsps/m68k/mrm332/console/console.c
+- bsps/m68k/mrm332/console/sci.c
+- bsps/m68k/mrm332/start/bspstart.c
+- bsps/m68k/mrm332/start/spinit.c
+- bsps/m68k/mrm332/start/start_c.c
+- bsps/m68k/shared/cache/cache.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mrm332/start.yml b/spec/build/bsps/m68k/mrm332/start.yml
new file mode 100644
index 0000000000..a545905944
--- /dev/null
+++ b/spec/build/bsps/m68k/mrm332/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/mrm332/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/mrm332/tstmrm332.yml b/spec/build/bsps/m68k/mrm332/tstmrm332.yml
new file mode 100644
index 0000000000..5c045c1764
--- /dev/null
+++ b/spec/build/bsps/m68k/mrm332/tstmrm332.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ cdtest: exclude
+ dl05: exclude
+ dl10: exclude
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ sptls01: exclude
+ sptls02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/m68k/mvme147/abi.yml b/spec/build/bsps/m68k/mvme147/abi.yml
new file mode 100644
index 0000000000..9d29b297c5
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme147/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=68030
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mvme147/bspmvme147.yml b/spec/build/bsps/m68k/mvme147/bspmvme147.yml
new file mode 100644
index 0000000000..1c96cf548a
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme147/bspmvme147.yml
@@ -0,0 +1,55 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mvme147
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mvme147
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mvme147/include/bsp.h
+ - bsps/m68k/mvme147/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mvme147/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mvme147/start/linkcmds
+ - bsps/m68k/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mvme147/btimer/btimer.c
+- bsps/m68k/mvme147/btimer/timerisr.S
+- bsps/m68k/mvme147/clock/ckinit.c
+- bsps/m68k/mvme147/console/console.c
+- bsps/m68k/mvme147/start/bspclean.c
+- bsps/m68k/mvme147/start/bspstart.c
+- bsps/m68k/shared/cache/cache.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mvme147s/abi.yml b/spec/build/bsps/m68k/mvme147s/abi.yml
new file mode 100644
index 0000000000..9d29b297c5
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme147s/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=68030
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml b/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
new file mode 100644
index 0000000000..ee2f4cc64d
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme147s/bspmvme147s.yml
@@ -0,0 +1,57 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mvme147s
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mvme147s
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mvme147s/include/bsp.h
+ - bsps/m68k/mvme147s/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mvme147s/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mvme147s/start/linkcmds
+ - bsps/m68k/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objmpci
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mvme147/btimer/btimer.c
+- bsps/m68k/mvme147/btimer/timerisr.S
+- bsps/m68k/mvme147/clock/ckinit.c
+- bsps/m68k/mvme147/console/console.c
+- bsps/m68k/mvme147s/start/bspstart.c
+- bsps/m68k/shared/cache/cache.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mvme147s/objmpci.yml b/spec/build/bsps/m68k/mvme147s/objmpci.yml
new file mode 100644
index 0000000000..2d7b87cf88
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme147s/objmpci.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_MULTIPROCESSING
+includes: []
+install: []
+links: []
+source:
+- bsps/m68k/mvme147s/mpci/addrconv.c
+- bsps/m68k/mvme147s/mpci/getcfg.c
+- bsps/m68k/mvme147s/mpci/lock.c
+- bsps/m68k/mvme147s/mpci/mpisr.c
+type: build
diff --git a/spec/build/bsps/m68k/mvme162/abi.yml b/spec/build/bsps/m68k/mvme162/abi.yml
new file mode 100644
index 0000000000..87a7b8c43a
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=68040
+- -msoft-float
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mvme162/bspmvme162.yml b/spec/build/bsps/m68k/mvme162/bspmvme162.yml
new file mode 100644
index 0000000000..5d5f0d3911
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/bspmvme162.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mvme162
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mvme162
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstmvme162
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/m68k/mvme162/bspmvme162lx.yml b/spec/build/bsps/m68k/mvme162/bspmvme162lx.yml
new file mode 100644
index 0000000000..bcd810eb69
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/bspmvme162lx.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mvme162lx
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mvme162
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstmvme162lx
+- role: build-dependency
+ uid: ../../opto2
+source: []
+type: build
diff --git a/spec/build/bsps/m68k/mvme162/grp.yml b/spec/build/bsps/m68k/mvme162/grp.yml
new file mode 100644
index 0000000000..12b102d57f
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/grp.yml
@@ -0,0 +1,30 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: ../objfpsp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/m68k/mvme162/obj.yml b/spec/build/bsps/m68k/mvme162/obj.yml
new file mode 100644
index 0000000000..e009ed3bf4
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/obj.yml
@@ -0,0 +1,41 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mvme162/include/bsp.h
+ - bsps/m68k/mvme162/include/page_table.h
+ - bsps/m68k/mvme162/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mvme162/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mvme162/start/linkcmds
+ - bsps/m68k/shared/start/linkcmds.base
+links: []
+source:
+- bsps/m68k/mvme162/btimer/btimer.c
+- bsps/m68k/mvme162/btimer/timerisr.S
+- bsps/m68k/mvme162/clock/ckinit.c
+- bsps/m68k/mvme162/console/console.c
+- bsps/m68k/mvme162/rtc/tod.c
+- bsps/m68k/mvme162/start/bspclean.c
+- bsps/m68k/mvme162/start/bspstart.c
+- bsps/m68k/mvme162/start/page_table.c
+- bsps/m68k/shared/cache/cache.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mvme162/objnet.yml b/spec/build/bsps/m68k/mvme162/objnet.yml
new file mode 100644
index 0000000000..89344f51f6
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/mvme167/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/mvme162/tstmvme162.yml b/spec/build/bsps/m68k/mvme162/tstmvme162.yml
new file mode 100644
index 0000000000..153cfab0e3
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/tstmvme162.yml
@@ -0,0 +1,13 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/m68k/mvme162/tstmvme162lx.yml b/spec/build/bsps/m68k/mvme162/tstmvme162lx.yml
new file mode 100644
index 0000000000..153cfab0e3
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme162/tstmvme162lx.yml
@@ -0,0 +1,13 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/abi.yml b/spec/build/bsps/m68k/mvme167/abi.yml
new file mode 100644
index 0000000000..3bedb8a896
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=68040
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/bspmvme167.yml b/spec/build/bsps/m68k/mvme167/bspmvme167.yml
new file mode 100644
index 0000000000..fd12e9b659
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/bspmvme167.yml
@@ -0,0 +1,72 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: mvme167
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mvme167
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/mvme167/include/bsp.h
+ - bsps/m68k/mvme167/include/page_table.h
+ - bsps/m68k/mvme167/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/mvme167/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/mvme167/start/linkcmds
+ - bsps/m68k/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optconminor
+- role: build-dependency
+ uid: optintlvl
+- role: build-dependency
+ uid: optiomode
+- role: build-dependency
+ uid: optmvme167
+- role: build-dependency
+ uid: optprintkminor
+- role: build-dependency
+ uid: optuseterm
+- role: build-dependency
+ uid: ../objfpsp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/mvme167/btimer/btimer.c
+- bsps/m68k/mvme167/btimer/timerisr.S
+- bsps/m68k/mvme167/clock/ckinit.c
+- bsps/m68k/mvme167/console/console.c
+- bsps/m68k/mvme167/start/bspclean.c
+- bsps/m68k/mvme167/start/bspstart.c
+- bsps/m68k/mvme167/start/page_table.c
+- bsps/m68k/shared/cache/cache.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/objnet.yml b/spec/build/bsps/m68k/mvme167/objnet.yml
new file mode 100644
index 0000000000..89344f51f6
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/mvme167/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/optconminor.yml b/spec/build/bsps/m68k/mvme167/optconminor.yml
new file mode 100644
index 0000000000..f6694db348
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/optconminor.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Port to use for the RTEMS console. 0 - /dev/tty0, Serial Port 1/Console on the MVME712M. 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M. 2 - /dev/tty2, Serial Port 3 on the MVME712M. 3 - /dev/tty3, Serial Port 4 on the MVME712M.
+enabled-by: true
+links: []
+name: CONSOLE_MINOR
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/optintlvl.yml b/spec/build/bsps/m68k/mvme167/optintlvl.yml
new file mode 100644
index 0000000000..6b5005c11d
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/optintlvl.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Interrupt level for the CD2401(when CD2401_IO_MODE == 1).
+enabled-by: true
+links: []
+name: CD2401_INT_LEVEL
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/optiomode.yml b/spec/build/bsps/m68k/mvme167/optiomode.yml
new file mode 100644
index 0000000000..44b38da713
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/optiomode.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ 0 for polled I/O, 1 for interrupt-driven.
+enabled-by: true
+links: []
+name: CD2401_IO_MODE
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/optmvme167.yml b/spec/build/bsps/m68k/mvme167/optmvme167.yml
new file mode 100644
index 0000000000..b857d705bd
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/optmvme167.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value: true
+- define-condition: mvme167
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: |
+ Defines mvme167 in <bspopts.h>.
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/optprintkminor.yml b/spec/build/bsps/m68k/mvme167/optprintkminor.yml
new file mode 100644
index 0000000000..5976e1dbbb
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/optprintkminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ Port to use for printk debugging output. 0 - /dev/tty0, Serial Port 1/Console on the MVME712M. 1 - /dev/tty1, Serial Port 2/TTY01 on the MVME712M. 2 - /dev/tty2, Serial Port 3 on the MVME712M. 3 - /dev/tty3, Serial Port 4 on the MVME712M.
+enabled-by: true
+format: '{}'
+links: []
+name: PRINTK_MINOR
+type: build
diff --git a/spec/build/bsps/m68k/mvme167/optuseterm.yml b/spec/build/bsps/m68k/mvme167/optuseterm.yml
new file mode 100644
index 0000000000..585bd63329
--- /dev/null
+++ b/spec/build/bsps/m68k/mvme167/optuseterm.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ 1 for using termios based console.
+enabled-by: true
+links: []
+name: CD2401_USE_TERMIOS
+type: build
diff --git a/spec/build/bsps/m68k/objfpsp.yml b/spec/build/bsps/m68k/objfpsp.yml
new file mode 100644
index 0000000000..cf8ebfbcd7
--- /dev/null
+++ b/spec/build/bsps/m68k/objfpsp.yml
@@ -0,0 +1,57 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- m68k/gen68360_040
+- m68k/mvme167
+includes: []
+install: []
+links: []
+source:
+- bsps/m68k/shared/fpsp/bindec.S
+- bsps/m68k/shared/fpsp/binstr.S
+- bsps/m68k/shared/fpsp/bugfix.S
+- bsps/m68k/shared/fpsp/decbin.S
+- bsps/m68k/shared/fpsp/do_func.S
+- bsps/m68k/shared/fpsp/gen_except.S
+- bsps/m68k/shared/fpsp/get_op.S
+- bsps/m68k/shared/fpsp/kernel_ex.S
+- bsps/m68k/shared/fpsp/res_func.S
+- bsps/m68k/shared/fpsp/round.S
+- bsps/m68k/shared/fpsp/rtems_fpsp.c
+- bsps/m68k/shared/fpsp/rtems_skel.S
+- bsps/m68k/shared/fpsp/sacos.S
+- bsps/m68k/shared/fpsp/sasin.S
+- bsps/m68k/shared/fpsp/satanh.S
+- bsps/m68k/shared/fpsp/satan.S
+- bsps/m68k/shared/fpsp/scale.S
+- bsps/m68k/shared/fpsp/scosh.S
+- bsps/m68k/shared/fpsp/setox.S
+- bsps/m68k/shared/fpsp/sgetem.S
+- bsps/m68k/shared/fpsp/sint.S
+- bsps/m68k/shared/fpsp/slog2.S
+- bsps/m68k/shared/fpsp/slogn.S
+- bsps/m68k/shared/fpsp/smovecr.S
+- bsps/m68k/shared/fpsp/srem_mod.S
+- bsps/m68k/shared/fpsp/ssinh.S
+- bsps/m68k/shared/fpsp/ssin.S
+- bsps/m68k/shared/fpsp/stanh.S
+- bsps/m68k/shared/fpsp/stan.S
+- bsps/m68k/shared/fpsp/sto_res.S
+- bsps/m68k/shared/fpsp/stwotox.S
+- bsps/m68k/shared/fpsp/tbldo.S
+- bsps/m68k/shared/fpsp/util.S
+- bsps/m68k/shared/fpsp/x_bsun.S
+- bsps/m68k/shared/fpsp/x_fline.S
+- bsps/m68k/shared/fpsp/x_operr.S
+- bsps/m68k/shared/fpsp/x_ovfl.S
+- bsps/m68k/shared/fpsp/x_snan.S
+- bsps/m68k/shared/fpsp/x_store.S
+- bsps/m68k/shared/fpsp/x_unfl.S
+- bsps/m68k/shared/fpsp/x_unimp.S
+- bsps/m68k/shared/fpsp/x_unsupp.S
+type: build
diff --git a/spec/build/bsps/m68k/start.yml b/spec/build/bsps/m68k/start.yml
new file mode 100644
index 0000000000..0a5aa7cff5
--- /dev/null
+++ b/spec/build/bsps/m68k/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/m68k/uC5282/abi.yml b/spec/build/bsps/m68k/uC5282/abi.yml
new file mode 100644
index 0000000000..a2d11d2bf3
--- /dev/null
+++ b/spec/build/bsps/m68k/uC5282/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=5282
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/m68k/uC5282/bspuc5282.yml b/spec/build/bsps/m68k/uC5282/bspuc5282.yml
new file mode 100644
index 0000000000..310f7f336b
--- /dev/null
+++ b/spec/build/bsps/m68k/uC5282/bspuc5282.yml
@@ -0,0 +1,55 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: m68k
+bsp: uC5282
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: uC5282
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/m68k/uC5282/include/bsp.h
+ - bsps/m68k/uC5282/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/m68k/uC5282/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/m68k/uC5282/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/m68k/shared/cache/cache-mcf5282.c
+- bsps/m68k/shared/m68kidle.c
+- bsps/m68k/shared/memProbe.c
+- bsps/m68k/uC5282/btimer/btimer.c
+- bsps/m68k/uC5282/clock/clock.c
+- bsps/m68k/uC5282/console/console.c
+- bsps/m68k/uC5282/start/bspclean.c
+- bsps/m68k/uC5282/start/bspreset.c
+- bsps/m68k/uC5282/start/bspstart.c
+- bsps/m68k/uC5282/start/init5282.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/m68k/uC5282/objnet.yml b/spec/build/bsps/m68k/uC5282/objnet.yml
new file mode 100644
index 0000000000..86e65eeb48
--- /dev/null
+++ b/spec/build/bsps/m68k/uC5282/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/m68k/uC5282/net/network.c
+type: build
diff --git a/spec/build/bsps/m68k/uC5282/start.yml b/spec/build/bsps/m68k/uC5282/start.yml
new file mode 100644
index 0000000000..6dc9769b53
--- /dev/null
+++ b/spec/build/bsps/m68k/uC5282/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/m68k/uC5282/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/makebsp.yml b/spec/build/bsps/makebsp.yml
new file mode 100644
index 0000000000..9ea6f53516
--- /dev/null
+++ b/spec/build/bsps/makebsp.yml
@@ -0,0 +1,41 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ ## BSP configuration flags for BSP "${ARCH}/${BSP_NAME}"
+
+ ##
+ ## Does this BSP support multiprocessing ?
+ ##
+ HAS_MP = ${RTEMS_HAS_MULTIPROCESSING}
+
+ ##
+ ## Does this BSP support RTEMS's remote debugger ?
+ ##
+ HAS_RDBG = no
+
+ ##
+ ## Does this BSP support RTEMS's posix API ?
+ ##
+ HAS_POSIX_API = ${RTEMS_HAS_POSIX_API}
+
+ ##
+ ## Does this BSP support RTEMS's ITRON API ?
+ ##
+ HAS_ITRON_API = no
+
+ ##
+ ## Does this BSP support RTEMS's CXX API ?
+ ##
+ HAS_CPLUSPLUS = yes
+
+ ##
+ ## Does this BSP support RTEMS's networking ?
+ ##
+ HAS_NETWORKING = ${RTEMS_HAS_NETWORKING}
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${PREFIX}/${ARCH}-rtems${__RTEMS_MAJOR__}/${BSP_NAME}/make
+links: []
+target: bsp.cfg
+type: build
diff --git a/spec/build/bsps/makecustom.yml b/spec/build/bsps/makecustom.yml
new file mode 100644
index 0000000000..e04d4281c7
--- /dev/null
+++ b/spec/build/bsps/makecustom.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ include $$(RTEMS_ROOT)/make/custom/default.cfg
+ RTEMS_CPU = ${ARCH}
+ CPU_CFLAGS = ${ABI_FLAGS}
+ CFLAGS_OPTIMIZE_V = ${OPTIMIZATION_FLAGS}
+ LDFLAGS = ${LDFLAGS}
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${PREFIX}/make/custom
+links: []
+target: ${BSP_NAME}.cfg
+type: build
diff --git a/spec/build/bsps/makeinc.yml b/spec/build/bsps/makeinc.yml
new file mode 100644
index 0000000000..afe135049d
--- /dev/null
+++ b/spec/build/bsps/makeinc.yml
@@ -0,0 +1,65 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ #
+ # BSP specific settings. To be included in application Makefiles
+ #
+ # This support will be removed from RTEMS. Please consider other
+ # ways to build applications.
+ #
+
+ RTEMS_API = ${__RTEMS_MAJOR__}
+
+ RTEMS_CPU = ${ARCH}
+ RTEMS_BSP = ${BSP_NAME}
+
+ prefix = ${PREFIX}
+ exec_prefix = $${prefix}/${ARCH}-rtems${__RTEMS_MAJOR__}
+
+ CC_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-gcc
+ CXX_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-g++
+ AS_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-as
+ AR_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-ar
+ NM_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-nm
+ LD_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-ld
+ SIZE_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-size
+ OBJCOPY_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-objcopy
+
+ CC= $$(CC_FOR_TARGET)
+ CXX= $$(CXX_FOR_TARGET)
+ AS= $$(AS_FOR_TARGET)
+ LD= $$(LD_FOR_TARGET)
+ NM= $$(NM_FOR_TARGET)
+ AR= $$(AR_FOR_TARGET)
+ SIZE= $$(SIZE_FOR_TARGET)
+ OBJCOPY= $$(OBJCOPY_FOR_TARGET)
+
+ export CC
+ export CXX
+ export AS
+ export LD
+ export NM
+ export AR
+ export SIZE
+ export OBJCOPY
+
+ RTEMS_ROOT ?= $$(prefix)
+ PROJECT_ROOT = $$(RTEMS_ROOT)
+ RTEMS_CUSTOM = $$(RTEMS_ROOT)/make/custom/$$(RTEMS_BSP).cfg
+ RTEMS_SHARE = $$(RTEMS_ROOT)/share/rtems$$(RTEMS_API)
+
+ RTEMS_USE_OWN_PDIR = no
+ RTEMS_HAS_POSIX_API = ${RTEMS_HAS_POSIX_API}
+ RTEMS_HAS_ITRON_API = no
+ RTEMS_HAS_CPLUSPLUS = yes
+
+ export RTEMS_BSP
+ export RTEMS_CUSTOM
+ export PROJECT_ROOT
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${PREFIX}/${ARCH}-rtems${__RTEMS_MAJOR__}/${BSP_NAME}
+links: []
+target: Makefile.inc
+type: build
diff --git a/spec/build/bsps/maketarget.yml b/spec/build/bsps/maketarget.yml
new file mode 100644
index 0000000000..dd920dcd1f
--- /dev/null
+++ b/spec/build/bsps/maketarget.yml
@@ -0,0 +1,55 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ #
+ # Target specific settings.
+ #
+
+ CFLAGS = ${WARNING_FLAGS} ${CC_WARNING_FLAGS} ${OPTIMIZATION_FLAGS} ${ABI_FLAGS}
+ CPPFLAGS =
+ LDFLAGS =
+ LIBS =
+
+ RTEMS_API = ${__RTEMS_MAJOR__}
+ CC = ${ARCH}-rtems${__RTEMS_MAJOR__}-gcc --pipe
+ AS = ${ARCH}-rtems${__RTEMS_MAJOR__}-as
+ AR = ${ARCH}-rtems${__RTEMS_MAJOR__}-ar
+ NM = ${ARCH}-rtems${__RTEMS_MAJOR__}-nm
+ LD = ${ARCH}-rtems${__RTEMS_MAJOR__}-ld
+ SIZE = ${ARCH}-rtems${__RTEMS_MAJOR__}-size
+ STRIP = ${ARCH}-rtems${__RTEMS_MAJOR__}-strip
+ OBJCOPY = ${ARCH}-rtems${__RTEMS_MAJOR__}-objcopy
+ RANLIB = ${ARCH}-rtems${__RTEMS_MAJOR__}-ranlib
+
+ CXX = ${ARCH}-rtems${__RTEMS_MAJOR__}-g++
+
+ export CC
+ export AS
+ export LD
+ export NM
+ export AR
+ export SIZE
+ export OBJCOPY
+
+ export CXX
+
+ RTEMS_HAS_MULTIPROCESSING = ${RTEMS_HAS_MULTIPROCESSING}
+ RTEMS_HAS_POSIX_API = ${RTEMS_HAS_POSIX_API}
+ RTEMS_HAS_ITRON_API = no
+ RTEMS_HAS_NETWORKING = ${RTEMS_HAS_NETWORKING}
+ RTEMS_HAS_RDBG = no
+ RTEMS_HAS_CPLUSPLUS = yes
+ RTEMS_CPU = ${ARCH}
+
+ XCFLAGS=$$(CFLAGS_FOR_TARGET)
+
+ export RTEMS_BSP
+ export RTEMS_CUSTOM
+ export PROJECT_ROOT
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${PREFIX}/${ARCH}-rtems${__RTEMS_MAJOR__}/${BSP_NAME}/make
+links: []
+target: target.cfg
+type: build
diff --git a/spec/build/bsps/mips/csb350/abi.yml b/spec/build/bsps/mips/csb350/abi.yml
new file mode 100644
index 0000000000..049de557ad
--- /dev/null
+++ b/spec/build/bsps/mips/csb350/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mips32
+- -G0
+- -msoft-float
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/mips/csb350/bspcsb350.yml b/spec/build/bsps/mips/csb350/bspcsb350.yml
new file mode 100644
index 0000000000..3d29ba81d9
--- /dev/null
+++ b/spec/build/bsps/mips/csb350/bspcsb350.yml
@@ -0,0 +1,58 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: mips
+bsp: csb350
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: csb350
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/mips/csb350/include/bsp.h
+ - bsps/mips/csb350/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/mips/csb350/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/mips/csb350/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/mips/csb350/btimer/btimer.c
+- bsps/mips/csb350/clock/clockdrv.c
+- bsps/mips/csb350/console/console-io.c
+- bsps/mips/csb350/irq/vectorisrs.c
+- bsps/mips/csb350/start/bspreset.c
+- bsps/mips/csb350/start/bspstart.c
+- bsps/mips/shared/irq/installisrentries.c
+- bsps/mips/shared/irq/interruptmask.c
+- bsps/mips/shared/irq/irq.c
+- bsps/mips/shared/irq/isr_entries.S
+- bsps/mips/shared/irq/vectorexceptions.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/mips/csb350/objnet.yml b/spec/build/bsps/mips/csb350/objnet.yml
new file mode 100644
index 0000000000..6fc6c4e0fd
--- /dev/null
+++ b/spec/build/bsps/mips/csb350/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/mips/csb350/net/network.c
+type: build
diff --git a/spec/build/bsps/mips/csb350/start.yml b/spec/build/bsps/mips/csb350/start.yml
new file mode 100644
index 0000000000..5728c48d90
--- /dev/null
+++ b/spec/build/bsps/mips/csb350/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/mips/csb350/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/mips/grp.yml b/spec/build/bsps/mips/grp.yml
new file mode 100644
index 0000000000..359e9b74cc
--- /dev/null
+++ b/spec/build/bsps/mips/grp.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/mips/include/bsp/i8259.h
+ - bsps/mips/include/bsp/regs.h
+- destination: ${BSP_INCLUDEDIR}/libcpu
+ source:
+ - bsps/mips/include/libcpu/au1x00.h
+ - bsps/mips/include/libcpu/isr_entries.h
+ - bsps/mips/include/libcpu/rm5231.h
+ - bsps/mips/include/libcpu/tx3904.h
+ - bsps/mips/include/libcpu/tx4925.h
+ - bsps/mips/include/libcpu/tx4938.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/mips/hurricane/abi.yml b/spec/build/bsps/mips/hurricane/abi.yml
new file mode 100644
index 0000000000..79408e4eb3
--- /dev/null
+++ b/spec/build/bsps/mips/hurricane/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mips3
+- -G0
+- -EL
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/mips/hurricane/bsphurricane.yml b/spec/build/bsps/mips/hurricane/bsphurricane.yml
new file mode 100644
index 0000000000..9e934e3e34
--- /dev/null
+++ b/spec/build/bsps/mips/hurricane/bsphurricane.yml
@@ -0,0 +1,70 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: mips
+bsp: hurricane
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: hurricane
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/mips/hurricane/include/bsp.h
+ - bsps/mips/hurricane/include/tm27.h
+ - bsps/mips/hurricane/include/usc.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/mips/hurricane/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/mips/hurricane/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optrm52xx
+- role: build-dependency
+ uid: optusc320
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstnolibdl
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/mips/hurricane/clock/ckinit.c
+- bsps/mips/hurricane/console/console.c
+- bsps/mips/hurricane/irq/vectorisrs.c
+- bsps/mips/hurricane/start/bspstart.c
+- bsps/mips/hurricane/start/inittlb.c
+- bsps/mips/hurricane/start/usc.S
+- bsps/mips/shared/irq/exception.S
+- bsps/mips/shared/irq/installisrentries.c
+- bsps/mips/shared/irq/interruptmask.c
+- bsps/mips/shared/irq/irq.c
+- bsps/mips/shared/irq/isr_entries.S
+- bsps/mips/shared/irq/vectorexceptions.c
+- bsps/mips/shared/liblnk/lnklib.S
+- bsps/mips/shared/liblnk/pmon.S
+- bsps/mips/shared/start/idtmem.S
+- bsps/mips/shared/start/idttlb.S
+- bsps/mips/shared/timer/gettime.S
+- bsps/mips/shared/timer/timer.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/mips/hurricane/optrm52xx.yml b/spec/build/bsps/mips/hurricane/optrm52xx.yml
new file mode 100644
index 0000000000..1fc3d504e4
--- /dev/null
+++ b/spec/build/bsps/mips/hurricane/optrm52xx.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ This BSP has a RM52xx compatible CPU.
+enabled-by: true
+links: []
+name: BSP_HAS_RM52xx
+type: build
diff --git a/spec/build/bsps/mips/hurricane/optusc320.yml b/spec/build/bsps/mips/hurricane/optusc320.yml
new file mode 100644
index 0000000000..74ddd56d4f
--- /dev/null
+++ b/spec/build/bsps/mips/hurricane/optusc320.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ This BSP has a V3 USC320 system controller chip.
+enabled-by: true
+links: []
+name: BSP_HAS_USC320
+type: build
diff --git a/spec/build/bsps/mips/hurricane/start.yml b/spec/build/bsps/mips/hurricane/start.yml
new file mode 100644
index 0000000000..834ac8e1e3
--- /dev/null
+++ b/spec/build/bsps/mips/hurricane/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/mips/hurricane/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/mips/jmr3904/abi.yml b/spec/build/bsps/mips/jmr3904/abi.yml
new file mode 100644
index 0000000000..c46d4f8c3e
--- /dev/null
+++ b/spec/build/bsps/mips/jmr3904/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=r3900
+- -Wa,-xgot
+- -G0
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/mips/jmr3904/bspjmr3904.yml b/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
new file mode 100644
index 0000000000..ccb4eebe44
--- /dev/null
+++ b/spec/build/bsps/mips/jmr3904/bspjmr3904.yml
@@ -0,0 +1,57 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: mips
+bsp: jmr3904
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: jmr3904
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/mips/jmr3904/include/bsp.h
+ - bsps/mips/jmr3904/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/mips/jmr3904/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/mips/jmr3904/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: tstjmr3904
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/mips/jmr3904/btimer/btimer.c
+- bsps/mips/jmr3904/clock/clockdrv.c
+- bsps/mips/jmr3904/console/console-io.c
+- bsps/mips/jmr3904/irq/vectorisrs.c
+- bsps/mips/jmr3904/start/bspstart.c
+- bsps/mips/shared/irq/installisrentries.c
+- bsps/mips/shared/irq/interruptmask.c
+- bsps/mips/shared/irq/irq.c
+- bsps/mips/shared/irq/isr_entries.S
+- bsps/mips/shared/irq/vectorexceptions.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/mips/jmr3904/start.yml b/spec/build/bsps/mips/jmr3904/start.yml
new file mode 100644
index 0000000000..c0868a88e9
--- /dev/null
+++ b/spec/build/bsps/mips/jmr3904/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/mips/jmr3904/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/mips/jmr3904/tstjmr3904.yml b/spec/build/bsps/mips/jmr3904/tstjmr3904.yml
new file mode 100644
index 0000000000..9ae030d919
--- /dev/null
+++ b/spec/build/bsps/mips/jmr3904/tstjmr3904.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ spfatal26: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnointrcrit
+type: build
diff --git a/spec/build/bsps/mips/malta/abi.yml b/spec/build/bsps/mips/malta/abi.yml
new file mode 100644
index 0000000000..99038088b2
--- /dev/null
+++ b/spec/build/bsps/mips/malta/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=24kf1_1
+- -Wa,-xgot
+- -G0
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/mips/malta/bspmalta.yml b/spec/build/bsps/mips/malta/bspmalta.yml
new file mode 100644
index 0000000000..74462018dc
--- /dev/null
+++ b/spec/build/bsps/mips/malta/bspmalta.yml
@@ -0,0 +1,67 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: mips
+bsp: malta
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: malta
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/mips/malta/include/bsp.h
+ - bsps/mips/malta/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/mips/malta/include/bsp/irq.h
+ - bsps/mips/malta/include/bsp/pci.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/mips/malta/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto0
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/mips/malta/console/conscfg.c
+- bsps/mips/malta/console/printk_support.c
+- bsps/mips/malta/irq/interruptmask.c
+- bsps/mips/malta/irq/vectorisrs.c
+- bsps/mips/malta/pci/pci.c
+- bsps/mips/malta/start/bspreset.c
+- bsps/mips/malta/start/bspstart.c
+- bsps/mips/malta/start/inittlb.c
+- bsps/mips/malta/start/simple_access.c
+- bsps/mips/shared/clock/clockdrv.c
+- bsps/mips/shared/clock/mips_timer.S
+- bsps/mips/shared/irq/i8259.c
+- bsps/mips/shared/irq/installisrentries.c
+- bsps/mips/shared/irq/irq.c
+- bsps/mips/shared/irq/isr_entries.S
+- bsps/mips/shared/irq/vectorexceptions.c
+- bsps/mips/shared/start/idttlb.S
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/pci/pci_find_device.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/mips/malta/start.yml b/spec/build/bsps/mips/malta/start.yml
new file mode 100644
index 0000000000..02487ecb2e
--- /dev/null
+++ b/spec/build/bsps/mips/malta/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/mips/malta/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/mips/rbtx4925/abi.yml b/spec/build/bsps/mips/rbtx4925/abi.yml
new file mode 100644
index 0000000000..79408e4eb3
--- /dev/null
+++ b/spec/build/bsps/mips/rbtx4925/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mips3
+- -G0
+- -EL
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml b/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
new file mode 100644
index 0000000000..17af736a91
--- /dev/null
+++ b/spec/build/bsps/mips/rbtx4925/bsprbtx4925.yml
@@ -0,0 +1,66 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: mips
+bsp: rbtx4925
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: rbtx4925
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/mips/rbtx4925/include/bsp.h
+ - bsps/mips/rbtx4925/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/mips/rbtx4925/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/mips/rbtx4925/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: opttx49xx
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstnolibdl
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/mips/rbtx4925/clock/clockdrv.c
+- bsps/mips/rbtx4925/console/console-io.c
+- bsps/mips/rbtx4925/irq/vectorisrs.c
+- bsps/mips/rbtx4925/start/bspstart.c
+- bsps/mips/rbtx4925/start/inittlb.c
+- bsps/mips/shared/irq/exception.S
+- bsps/mips/shared/irq/installisrentries.c
+- bsps/mips/shared/irq/interruptmask_TX49.c
+- bsps/mips/shared/irq/irq.c
+- bsps/mips/shared/irq/isr_entries.S
+- bsps/mips/shared/irq/vectorexceptions.c
+- bsps/mips/shared/liblnk/lnklib.S
+- bsps/mips/shared/liblnk/pmon.S
+- bsps/mips/shared/start/idtmem.S
+- bsps/mips/shared/start/idttlb.S
+- bsps/mips/shared/timer/gettime.S
+- bsps/mips/shared/timer/timer.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/mips/rbtx4925/opttx49xx.yml b/spec/build/bsps/mips/rbtx4925/opttx49xx.yml
new file mode 100644
index 0000000000..a9e7f96fe2
--- /dev/null
+++ b/spec/build/bsps/mips/rbtx4925/opttx49xx.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ This BSP has a RM52xx compatible CPU.
+enabled-by: true
+links: []
+name: BSP_HAS_TX49xx
+type: build
diff --git a/spec/build/bsps/mips/rbtx4925/start.yml b/spec/build/bsps/mips/rbtx4925/start.yml
new file mode 100644
index 0000000000..13980cbbba
--- /dev/null
+++ b/spec/build/bsps/mips/rbtx4925/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/mips/rbtx4925/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/mips/rbtx4938/abi.yml b/spec/build/bsps/mips/rbtx4938/abi.yml
new file mode 100644
index 0000000000..79408e4eb3
--- /dev/null
+++ b/spec/build/bsps/mips/rbtx4938/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mips3
+- -G0
+- -EL
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml b/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
new file mode 100644
index 0000000000..4215d0f9cc
--- /dev/null
+++ b/spec/build/bsps/mips/rbtx4938/bsprbtx4938.yml
@@ -0,0 +1,64 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: mips
+bsp: rbtx4938
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: rbtx4938
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/mips/rbtx4938/include/bsp.h
+ - bsps/mips/rbtx4938/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/mips/rbtx4938/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/mips/rbtx4938/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstnolibdl
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/mips/rbtx4938/clock/clockdrv.c
+- bsps/mips/rbtx4938/console/console-io.c
+- bsps/mips/rbtx4938/irq/vectorisrs.c
+- bsps/mips/rbtx4938/start/bspstart.c
+- bsps/mips/rbtx4938/start/inittlb.c
+- bsps/mips/shared/irq/exception.S
+- bsps/mips/shared/irq/installisrentries.c
+- bsps/mips/shared/irq/interruptmask_TX49.c
+- bsps/mips/shared/irq/irq.c
+- bsps/mips/shared/irq/isr_entries.S
+- bsps/mips/shared/irq/vectorexceptions.c
+- bsps/mips/shared/liblnk/lnklib.S
+- bsps/mips/shared/liblnk/pmon.S
+- bsps/mips/shared/start/idtmem.S
+- bsps/mips/shared/start/idttlb.S
+- bsps/mips/shared/timer/gettime.S
+- bsps/mips/shared/timer/timer.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/mips/rbtx4938/start.yml b/spec/build/bsps/mips/rbtx4938/start.yml
new file mode 100644
index 0000000000..1f74c12595
--- /dev/null
+++ b/spec/build/bsps/mips/rbtx4938/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/mips/rbtx4938/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/moxie/moxiesim/abi.yml b/spec/build/bsps/moxie/moxiesim/abi.yml
new file mode 100644
index 0000000000..530e7a5d14
--- /dev/null
+++ b/spec/build/bsps/moxie/moxiesim/abi.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: []
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml b/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
new file mode 100644
index 0000000000..bf0388291f
--- /dev/null
+++ b/spec/build/bsps/moxie/moxiesim/bspmoxiesim.yml
@@ -0,0 +1,53 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: moxie
+bsp: moxiesim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: moxiesim
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/moxie/moxiesim/include/bsp.h
+ - bsps/moxie/moxiesim/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/moxie/moxiesim/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/moxie/moxiesim/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../optos
+- role: build-dependency
+ uid: ../../tstnolibdl
+- role: build-dependency
+ uid: ../../tstreqtick
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/moxie/moxiesim/console/console-io.c
+- bsps/moxie/moxiesim/console/syscalls.S
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/clock/clock-simidle.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/moxie/moxiesim/start.yml b/spec/build/bsps/moxie/moxiesim/start.yml
new file mode 100644
index 0000000000..d9d7418c34
--- /dev/null
+++ b/spec/build/bsps/moxie/moxiesim/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/moxie/moxiesim/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/nios2/nios2_iss/abi.yml b/spec/build/bsps/nios2/nios2_iss/abi.yml
new file mode 100644
index 0000000000..231cb54350
--- /dev/null
+++ b/spec/build/bsps/nios2/nios2_iss/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mno-hw-mul
+- -mno-hw-div
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml b/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
new file mode 100644
index 0000000000..c62f0d0b65
--- /dev/null
+++ b/spec/build/bsps/nios2/nios2_iss/bspnios2iss.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: nios2
+bsp: nios2_iss
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: nios2_iss
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/nios2/nios2_iss/include/bsp.h
+ - bsps/nios2/nios2_iss/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/nios2/nios2_iss/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/nios2/nios2_iss/start/linkcmds
+links:
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto0
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/nios2/nios2_iss/btimer/btimer.c
+- bsps/nios2/nios2_iss/clock/clock.c
+- bsps/nios2/nios2_iss/console/console.c
+- bsps/nios2/nios2_iss/start/bspstart.c
+- bsps/nios2/nios2_iss/start/setvec.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/nios2/nios2_iss/start.yml b/spec/build/bsps/nios2/nios2_iss/start.yml
new file mode 100644
index 0000000000..537aa67a88
--- /dev/null
+++ b/spec/build/bsps/nios2/nios2_iss/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/nios2/nios2_iss/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/obj.yml b/spec/build/bsps/obj.yml
new file mode 100644
index 0000000000..8809238057
--- /dev/null
+++ b/spec/build/bsps/obj.yml
@@ -0,0 +1,107 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/include/bsp/bootcard.h
+ - bsps/include/bsp/console-polled.h
+ - bsps/include/bsp/console-termios.h
+ - bsps/include/bsp/default-initial-extension.h
+ - bsps/include/bsp/fatal.h
+ - bsps/include/bsp/fdt.h
+ - bsps/include/bsp/gpio.h
+ - bsps/include/bsp/irq-default.h
+ - bsps/include/bsp/irq-generic.h
+ - bsps/include/bsp/irq-info.h
+ - bsps/include/bsp/stackalloc.h
+ - bsps/include/bsp/u-boot.h
+ - bsps/include/bsp/uart-output-char.h
+ - bsps/include/bsp/utility.h
+- destination: ${BSP_INCLUDEDIR}/libchip
+ source:
+ - bsps/include/libchip/am29lv160.h
+ - bsps/include/libchip/ata.h
+ - bsps/include/libchip/ata_internal.h
+ - bsps/include/libchip/disp_hcms29xx.h
+ - bsps/include/libchip/ds1375-rtc.h
+ - bsps/include/libchip/i2c-2b-eeprom.h
+ - bsps/include/libchip/i2c-ds1621.h
+ - bsps/include/libchip/i2c-sc620.h
+ - bsps/include/libchip/icm7170.h
+ - bsps/include/libchip/ide_ctrl.h
+ - bsps/include/libchip/ide_ctrl_cfg.h
+ - bsps/include/libchip/ide_ctrl_io.h
+ - bsps/include/libchip/m48t08.h
+ - bsps/include/libchip/mc146818a.h
+ - bsps/include/libchip/mc68681.h
+ - bsps/include/libchip/ns16550.h
+ - bsps/include/libchip/ns16550_p.h
+ - bsps/include/libchip/rtc.h
+ - bsps/include/libchip/serial.h
+ - bsps/include/libchip/sersupp.h
+ - bsps/include/libchip/spi-flash-m25p40.h
+ - bsps/include/libchip/spi-fram-fm25l256.h
+ - bsps/include/libchip/spi-memdrv.h
+ - bsps/include/libchip/spi-sd-card.h
+ - bsps/include/libchip/wd80x3.h
+ - bsps/include/libchip/z85c30.h
+- destination: ${BSP_INCLUDEDIR}/rtems/zilog
+ source:
+ - bsps/include/rtems/zilog/z8036.h
+ - bsps/include/rtems/zilog/z8530.h
+links:
+- role: build-dependency
+ uid: objmpci
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: objnetnosmp
+source:
+- bsps/shared/dev/display/disp_hcms29xx.c
+- bsps/shared/dev/display/font_hcms29xx.c
+- bsps/shared/dev/flash/am29lv160.c
+- bsps/shared/dev/i2c/i2c-2b-eeprom.c
+- bsps/shared/dev/i2c/i2c-ds1621.c
+- bsps/shared/dev/i2c/i2c-sc620.c
+- bsps/shared/dev/i2c/spi-flash-m25p40.c
+- bsps/shared/dev/i2c/spi-fram-fm25l256.c
+- bsps/shared/dev/i2c/spi-memdrv.c
+- bsps/shared/dev/i2c/spi-sd-card.c
+- bsps/shared/dev/ide/ata.c
+- bsps/shared/dev/ide/ata_util.c
+- bsps/shared/dev/ide/ide_controller.c
+- bsps/shared/dev/rtc/ds1375.c
+- bsps/shared/dev/rtc/icm7170.c
+- bsps/shared/dev/rtc/icm7170_reg2.c
+- bsps/shared/dev/rtc/icm7170_reg4.c
+- bsps/shared/dev/rtc/icm7170_reg8.c
+- bsps/shared/dev/rtc/icm7170_reg.c
+- bsps/shared/dev/rtc/m48t08.c
+- bsps/shared/dev/rtc/m48t08_reg2.c
+- bsps/shared/dev/rtc/m48t08_reg4.c
+- bsps/shared/dev/rtc/m48t08_reg8.c
+- bsps/shared/dev/rtc/m48t08_reg.c
+- bsps/shared/dev/rtc/mc146818a.c
+- bsps/shared/dev/rtc/mc146818a_ioreg.c
+- bsps/shared/dev/rtc/rtcprobe.c
+- bsps/shared/dev/serial/mc68681_baud.c
+- bsps/shared/dev/serial/mc68681.c
+- bsps/shared/dev/serial/mc68681_reg2.c
+- bsps/shared/dev/serial/mc68681_reg4.c
+- bsps/shared/dev/serial/mc68681_reg8.c
+- bsps/shared/dev/serial/mc68681_reg.c
+- bsps/shared/dev/serial/ns16550.c
+- bsps/shared/dev/serial/ns16550-context.c
+- bsps/shared/dev/serial/serprobe.c
+- bsps/shared/dev/serial/z85c30.c
+- bsps/shared/dev/serial/z85c30_reg.c
+- bsps/shared/start/bootcard.c
+- bsps/shared/rtems-version.c
+type: build
diff --git a/spec/build/bsps/objgrlib.yml b/spec/build/bsps/objgrlib.yml
new file mode 100644
index 0000000000..67a252f17a
--- /dev/null
+++ b/spec/build/bsps/objgrlib.yml
@@ -0,0 +1,142 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/grlib
+ source:
+ - bsps/include/grlib/ahbstat.h
+ - bsps/include/grlib/ambapp.h
+ - bsps/include/grlib/ambapp_bus.h
+ - bsps/include/grlib/ambapp_bus_grlib.h
+ - bsps/include/grlib/ambapp_ids.h
+ - bsps/include/grlib/apbuart.h
+ - bsps/include/grlib/apbuart_cons.h
+ - bsps/include/grlib/apbuart_termios.h
+ - bsps/include/grlib/b1553brm.h
+ - bsps/include/grlib/b1553rt.h
+ - bsps/include/grlib/bspcommon.h
+ - bsps/include/grlib/canmux.h
+ - bsps/include/grlib/cons.h
+ - bsps/include/grlib/debug_defs.h
+ - bsps/include/grlib/genirq.h
+ - bsps/include/grlib/gpiolib.h
+ - bsps/include/grlib/gptimer.h
+ - bsps/include/grlib/gr1553b.h
+ - bsps/include/grlib/gr1553bc.h
+ - bsps/include/grlib/gr1553bc_list.h
+ - bsps/include/grlib/gr1553bm.h
+ - bsps/include/grlib/gr1553rt.h
+ - bsps/include/grlib/gr_701.h
+ - bsps/include/grlib/gr_cpci_gr740.h
+ - bsps/include/grlib/gr_rasta_adcdac.h
+ - bsps/include/grlib/gr_rasta_io.h
+ - bsps/include/grlib/gr_rasta_spw_router.h
+ - bsps/include/grlib/gr_rasta_tmtc.h
+ - bsps/include/grlib/gr_tmtc_1553.h
+ - bsps/include/grlib/gradcdac.h
+ - bsps/include/grlib/grascs.h
+ - bsps/include/grlib/grcan.h
+ - bsps/include/grlib/grctm.h
+ - bsps/include/grlib/greth.h
+ - bsps/include/grlib/grgpio.h
+ - bsps/include/grlib/griommu.h
+ - bsps/include/grlib/grlib.h
+ - bsps/include/grlib/grlib_impl.h
+ - bsps/include/grlib/grpci.h
+ - bsps/include/grlib/grpci2.h
+ - bsps/include/grlib/grpci2dma.h
+ - bsps/include/grlib/grpwm.h
+ - bsps/include/grlib/grslink.h
+ - bsps/include/grlib/grspw.h
+ - bsps/include/grlib/grspw_pkt.h
+ - bsps/include/grlib/grspw_router.h
+ - bsps/include/grlib/grtc.h
+ - bsps/include/grlib/grtm.h
+ - bsps/include/grlib/i2cmst.h
+ - bsps/include/grlib/l2c.h
+ - bsps/include/grlib/l4stat.h
+ - bsps/include/grlib/mctrl.h
+ - bsps/include/grlib/memscrub.h
+ - bsps/include/grlib/network_interface_add.h
+ - bsps/include/grlib/occan.h
+ - bsps/include/grlib/pcif.h
+ - bsps/include/grlib/satcan.h
+ - bsps/include/grlib/spictrl.h
+ - bsps/include/grlib/spwcuc.h
+ - bsps/include/grlib/spwtdp.h
+ - bsps/include/grlib/tlib.h
+links:
+- role: build-dependency
+ uid: objgrlibnet
+- role: build-dependency
+ uid: objgrlibnosmp
+source:
+- bsps/shared/grlib/1553/b1553brm.c
+- bsps/shared/grlib/1553/b1553rt.c
+- bsps/shared/grlib/1553/gr1553b.c
+- bsps/shared/grlib/1553/gr1553bc.c
+- bsps/shared/grlib/1553/gr1553bm.c
+- bsps/shared/grlib/1553/gr1553rt.c
+- bsps/shared/grlib/amba/ahbstat.c
+- bsps/shared/grlib/amba/ambapp_alloc.c
+- bsps/shared/grlib/amba/ambapp.c
+- bsps/shared/grlib/amba/ambapp_count.c
+- bsps/shared/grlib/amba/ambapp_depth.c
+- bsps/shared/grlib/amba/ambapp_find_by_idx.c
+- bsps/shared/grlib/amba/ambapp_freq.c
+- bsps/shared/grlib/amba/ambapp_names.c
+- bsps/shared/grlib/amba/ambapp_old.c
+- bsps/shared/grlib/amba/ambapp_parent.c
+- bsps/shared/grlib/amba/ambapp_show.c
+- bsps/shared/grlib/analog/gradcdac.c
+- bsps/shared/grlib/ascs/grascs.c
+- bsps/shared/grlib/btimer/gptimer.c
+- bsps/shared/grlib/btimer/tlib.c
+- bsps/shared/grlib/btimer/tlib_ckinit.c
+- bsps/shared/grlib/can/canmux.c
+- bsps/shared/grlib/can/grcan.c
+- bsps/shared/grlib/can/occan.c
+- bsps/shared/grlib/can/satcan.c
+- bsps/shared/grlib/drvmgr/ambapp_bus.c
+- bsps/shared/grlib/drvmgr/ambapp_bus_grlib.c
+- bsps/shared/grlib/drvmgr/get_resarray_count.c
+- bsps/shared/grlib/gpio/gpiolib.c
+- bsps/shared/grlib/gpio/grgpio.c
+- bsps/shared/grlib/i2c/i2cmst.c
+- bsps/shared/grlib/iommu/griommu.c
+- bsps/shared/grlib/irq/genirq.c
+- bsps/shared/grlib/l2c/l2c.c
+- bsps/shared/grlib/mem/mctrl.c
+- bsps/shared/grlib/pci/gr_701.c
+- bsps/shared/grlib/pci/grpci2.c
+- bsps/shared/grlib/pci/grpci2dma.c
+- bsps/shared/grlib/pci/grpci.c
+- bsps/shared/grlib/pci/gr_rasta_adcdac.c
+- bsps/shared/grlib/pci/gr_rasta_io.c
+- bsps/shared/grlib/pci/gr_rasta_spw_router.c
+- bsps/shared/grlib/pci/gr_rasta_tmtc.c
+- bsps/shared/grlib/pci/gr_tmtc_1553.c
+- bsps/shared/grlib/pci/pcif.c
+- bsps/shared/grlib/pwm/grpwm.c
+- bsps/shared/grlib/scrub/memscrub.c
+- bsps/shared/grlib/slink/grslink.c
+- bsps/shared/grlib/spi/spictrl.c
+- bsps/shared/grlib/spw/grspw_pkt.c
+- bsps/shared/grlib/spw/grspw_router.c
+- bsps/shared/grlib/spw/spwtdp.c
+- bsps/shared/grlib/stat/l4stat.c
+- bsps/shared/grlib/time/grctm.c
+- bsps/shared/grlib/time/spwcuc.c
+- bsps/shared/grlib/tmtc/grtc.c
+- bsps/shared/grlib/tmtc/grtm.c
+- bsps/shared/grlib/uart/apbuart_cons.c
+- bsps/shared/grlib/uart/apbuart_polled.c
+- bsps/shared/grlib/uart/apbuart_termios.c
+- bsps/shared/grlib/uart/cons.c
+type: build
diff --git a/spec/build/bsps/objgrlibnet.yml b/spec/build/bsps/objgrlibnet.yml
new file mode 100644
index 0000000000..a8c109257c
--- /dev/null
+++ b/spec/build/bsps/objgrlibnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/shared/grlib/net/greth.c
+- bsps/shared/grlib/net/network_interface_add.c
+type: build
diff --git a/spec/build/bsps/objgrlibnosmp.yml b/spec/build/bsps/objgrlibnosmp.yml
new file mode 100644
index 0000000000..ad1b6262f6
--- /dev/null
+++ b/spec/build/bsps/objgrlibnosmp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- not: RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/shared/grlib/spw/grspw.c
+type: build
diff --git a/spec/build/bsps/objirq.yml b/spec/build/bsps/objirq.yml
new file mode 100644
index 0000000000..aa3da23aa7
--- /dev/null
+++ b/spec/build/bsps/objirq.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/shared/irq/irq-generic.c
+- bsps/shared/irq/irq-info.c
+- bsps/shared/irq/irq-legacy.c
+- bsps/shared/irq/irq-lock.c
+- bsps/shared/irq/irq-server.c
+- bsps/shared/irq/irq-shell.c
+type: build
diff --git a/spec/build/bsps/objirqdflt.yml b/spec/build/bsps/objirqdflt.yml
new file mode 100644
index 0000000000..56c818d870
--- /dev/null
+++ b/spec/build/bsps/objirqdflt.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: objirq
+source:
+- bsps/shared/irq/irq-default.c
+- bsps/shared/irq/irq-default-handler.c
+type: build
diff --git a/spec/build/bsps/objmpci.yml b/spec/build/bsps/objmpci.yml
new file mode 100644
index 0000000000..e7b0c88057
--- /dev/null
+++ b/spec/build/bsps/objmpci.yml
@@ -0,0 +1,32 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_MULTIPROCESSING
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/include/mpci.h
+ - bsps/include/shm_driver.h
+links: []
+source:
+- bsps/shared/shmdr/shmdr-addlq.c
+- bsps/shared/shmdr/shmdr-cnvpkt.c
+- bsps/shared/shmdr/shmdr-dump.c
+- bsps/shared/shmdr/shmdr-fatal.c
+- bsps/shared/shmdr/shmdr-getlq.c
+- bsps/shared/shmdr/shmdr-getpkt.c
+- bsps/shared/shmdr/shmdr-init.c
+- bsps/shared/shmdr/shmdr-initlq.c
+- bsps/shared/shmdr/shmdr-intr.c
+- bsps/shared/shmdr/shmdr-mpisr.c
+- bsps/shared/shmdr/shmdr-poll.c
+- bsps/shared/shmdr/shmdr-receive.c
+- bsps/shared/shmdr/shmdr-retpkt.c
+- bsps/shared/shmdr/shmdr-send.c
+type: build
diff --git a/spec/build/bsps/objnet.yml b/spec/build/bsps/objnet.yml
new file mode 100644
index 0000000000..fc002fce5a
--- /dev/null
+++ b/spec/build/bsps/objnet.yml
@@ -0,0 +1,34 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install:
+- destination: ${BSP_INCLUDEDIR}/libchip
+ source:
+ - bsps/include/libchip/cs8900.h
+ - bsps/include/libchip/i82586var.h
+ - bsps/include/libchip/if_dcreg.h
+ - bsps/include/libchip/if_fxpvar.h
+ - bsps/include/libchip/open_eth.h
+ - bsps/include/libchip/smc91111.h
+ - bsps/include/libchip/smc91111exp.h
+ - bsps/include/libchip/sonic.h
+links: []
+source:
+- bsps/shared/net/cs8900.c
+- bsps/shared/net/dec21140.c
+- bsps/shared/net/elnk.c
+- bsps/shared/net/i82586.c
+- bsps/shared/net/if_dc.c
+- bsps/shared/net/if_fxp.c
+- bsps/shared/net/open_eth.c
+- bsps/shared/net/smc91111.c
+- bsps/shared/net/sonic.c
+type: build
diff --git a/spec/build/bsps/objnetnosmp.yml b/spec/build/bsps/objnetnosmp.yml
new file mode 100644
index 0000000000..5a01e1b2bc
--- /dev/null
+++ b/spec/build/bsps/objnetnosmp.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- and:
+ - RTEMS_NETWORKING
+ - not: RTEMS_SMP
+includes:
+- cpukit/libnetworking
+install:
+- destination: ${BSP_INCLUDEDIR}/libchip
+ source:
+ - bsps/include/libchip/greth.h
+links: []
+source:
+- bsps/shared/net/greth2.c
+type: build
diff --git a/spec/build/bsps/optabi.yml b/spec/build/bsps/optabi.yml
new file mode 100644
index 0000000000..d7852a082c
--- /dev/null
+++ b/spec/build/bsps/optabi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-env: ABI_FLAGS
+- env-append: ASFLAGS
+- env-append: CFLAGS
+- env-append: CXXFLAGS
+- env-append: LDFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/optasflags.yml b/spec/build/bsps/optasflags.yml
new file mode 100644
index 0000000000..1f10274103
--- /dev/null
+++ b/spec/build/bsps/optasflags.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value:
+ - -DASM
+ - -g
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+name: ASFLAGS
+type: build
diff --git a/spec/build/bsps/optbsp.yml b/spec/build/bsps/optbsp.yml
new file mode 100644
index 0000000000..abe9fe840f
--- /dev/null
+++ b/spec/build/bsps/optbsp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value: ${BSP_BASE}
+- substitute: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+name: RTEMS_BSP
+type: build
diff --git a/spec/build/bsps/optcachedata.yml b/spec/build/bsps/optcachedata.yml
new file mode 100644
index 0000000000..6e48d171ff
--- /dev/null
+++ b/spec/build/bsps/optcachedata.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - .*qemu.*
+description: |
+ Enable data cache
+enabled-by: true
+links: []
+name: BSP_DATA_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/optcacheinst.yml b/spec/build/bsps/optcacheinst.yml
new file mode 100644
index 0000000000..035414bf0c
--- /dev/null
+++ b/spec/build/bsps/optcacheinst.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - .*qemu.*
+description: |
+ Enable instruction cache
+enabled-by: true
+links: []
+name: BSP_INSTRUCTION_CACHE_ENABLED
+type: build
diff --git a/spec/build/bsps/optclang.yml b/spec/build/bsps/optclang.yml
new file mode 100644
index 0000000000..14e13d32c4
--- /dev/null
+++ b/spec/build/bsps/optclang.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value: INPUT
+- env-assign: LINKCMDS_START_DIRECTIVE
+- set-value: ALIGN(8)
+- env-assign: LINKCMDS_ALIGN_DIRECTIVE
+build-type: option
+copyrights:
+- Copyright (C) 2020 Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
+default: null
+default-by-variant: []
+description: Provides clang support for linker command files.
+enabled-by:
+- clang
+links: []
+name: UNUSED
+type: build
diff --git a/spec/build/bsps/optclkbootcpu.yml b/spec/build/bsps/optclkbootcpu.yml
new file mode 100644
index 0000000000..d65cc2b67f
--- /dev/null
+++ b/spec/build/bsps/optclkbootcpu.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-assign: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - .*qemu.*
+description: |
+ Do the clock tick processing on the boot processor on behalf of all other
+ processors.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_ONLY_BOOT_PROCESSOR
+type: build
diff --git a/spec/build/bsps/optclkfastidle.yml b/spec/build/bsps/optclkfastidle.yml
new file mode 100644
index 0000000000..31fb840a9c
--- /dev/null
+++ b/spec/build/bsps/optclkfastidle.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - .*qemu.*
+description: |
+ Set a mode where the time runs as fast as possible when a clock ISR occurs
+ while the IDLE thread is executing; this can significantly reduce simulation
+ times
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/optconsolebaud.yml b/spec/build/bsps/optconsolebaud.yml
new file mode 100644
index 0000000000..3fe1eeec24
--- /dev/null
+++ b/spec/build/bsps/optconsolebaud.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant:
+- value: 9600
+ variants:
+ - m68k/m5484FireEngine
+ - powerpc/hsc_cm01
+- value: 19200
+ variants:
+ - m68k/COBRA5475
+description: |
+ Default baud for console and other serial devices.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_CONSOLE_BAUD
+type: build
diff --git a/spec/build/bsps/optconsoleirq.yml b/spec/build/bsps/optconsoleirq.yml
new file mode 100644
index 0000000000..f20a56be37
--- /dev/null
+++ b/spec/build/bsps/optconsoleirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Use the Termios interrupt mode in the console driver.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/optfatalverb.yml b/spec/build/bsps/optfatalverb.yml
new file mode 100644
index 0000000000..d5db6e6c21
--- /dev/null
+++ b/spec/build/bsps/optfatalverb.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ If defined to a non-zero value, prints the some information in case of a
+ fatal error.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_VERBOSE_FATAL_EXTENSION
+type: build
diff --git a/spec/build/bsps/optgcc.yml b/spec/build/bsps/optgcc.yml
new file mode 100644
index 0000000000..ee75b8397e
--- /dev/null
+++ b/spec/build/bsps/optgcc.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value: STARTUP
+- env-assign: LINKCMDS_START_DIRECTIVE
+- set-value: ALIGN_WITH_INPUT
+- env-assign: LINKCMDS_ALIGN_DIRECTIVE
+build-type: option
+copyrights:
+- Copyright (C) 2020 Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
+default: null
+default-by-variant: []
+description: Provides GNU ld support for linker command files.
+enabled-by:
+- gcc
+links: []
+name: UNUSED
+type: build
diff --git a/spec/build/bsps/optincludes.yml b/spec/build/bsps/optincludes.yml
new file mode 100644
index 0000000000..0b4a71031c
--- /dev/null
+++ b/spec/build/bsps/optincludes.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value: |
+ bsps/include bsps/${ARCH}/include bsps/${ARCH}/${BSP_FAMILY}/include
+- substitute: null
+- env-assign: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+name: BSP_INCLUDES
+type: build
diff --git a/spec/build/bsps/optldflags.yml b/spec/build/bsps/optldflags.yml
new file mode 100644
index 0000000000..d0e365f407
--- /dev/null
+++ b/spec/build/bsps/optldflags.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+- env-append: PKGCONFIG_LDFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Wl,--gc-sections
+default-by-variant: []
+description: |
+ Flags passed to the linker (GNU ld)
+enabled-by: true
+links: []
+name: LDFLAGS
+type: build
diff --git a/spec/build/bsps/optldflagsbsp.yml b/spec/build/bsps/optldflagsbsp.yml
new file mode 100644
index 0000000000..74f15bd559
--- /dev/null
+++ b/spec/build/bsps/optldflagsbsp.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-value:
+ - -L${TOP}/bsps/${ARCH}/shared/start
+ - -L${TOP}/bsps/${ARCH}/${BSP_FAMILY}/start
+- substitute: null
+- env-append: LDFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+name: LDFLAGS
+type: build
diff --git a/spec/build/bsps/optmake.yml b/spec/build/bsps/optmake.yml
new file mode 100644
index 0000000000..3ef1b515af
--- /dev/null
+++ b/spec/build/bsps/optmake.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- script: |
+ def yesno(conf, enable):
+ if enable in conf.env.ENABLE:
+ return "yes"
+ return "no"
+ conf.env["RTEMS_HAS_MULTIPROCESSING"] = yesno(conf, "RTEMS_MULTIPROCESSING")
+ conf.env["RTEMS_HAS_NETWORKING"] = yesno(conf, "RTEMS_NETWORKING")
+ conf.env["RTEMS_HAS_POSIX_API"] = yesno(conf, "RTEMS_POSIX_API")
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/optmakelegacy.yml b/spec/build/bsps/optmakelegacy.yml
new file mode 100644
index 0000000000..3810761d3d
--- /dev/null
+++ b/spec/build/bsps/optmakelegacy.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- env-enable: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Install the legacy application Makefile framework.
+enabled-by: true
+links: []
+name: INSTALL_LEGACY_MAKEFILES
+type: build
diff --git a/spec/build/bsps/opto0.yml b/spec/build/bsps/opto0.yml
new file mode 100644
index 0000000000..406286980f
--- /dev/null
+++ b/spec/build/bsps/opto0.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-assign: null
+- env-append: CFLAGS
+- env-append: CXXFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -O0
+- -g
+- -fdata-sections
+- -ffunction-sections
+default-by-variant: []
+description: |
+ Optimization flags passed to the C and C++ compiler
+enabled-by: true
+links: []
+name: OPTIMIZATION_FLAGS
+type: build
diff --git a/spec/build/bsps/opto1.yml b/spec/build/bsps/opto1.yml
new file mode 100644
index 0000000000..52d285c2ab
--- /dev/null
+++ b/spec/build/bsps/opto1.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-assign: null
+- env-append: CFLAGS
+- env-append: CXXFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -O1
+- -g
+- -fdata-sections
+- -ffunction-sections
+default-by-variant: []
+description: |
+ Optimization flags passed to the C and C++ compiler
+enabled-by: true
+links: []
+name: OPTIMIZATION_FLAGS
+type: build
diff --git a/spec/build/bsps/opto2.yml b/spec/build/bsps/opto2.yml
new file mode 100644
index 0000000000..071e5411d5
--- /dev/null
+++ b/spec/build/bsps/opto2.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-assign: null
+- env-append: CFLAGS
+- env-append: CXXFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -O2
+- -g
+- -fdata-sections
+- -ffunction-sections
+default-by-variant: []
+description: |
+ Optimization flags passed to the C and C++ compiler
+enabled-by: true
+links: []
+name: OPTIMIZATION_FLAGS
+type: build
diff --git a/spec/build/bsps/optog.yml b/spec/build/bsps/optog.yml
new file mode 100644
index 0000000000..d08bd7b2b2
--- /dev/null
+++ b/spec/build/bsps/optog.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-assign: null
+- env-append: CFLAGS
+- env-append: CXXFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Og
+- -g
+- -fdata-sections
+- -ffunction-sections
+default-by-variant: []
+description: |
+ Optimization flags passed to the C and C++ compiler
+enabled-by: true
+links: []
+name: OPTIMIZATION_FLAGS
+type: build
diff --git a/spec/build/bsps/optos.yml b/spec/build/bsps/optos.yml
new file mode 100644
index 0000000000..df9e0efd02
--- /dev/null
+++ b/spec/build/bsps/optos.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-assign: null
+- env-append: CFLAGS
+- env-append: CXXFLAGS
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Os
+- -g
+- -fdata-sections
+- -ffunction-sections
+default-by-variant: []
+description: |
+ Optimization flags passed to the C and C++ compiler
+enabled-by: true
+links: []
+name: OPTIMIZATION_FLAGS
+type: build
diff --git a/spec/build/bsps/optprintexcpt.yml b/spec/build/bsps/optprintexcpt.yml
new file mode 100644
index 0000000000..cf8ffc006c
--- /dev/null
+++ b/spec/build/bsps/optprintexcpt.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ If defined to a non-zero value, prints the exception context when an
+ unexpected exception occurs.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_PRINT_EXCEPTION_CONTEXT
+type: build
diff --git a/spec/build/bsps/optreset.yml b/spec/build/bsps/optreset.yml
new file mode 100644
index 0000000000..886a059392
--- /dev/null
+++ b/spec/build/bsps/optreset.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ If defined to a non-zero value, reset the board when the application exits.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_RESET_BOARD_AT_EXIT
+type: build
diff --git a/spec/build/bsps/optresetkey.yml b/spec/build/bsps/optresetkey.yml
new file mode 100644
index 0000000000..bcd7887962
--- /dev/null
+++ b/spec/build/bsps/optresetkey.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ If defined to a non-zero value, print a message and wait until pressed before
+ resetting board when application exits.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_PRESS_KEY_FOR_RESET
+type: build
diff --git a/spec/build/bsps/or1k/generic_or1k/abi.yml b/spec/build/bsps/or1k/generic_or1k/abi.yml
new file mode 100644
index 0000000000..48034df3b0
--- /dev/null
+++ b/spec/build/bsps/or1k/generic_or1k/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -O2
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml b/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
new file mode 100644
index 0000000000..321913e5ff
--- /dev/null
+++ b/spec/build/bsps/or1k/generic_or1k/bspgenericor1k.yml
@@ -0,0 +1,67 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: or1k
+bsp: generic_or1k
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: generic_or1k
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/or1k/generic_or1k/include/bsp.h
+ - bsps/or1k/generic_or1k/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/or1k/generic_or1k/include/bsp/generic_or1k.h
+ - bsps/or1k/generic_or1k/include/bsp/irq.h
+ - bsps/or1k/generic_or1k/include/bsp/uart.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/or1k/generic_or1k/start/linkcmds
+ - bsps/or1k/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto0
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optperiphclk
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../tstnoiconv
+- role: build-dependency
+ uid: ../../tstnointrcrit
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/or1k/generic_or1k/btimer/btimer.c
+- bsps/or1k/generic_or1k/clock/clockdrv.c
+- bsps/or1k/generic_or1k/console/console-config.c
+- bsps/or1k/generic_or1k/console/uart.c
+- bsps/or1k/generic_or1k/irq/irq.c
+- bsps/or1k/generic_or1k/start/bspstart.c
+- bsps/or1k/shared/cache/cache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/or1k/generic_or1k/optperiphclk.yml b/spec/build/bsps/or1k/generic_or1k/optperiphclk.yml
new file mode 100644
index 0000000000..ffe76b552b
--- /dev/null
+++ b/spec/build/bsps/or1k/generic_or1k/optperiphclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 50000000
+default-by-variant: []
+description: |
+ or1k PERIPHCLK clock frequency in Hz
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_GENERIC_OR1K_PERIPHCLK
+type: build
diff --git a/spec/build/bsps/or1k/generic_or1k/optresetvec.yml b/spec/build/bsps/or1k/generic_or1k/optresetvec.yml
new file mode 100644
index 0000000000..efd1ea2b2a
--- /dev/null
+++ b/spec/build/bsps/or1k/generic_or1k/optresetvec.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ reset vector address for BSP start
+enabled-by: true
+links: []
+name: BSP_START_RESET_VECTOR
+type: build
diff --git a/spec/build/bsps/or1k/generic_or1k/start.yml b/spec/build/bsps/or1k/generic_or1k/start.yml
new file mode 100644
index 0000000000..b07312a0c6
--- /dev/null
+++ b/spec/build/bsps/or1k/generic_or1k/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/or1k/generic_or1k/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/or1k/grp.yml b/spec/build/bsps/or1k/grp.yml
new file mode 100644
index 0000000000..154f2cccc6
--- /dev/null
+++ b/spec/build/bsps/or1k/grp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/or1k/include/bsp/linker-symbols.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/pkgconfig.yml b/spec/build/bsps/pkgconfig.yml
new file mode 100644
index 0000000000..6240ce7ab0
--- /dev/null
+++ b/spec/build/bsps/pkgconfig.yml
@@ -0,0 +1,34 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ #
+ # pkg-config support file for RTEMS BSP ${ARCH}/${BSP_NAME}
+ #
+ # Warning: This stuff is experimental and may be changed at any time.
+ #
+
+ prefix=${PREFIX}
+ exec_prefix=$${prefix}/${ARCH}-rtems${__RTEMS_MAJOR__}
+ libdir=$${exec_prefix}/${BSP_NAME}/lib
+ includedir=$${libdir}/include
+
+ ABI_FLAGS=${ABI_FLAGS}
+ RTEMS_ARCH=${ARCH}
+ RTEMS_BSP=${BSP_NAME}
+ RTEMS_MAJOR=${__RTEMS_MAJOR__}
+ RTEMS_MINOR=${__RTEMS_MINOR__}
+ RTEMS_REVISION=${__RTEMS_REVISION__}
+
+ Name: ${ARCH}-rtems${__RTEMS_MAJOR__}-${BSP_NAME}
+ Version: ${RTEMS_VERSION}
+ Description: RTEMS BSP ${ARCH}/${BSP_NAME}
+ Cflags: $${ABI_FLAGS} -I$${includedir}
+ Ldflags: -L$${libdir} ${PKGCONFIG_LDFLAGS}
+ Libs: -L$${libdir} ${PKGCONFIG_LDFLAGS}
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${PREFIX}/lib/pkgconfig
+links: []
+target: ${ARCH}-rtems${__RTEMS_MAJOR__}-${BSP_NAME}.pc
+type: build
diff --git a/spec/build/bsps/powerpc/beatnik/abi.yml b/spec/build/bsps/powerpc/beatnik/abi.yml
new file mode 100644
index 0000000000..2413eebb8f
--- /dev/null
+++ b/spec/build/bsps/powerpc/beatnik/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -D__ppc_generic
+- -mcpu=7400
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
new file mode 100644
index 0000000000..d83ab54f7f
--- /dev/null
+++ b/spec/build/bsps/powerpc/beatnik/bspbeatnik.yml
@@ -0,0 +1,107 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: beatnik
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: beatnik
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/beatnik/include/bsp.h
+ - bsps/powerpc/beatnik/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/beatnik/include/bsp/VMEConfig.h
+ - bsps/powerpc/beatnik/include/bsp/bsp_bsdnet_attach.h
+ - bsps/powerpc/beatnik/include/bsp/early_enet_link_status.h
+ - bsps/powerpc/beatnik/include/bsp/gt_timer.h
+ - bsps/powerpc/beatnik/include/bsp/gti2c_busdrv.h
+ - bsps/powerpc/beatnik/include/bsp/gti2creg.h
+ - bsps/powerpc/beatnik/include/bsp/gtintrreg.h
+ - bsps/powerpc/beatnik/include/bsp/gtpcireg.h
+ - bsps/powerpc/beatnik/include/bsp/gtreg.h
+ - bsps/powerpc/beatnik/include/bsp/if_em_pub.h
+ - bsps/powerpc/beatnik/include/bsp/if_gfe_pub.h
+ - bsps/powerpc/beatnik/include/bsp/if_mve_pub.h
+ - bsps/powerpc/beatnik/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/beatnik/start/linkcmds
+ - bsps/powerpc/shared/start/linkcmds.share
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optsbrk
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../objvme
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../motld
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/beatnik/flash/flashcfg.c
+- bsps/powerpc/beatnik/irq/discovery_pic.c
+- bsps/powerpc/beatnik/irq/irq_init.c
+- bsps/powerpc/beatnik/marvell/discovery.c
+- bsps/powerpc/beatnik/marvell/gt_timer.c
+- bsps/powerpc/beatnik/marvell/gti2c.c
+- bsps/powerpc/beatnik/pci/gt_pci_init.c
+- bsps/powerpc/beatnik/pci/motload_fixup.c
+- bsps/powerpc/beatnik/pci/pci_io_remap.c
+- bsps/powerpc/beatnik/rtc/todcfg.c
+- bsps/powerpc/beatnik/start/bspclean.c
+- bsps/powerpc/beatnik/start/bspreset.c
+- bsps/powerpc/beatnik/start/bspstart.c
+- bsps/powerpc/beatnik/start/i2c_init.c
+- bsps/powerpc/shared/altivec/vec_sup.c
+- bsps/powerpc/shared/altivec/vec_sup_asm.S
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc-dec.c
+- bsps/powerpc/shared/clock/p_clock.c
+- bsps/powerpc/shared/console/console.c
+- bsps/powerpc/shared/console/uart.c
+- bsps/powerpc/shared/flash/flash.c
+- bsps/powerpc/shared/flash/intelFlash.c
+- bsps/powerpc/shared/irq/ppc-irq-legacy.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/pci/pci.c
+- bsps/powerpc/shared/pci/pcifinddevice.c
+- bsps/powerpc/shared/start/bspgetworkarea.c
+- bsps/powerpc/shared/start/pgtbl_activate.c
+- bsps/powerpc/shared/start/pgtbl_setup.c
+- bsps/powerpc/shared/start/probeMemEnd.c
+- bsps/powerpc/shared/start/sbrk.c
+- bsps/powerpc/shared/start/vpd.c
+- bsps/powerpc/shared/start/zerobss.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+type: build
diff --git a/spec/build/bsps/powerpc/beatnik/objnet.yml b/spec/build/bsps/powerpc/beatnik/objnet.yml
new file mode 100644
index 0000000000..8ee85f2df0
--- /dev/null
+++ b/spec/build/bsps/powerpc/beatnik/objnet.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/beatnik/net/if_em/if_em.c
+- bsps/powerpc/beatnik/net/if_em/if_em_hw.c
+- bsps/powerpc/beatnik/net/if_em/if_em_rtems.c
+- bsps/powerpc/beatnik/net/if_gfe/if_gfe.c
+- bsps/powerpc/beatnik/net/if_gfe/if_gfe_rtems.c
+- bsps/powerpc/beatnik/net/if_mve/mv643xx_eth.c
+- bsps/powerpc/beatnik/net/support/bsp_attach.c
+- bsps/powerpc/beatnik/net/support/early_link_status.c
+type: build
diff --git a/spec/build/bsps/powerpc/beatnik/optsbrk.yml b/spec/build/bsps/powerpc/beatnik/optsbrk.yml
new file mode 100644
index 0000000000..05a1acd75f
--- /dev/null
+++ b/spec/build/bsps/powerpc/beatnik/optsbrk.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined then the BSP may reduce the available memory size initially. This can be useful for debugging (reduce the core size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). Note that the policy can still be defined by the application (see sbrk.c, BSP_sbrk_policy). By undefining CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed and a little memory is saved.
+enabled-by: true
+links: []
+name: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
+type: build
diff --git a/spec/build/bsps/powerpc/crti.yml b/spec/build/bsps/powerpc/crti.yml
new file mode 100644
index 0000000000..01866225fa
--- /dev/null
+++ b/spec/build/bsps/powerpc/crti.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/shared/start/rtems_crti.S
+target: rtems_crti.o
+type: build
diff --git a/spec/build/bsps/powerpc/crtn.yml b/spec/build/bsps/powerpc/crtn.yml
new file mode 100644
index 0000000000..56669b9294
--- /dev/null
+++ b/spec/build/bsps/powerpc/crtn.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/shared/start/rtems_crtn.S
+target: rtems_crtn.o
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/abi.yml b/spec/build/bsps/powerpc/gen5200/abi.yml
new file mode 100644
index 0000000000..032924fbc9
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=603e
+- -mstrict-align
+- -meabi
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/bspicecube.yml b/spec/build/bsps/powerpc/gen5200/bspicecube.yml
new file mode 100644
index 0000000000..7f95524151
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/bspicecube.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: icecube
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen5200
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml b/spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml
new file mode 100644
index 0000000000..cb5aa0b048
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/bsppm520cr825.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: pm520_cr825
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen5200
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml b/spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml
new file mode 100644
index 0000000000..cc005c5782
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/bsppm520ze30.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: pm520_ze30
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen5200
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/grp.yml b/spec/build/bsps/powerpc/gen5200/grp.yml
new file mode 100644
index 0000000000..3132c60559
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/grp.yml
@@ -0,0 +1,64 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optbenchirq
+- role: build-dependency
+ uid: optenirqnest
+- role: build-dependency
+ uid: optgpiomsk
+- role: build-dependency
+ uid: optgpioval
+- role: build-dependency
+ uid: opticecub
+- role: build-dependency
+ uid: optpm520cr825
+- role: build-dependency
+ uid: optpm520ze30
+- role: build-dependency
+ uid: optprintkminor
+- role: build-dependency
+ uid: optpscgps
+- role: build-dependency
+ uid: optsinglechar
+- role: build-dependency
+ uid: optuartmsk
+- role: build-dependency
+ uid: optuartstermirq
+- role: build-dependency
+ uid: optuboot
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/gen5200/obj.yml b/spec/build/bsps/powerpc/gen5200/obj.yml
new file mode 100644
index 0000000000..2f83305cad
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/obj.yml
@@ -0,0 +1,117 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/gen5200/include/bsp.h
+ - bsps/powerpc/gen5200/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/gen5200/include/bsp/ata.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm_ops.h
+ - bsps/powerpc/gen5200/include/bsp/i2c.h
+ - bsps/powerpc/gen5200/include/bsp/i2cdrv.h
+ - bsps/powerpc/gen5200/include/bsp/irq.h
+ - bsps/powerpc/gen5200/include/bsp/mpc5200.h
+ - bsps/powerpc/gen5200/include/bsp/mscan-base.h
+ - bsps/powerpc/gen5200/include/bsp/mscan.h
+ - bsps/powerpc/gen5200/include/bsp/nvram.h
+ - bsps/powerpc/gen5200/include/bsp/slicetimer.h
+ - bsps/powerpc/gen5200/include/bsp/u-boot-config.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_api.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_glue.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/bestcomm_priv.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/dma_image.capi.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/dma_image.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm/${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/include/ppctypes.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm/${BSP_INCLUDEDIR}/mgt5200
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/include/mgt5200/mgt5200.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/include/mgt5200/sdma.h
+- destination: ${BSP_INCLUDEDIR}/bsp/bestcomm/task/api
+ source:
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/bestcomm_api_mem.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/bestcomm_cntrl.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/tasksetup_bdtable.h
+ - bsps/powerpc/gen5200/include/bsp/bestcomm/task_api/tasksetup_general.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/gen5200/start/linkcmds.gen5200_base
+ - bsps/powerpc/gen5200/start/linkcmds.icecube
+ - bsps/powerpc/gen5200/start/linkcmds.pm520_cr825
+ - bsps/powerpc/gen5200/start/linkcmds.pm520_ze30
+links: []
+source:
+- bsps/powerpc/gen5200/ata/ata-dma-pio-single.c
+- bsps/powerpc/gen5200/ata/ata-instance.c
+- bsps/powerpc/gen5200/ata/idecfg.c
+- bsps/powerpc/gen5200/ata/pcmcia_ide.c
+- bsps/powerpc/gen5200/bestcomm/bestcomm_api.c
+- bsps/powerpc/gen5200/bestcomm/bestcomm_glue.c
+- bsps/powerpc/gen5200/bestcomm/dma_image.c
+- bsps/powerpc/gen5200/bestcomm/dma_image.reloc.c
+- bsps/powerpc/gen5200/bestcomm/load_task.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_ata.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_bdtable.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_0.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_crc16_dp_1.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_fec_rx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_fec_tx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_0.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_1.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_2.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_3.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_0.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_dp_bd_1.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_rx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_gen_tx_bd.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_lpc.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_pci_rx.c
+- bsps/powerpc/gen5200/bestcomm/tasksetup_pci_tx.c
+- bsps/powerpc/gen5200/console/console.c
+- bsps/powerpc/gen5200/dev/mpc5200-ata.c
+- bsps/powerpc/gen5200/i2c/i2c.c
+- bsps/powerpc/gen5200/i2c/i2cdrv.c
+- bsps/powerpc/gen5200/i2c/mpc5200mbus.c
+- bsps/powerpc/gen5200/irq/irq.c
+- bsps/powerpc/gen5200/mscan/mscan-base.c
+- bsps/powerpc/gen5200/mscan/mscan.c
+- bsps/powerpc/gen5200/nvram/nvram.c
+- bsps/powerpc/gen5200/rtc/pcf8563.c
+- bsps/powerpc/gen5200/rtc/todcfg.c
+- bsps/powerpc/gen5200/slicetimer/slicetimer.c
+- bsps/powerpc/gen5200/start/bestcomm.c
+- bsps/powerpc/gen5200/start/bspreset.c
+- bsps/powerpc/gen5200/start/bspstart.c
+- bsps/powerpc/gen5200/start/cpuinit.c
+- bsps/powerpc/gen5200/start/uboot_support.c
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/start/bspidle.c
+- bsps/powerpc/shared/start/memcpy.c
+- bsps/powerpc/shared/start/showbats.c
+- bsps/powerpc/shared/u-boot/uboot_dump_bdinfo.c
+- bsps/powerpc/shared/u-boot/uboot_getenv.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/start/bsp-uboot-board-info.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/objnet.yml b/spec/build/bsps/powerpc/gen5200/objnet.yml
new file mode 100644
index 0000000000..31f2ceff57
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/gen5200/net/network.c
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optbenchirq.yml b/spec/build/bsps/powerpc/gen5200/optbenchirq.yml
new file mode 100644
index 0000000000..3ade789573
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optbenchirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If set to !0, enable code to benchmark IRQ processing.
+enabled-by: true
+links: []
+name: BENCHMARK_IRQ_PROCESSING
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optenirqnest.yml b/spec/build/bsps/powerpc/gen5200/optenirqnest.yml
new file mode 100644
index 0000000000..2dfcefb5ea
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optenirqnest.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/icecube
+description: |
+ If set to !0, allow nested IRQ processing.
+enabled-by: true
+links: []
+name: ALLOW_IRQ_NESTING
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml b/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml
new file mode 100644
index 0000000000..c39ec0ce43
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 856625015
+default-by-variant:
+- value: 58670855
+ variants:
+ - powerpc/pm520_ze30
+description: |
+ Defines the bits cleared in the MPC5200 GPIOPCR register during
+ initialization. Must match the hardware requirements. Must be consistent
+ with BSP_GPIOPCR_INITVAL. The bits are cleared via BSP_GPIOPCR_INITMASK and
+ then set via BSP_GPIOPCR_INITVAL.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_GPIOPCR_INITMASK
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optgpioval.yml b/spec/build/bsps/powerpc/gen5200/optgpioval.yml
new file mode 100644
index 0000000000..029df6a4f7
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optgpioval.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 17105988
+default-by-variant:
+- value: 22356228
+ variants:
+ - powerpc/pm520_ze30
+description: |
+ Defines the bits set in the MPC5200 GPIOPCR register during initialization.
+ Must match the hardware requirements. Must be consistent with
+ BSP_GPIOPCR_INITMASK. The bits are cleared via BSP_GPIOPCR_INITMASK and then
+ set via BSP_GPIOPCR_INITVAL.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_GPIOPCR_INITVAL
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/opticecub.yml b/spec/build/bsps/powerpc/gen5200/opticecub.yml
new file mode 100644
index 0000000000..c93eafa7b2
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/opticecub.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/icecube
+description: |
+ enable settings for IceCube
+enabled-by: true
+links: []
+name: MPC5200_BOARD_ICECUBE
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optpm520cr825.yml b/spec/build/bsps/powerpc/gen5200/optpm520cr825.yml
new file mode 100644
index 0000000000..72d96a0696
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optpm520cr825.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/pm520_cr825
+description: |
+ enable settings for PM520 CR825
+enabled-by: true
+links: []
+name: MPC5200_BOARD_PM520_CR825
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optpm520ze30.yml b/spec/build/bsps/powerpc/gen5200/optpm520ze30.yml
new file mode 100644
index 0000000000..8a285a99aa
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optpm520ze30.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/pm520_ze30
+description: |
+ enable settings for PM520 ZE30
+enabled-by: true
+links: []
+name: MPC5200_BOARD_PM520_ZE30
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optprintkminor.yml b/spec/build/bsps/powerpc/gen5200/optprintkminor.yml
new file mode 100644
index 0000000000..fd101467b9
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optprintkminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ console minor number used by printk()
+enabled-by: true
+format: '{}'
+links: []
+name: PRINTK_MINOR
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optpscgps.yml b/spec/build/bsps/powerpc/gen5200/optpscgps.yml
new file mode 100644
index 0000000000..1a80a6b34e
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optpscgps.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ PSC index for GPS module, if defined results in '/dev/gps'
+enabled-by: true
+format: '{}'
+links: []
+name: MPC5200_PSC_INDEX_FOR_GPS_MODULE
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optsinglechar.yml b/spec/build/bsps/powerpc/gen5200/optsinglechar.yml
new file mode 100644
index 0000000000..26f3e4b8a6
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optsinglechar.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable single character mode for the PSC console driver
+enabled-by: true
+links: []
+name: SINGLE_CHAR_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optuartmsk.yml b/spec/build/bsps/powerpc/gen5200/optuartmsk.yml
new file mode 100644
index 0000000000..2a211006e4
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optuartmsk.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 57
+ variants:
+ - powerpc/pm520_ze30
+- value: 7
+ variants:
+ - powerpc/pm520_cr825
+- value: 1
+ variants:
+ - powerpc/icecube
+description: |
+ bit mask to specify the UARTS (PSCs), which should be enabled on this board. Must match the hardware requirements. PSC1 corresponds to the LSB
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: BSP_UART_AVAIL_MASK
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optuartstermirq.yml b/spec/build/bsps/powerpc/gen5200/optuartstermirq.yml
new file mode 100644
index 0000000000..219d19a564
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optuartstermirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable interrupt support for the PSC console driver
+enabled-by: true
+links: []
+name: UARTS_USE_TERMIOS_INT
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/optuboot.yml b/spec/build/bsps/powerpc/gen5200/optuboot.yml
new file mode 100644
index 0000000000..19ed770a9f
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/optuboot.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/pm520.*
+- value: true
+ variants:
+ - powerpc/icecube
+description: |
+ enable U-Boot startup
+enabled-by: true
+links: []
+name: HAS_UBOOT
+type: build
diff --git a/spec/build/bsps/powerpc/gen5200/start.yml b/spec/build/bsps/powerpc/gen5200/start.yml
new file mode 100644
index 0000000000..22f4e14fb4
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen5200/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/gen5200/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/abi.yml b/spec/build/bsps/powerpc/gen83xx/abi.yml
new file mode 100644
index 0000000000..3451659154
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=603e
+- -meabi
+- -msdata=sysv
+- -fno-common
+- -mstrict-align
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/bspbruid.yml b/spec/build/bsps/powerpc/gen83xx/bspbruid.yml
new file mode 100644
index 0000000000..dec3e58c8d
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/bspbruid.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: br_uid
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen83xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/bsphsccm01.yml b/spec/build/bsps/powerpc/gen83xx/bsphsccm01.yml
new file mode 100644
index 0000000000..02dac5d72b
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/bsphsccm01.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: hsc_cm01
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen83xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/bspmpc8309som.yml b/spec/build/bsps/powerpc/gen83xx/bspmpc8309som.yml
new file mode 100644
index 0000000000..9fa34b4fad
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/bspmpc8309som.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc8309som
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen83xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/bspmpc8313erdb.yml b/spec/build/bsps/powerpc/gen83xx/bspmpc8313erdb.yml
new file mode 100644
index 0000000000..f748df9ef6
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/bspmpc8313erdb.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc8313erdb
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen83xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/bspmpc8349eamds.yml b/spec/build/bsps/powerpc/gen83xx/bspmpc8349eamds.yml
new file mode 100644
index 0000000000..d50f84cdb9
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/bspmpc8349eamds.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc8349eamds
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gen83xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/grp.yml b/spec/build/bsps/powerpc/gen83xx/grp.yml
new file mode 100644
index 0000000000..602c74524b
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/grp.yml
@@ -0,0 +1,66 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optbruid
+- role: build-dependency
+ uid: optchiptype
+- role: build-dependency
+ uid: opthsccm01
+- role: build-dependency
+ uid: optirqnest
+- role: build-dependency
+ uid: optmpc8309som
+- role: build-dependency
+ uid: optmpc8313erdb
+- role: build-dependency
+ uid: optmpc8349eamds
+- role: build-dependency
+ uid: optnandcs0
+- role: build-dependency
+ uid: optnet0phy
+- role: build-dependency
+ uid: optuart2
+- role: build-dependency
+ uid: optuartirq
+- role: build-dependency
+ uid: optuboot
+- role: build-dependency
+ uid: optulpi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/gen83xx/obj.yml b/spec/build/bsps/powerpc/gen83xx/obj.yml
new file mode 100644
index 0000000000..637058b976
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/obj.yml
@@ -0,0 +1,60 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/gen83xx/include/bsp.h
+ - bsps/powerpc/gen83xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/gen83xx/include/bsp/hwreg_vals.h
+ - bsps/powerpc/gen83xx/include/bsp/irq.h
+ - bsps/powerpc/gen83xx/include/bsp/tsec-config.h
+ - bsps/powerpc/gen83xx/include/bsp/u-boot-config.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/gen83xx/start/linkcmds.br_uid
+ - bsps/powerpc/gen83xx/start/linkcmds.hsc_cm01
+ - bsps/powerpc/gen83xx/start/linkcmds.mpc8309som
+ - bsps/powerpc/gen83xx/start/linkcmds.mpc8313erdb
+ - bsps/powerpc/gen83xx/start/linkcmds.mpc8349eamds
+ - bsps/powerpc/gen83xx/start/linkcmds.mpc83xx
+ - bsps/powerpc/shared/start/linkcmds.base
+links: []
+source:
+- bsps/powerpc/gen83xx/console/console-config.c
+- bsps/powerpc/gen83xx/dev/gtm.c
+- bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
+- bsps/powerpc/gen83xx/dev/mpc83xx_spidrv.c
+- bsps/powerpc/gen83xx/i2c/i2c_init.c
+- bsps/powerpc/gen83xx/irq/irq.c
+- bsps/powerpc/gen83xx/spi/spi_init.c
+- bsps/powerpc/gen83xx/start/bspreset.c
+- bsps/powerpc/gen83xx/start/bsprestart.c
+- bsps/powerpc/gen83xx/start/bspstart.c
+- bsps/powerpc/gen83xx/start/cpuinit.c
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/start/bspidle.c
+- bsps/powerpc/shared/start/tictac.c
+- bsps/powerpc/shared/u-boot/uboot_getenv.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bsp-uboot-board-info.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/objnet.yml b/spec/build/bsps/powerpc/gen83xx/objnet.yml
new file mode 100644
index 0000000000..0a750f77de
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/gen83xx/net/network.c
+- bsps/powerpc/shared/net/tsec.c
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optbruid.yml b/spec/build/bsps/powerpc/gen83xx/optbruid.yml
new file mode 100644
index 0000000000..e5732379ea
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optbruid.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/br_uid
+description: |
+ if defined, then use settings for the BR UID board
+enabled-by: true
+links: []
+name: MPC83XX_BOARD_BR_UID
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optchiptype.yml b/spec/build/bsps/powerpc/gen83xx/optchiptype.yml
new file mode 100644
index 0000000000..a46f38d4fd
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optchiptype.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 8313
+default-by-variant:
+- value: 8309
+ variants:
+ - powerpc/mpc8309som
+- value: 8309
+ variants:
+ - powerpc/br_uid
+- value: 8349
+ variants:
+ - powerpc/mpc8349eamds
+- value: 8349
+ variants:
+ - powerpc/hsc_cm01
+description: |
+ chip type of the MPC83XX family
+enabled-by: true
+format: '{}'
+links: []
+name: MPC83XX_CHIP_TYPE
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/opthsccm01.yml b/spec/build/bsps/powerpc/gen83xx/opthsccm01.yml
new file mode 100644
index 0000000000..d934919885
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/opthsccm01.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/hsc_cm01
+description: |
+ if defined, then use settings for the HSC_CM01 board
+enabled-by: true
+links: []
+name: MPC83XX_BOARD_HSC_CM01
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optirqnest.yml b/spec/build/bsps/powerpc/gen83xx/optirqnest.yml
new file mode 100644
index 0000000000..e24b81f9c6
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optirqnest.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/mpc8313erdb
+- value: false
+ variants:
+ - powerpc/br_uid
+description: |
+ enable interrupt nesting
+enabled-by: true
+links: []
+name: GEN83XX_ENABLE_INTERRUPT_NESTING
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optmpc8309som.yml b/spec/build/bsps/powerpc/gen83xx/optmpc8309som.yml
new file mode 100644
index 0000000000..6722fa2fb3
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optmpc8309som.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mpc8309som
+description: |
+ if defined, then use settings for the MPC8309SOM board
+enabled-by: true
+links: []
+name: MPC83XX_BOARD_MPC8309SOM
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optmpc8313erdb.yml b/spec/build/bsps/powerpc/gen83xx/optmpc8313erdb.yml
new file mode 100644
index 0000000000..f8a9e0b47e
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optmpc8313erdb.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mpc8313erdb
+description: |
+ if defined, then use settings for the MPC8313ERDB board
+enabled-by: true
+links: []
+name: MPC83XX_BOARD_MPC8313ERDB
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optmpc8349eamds.yml b/spec/build/bsps/powerpc/gen83xx/optmpc8349eamds.yml
new file mode 100644
index 0000000000..f6b766099d
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optmpc8349eamds.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mpc8349eamds
+description: |
+ if defined, then use settings for the MPC8349EAMDS board
+enabled-by: true
+links: []
+name: MPC83XX_BOARD_MPC8349EAMDS
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optnandcs0.yml b/spec/build/bsps/powerpc/gen83xx/optnandcs0.yml
new file mode 100644
index 0000000000..d41820ea43
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optnandcs0.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/br_uid
+description: |
+ indicates if the board has a NAND large page flash on chip select 0
+enabled-by: true
+links: []
+name: MPC83XX_HAS_NAND_LP_FLASH_ON_CS0
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optnet0phy.yml b/spec/build/bsps/powerpc/gen83xx/optnet0phy.yml
new file mode 100644
index 0000000000..70daf1fe3e
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optnet0phy.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 17
+ variants:
+ - powerpc/mpc8309som
+- value: -1
+ variants:
+ - powerpc/br_uid
+description: |
+ PHY address of network interface 0
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: MPC83XX_NETWORK_INTERFACE_0_PHY_ADDR
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optuart2.yml b/spec/build/bsps/powerpc/gen83xx/optuart2.yml
new file mode 100644
index 0000000000..c86b36f11b
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optuart2.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ if defined, enables UART2
+enabled-by: true
+links: []
+name: BSP_USE_UART2
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optuartirq.yml b/spec/build/bsps/powerpc/gen83xx/optuartirq.yml
new file mode 100644
index 0000000000..5a845aa5fe
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optuartirq.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/hsc_cm01
+description: |
+ enable usage of interrupts for the UART modules
+enabled-by: true
+links: []
+name: BSP_USE_UART_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optuboot.yml b/spec/build/bsps/powerpc/gen83xx/optuboot.yml
new file mode 100644
index 0000000000..6b1166553e
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optuboot.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mpc8309som
+- value: true
+ variants:
+ - powerpc/mpc8313erdb
+- value: true
+ variants:
+ - powerpc/mpc8349eamds
+description: |
+ if defined, enables U-Boot support
+enabled-by: true
+links: []
+name: HAS_UBOOT
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/optulpi.yml b/spec/build/bsps/powerpc/gen83xx/optulpi.yml
new file mode 100644
index 0000000000..fd9be9f12f
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/optulpi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/br_uid
+description: |
+ the board has an ULPI PHY connected to the USB EHCI controller
+enabled-by: true
+links: []
+name: BSP_USB_EHCI_MPC83XX_HAS_ULPI
+type: build
diff --git a/spec/build/bsps/powerpc/gen83xx/start.yml b/spec/build/bsps/powerpc/gen83xx/start.yml
new file mode 100644
index 0000000000..64de86b044
--- /dev/null
+++ b/spec/build/bsps/powerpc/gen83xx/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/gen83xx/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/grp.yml b/spec/build/bsps/powerpc/grp.yml
new file mode 100644
index 0000000000..d10b1c7bb5
--- /dev/null
+++ b/spec/build/bsps/powerpc/grp.yml
@@ -0,0 +1,91 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/include/ictrl.h
+ - bsps/powerpc/include/mpc5xx.h
+ - bsps/powerpc/include/mpc8260.h
+ - bsps/powerpc/include/mpc8xx.h
+ - bsps/powerpc/include/nvram.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/include/bsp/VME.h
+ - bsps/powerpc/include/bsp/VMEDMA.h
+ - bsps/powerpc/include/bsp/bspVmeDmaList.h
+ - bsps/powerpc/include/bsp/consoleIo.h
+ - bsps/powerpc/include/bsp/flashPgm.h
+ - bsps/powerpc/include/bsp/flashPgmPvt.h
+ - bsps/powerpc/include/bsp/irq_supp.h
+ - bsps/powerpc/include/bsp/linker-symbols.h
+ - bsps/powerpc/include/bsp/motorola.h
+ - bsps/powerpc/include/bsp/openpic.h
+ - bsps/powerpc/include/bsp/pci.h
+ - bsps/powerpc/include/bsp/pnp.h
+ - bsps/powerpc/include/bsp/residual.h
+ - bsps/powerpc/include/bsp/start.h
+ - bsps/powerpc/include/bsp/tictac.h
+ - bsps/powerpc/include/bsp/tsec.h
+ - bsps/powerpc/include/bsp/u-boot-board-info.h
+ - bsps/powerpc/include/bsp/uart.h
+ - bsps/powerpc/include/bsp/vectors.h
+ - bsps/powerpc/include/bsp/vmeTsi148.h
+ - bsps/powerpc/include/bsp/vmeTsi148DMA.h
+ - bsps/powerpc/include/bsp/vmeUniverse.h
+ - bsps/powerpc/include/bsp/vmeUniverseDMA.h
+ - bsps/powerpc/include/bsp/vme_am_defs.h
+ - bsps/powerpc/include/bsp/vpd.h
+- destination: ${BSP_INCLUDEDIR}/libcpu
+ source:
+ - bsps/powerpc/include/libcpu/bat.h
+ - bsps/powerpc/include/libcpu/byteorder.h
+ - bsps/powerpc/include/libcpu/c_clock.h
+ - bsps/powerpc/include/libcpu/cpuIdent.h
+ - bsps/powerpc/include/libcpu/e500_mmu.h
+ - bsps/powerpc/include/libcpu/io.h
+ - bsps/powerpc/include/libcpu/irq.h
+ - bsps/powerpc/include/libcpu/mmu.h
+ - bsps/powerpc/include/libcpu/pgtable.h
+ - bsps/powerpc/include/libcpu/powerpc-utility.h
+ - bsps/powerpc/include/libcpu/pte121.h
+ - bsps/powerpc/include/libcpu/raw_exception.h
+ - bsps/powerpc/include/libcpu/spr.h
+ - bsps/powerpc/include/libcpu/stackTrace.h
+ - bsps/powerpc/include/libcpu/vectors.h
+- destination: ${BSP_INCLUDEDIR}/mpc5xx
+ source:
+ - bsps/powerpc/include/mpc5xx/console.h
+- destination: ${BSP_INCLUDEDIR}/mpc8260
+ source:
+ - bsps/powerpc/include/mpc8260/console.h
+ - bsps/powerpc/include/mpc8260/cpm.h
+ - bsps/powerpc/include/mpc8260/mmu.h
+- destination: ${BSP_INCLUDEDIR}/mpc83xx
+ source:
+ - bsps/powerpc/include/mpc83xx/gtm.h
+ - bsps/powerpc/include/mpc83xx/mpc83xx.h
+ - bsps/powerpc/include/mpc83xx/mpc83xx_i2cdrv.h
+ - bsps/powerpc/include/mpc83xx/mpc83xx_spidrv.h
+- destination: ${BSP_INCLUDEDIR}/mpc8xx
+ source:
+ - bsps/powerpc/include/mpc8xx/console.h
+ - bsps/powerpc/include/mpc8xx/cpm.h
+ - bsps/powerpc/include/mpc8xx/mmu.h
+- destination: ${BSP_INCLUDEDIR}/ppc4xx
+ source:
+ - bsps/powerpc/include/ppc4xx/ppc405ex.h
+ - bsps/powerpc/include/ppc4xx/ppc405gp.h
+- destination: ${BSP_INCLUDEDIR}/rtems/powerpc
+ source:
+ - bsps/powerpc/include/rtems/powerpc/cache.h
+ - bsps/powerpc/include/rtems/powerpc/debugmod.h
+ - bsps/powerpc/include/rtems/powerpc/powerpc.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/haleakala/abi.yml b/spec/build/bsps/powerpc/haleakala/abi.yml
new file mode 100644
index 0000000000..1fc318b3cb
--- /dev/null
+++ b/spec/build/bsps/powerpc/haleakala/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dppc405
+- -mcpu=405
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
new file mode 100644
index 0000000000..8076f1f55f
--- /dev/null
+++ b/spec/build/bsps/powerpc/haleakala/bsphaleakala.yml
@@ -0,0 +1,70 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: haleakala
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: haleakala
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/haleakala/include/bsp.h
+ - bsps/powerpc/haleakala/include/mmu_405.h
+ - bsps/powerpc/haleakala/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/haleakala/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/haleakala/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto1
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optsprg
+- role: build-dependency
+ uid: optvecbase
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/haleakala/irq/irq.c
+- bsps/powerpc/haleakala/irq/irq_init.c
+- bsps/powerpc/haleakala/start/bspstart.c
+- bsps/powerpc/haleakala/start/mmu_405.c
+- bsps/powerpc/haleakala/start/mmu_405asm.S
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc403.c
+- bsps/powerpc/shared/console/console.c
+- bsps/powerpc/shared/console/uart.c
+- bsps/powerpc/shared/irq/ppc-irq-legacy.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/haleakala/objnet.yml b/spec/build/bsps/powerpc/haleakala/objnet.yml
new file mode 100644
index 0000000000..c308d98009
--- /dev/null
+++ b/spec/build/bsps/powerpc/haleakala/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/haleakala/net/network.c
+type: build
diff --git a/spec/build/bsps/powerpc/haleakala/optsprg.yml b/spec/build/bsps/powerpc/haleakala/optsprg.yml
new file mode 100644
index 0000000000..1e1a112f43
--- /dev/null
+++ b/spec/build/bsps/powerpc/haleakala/optsprg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, then the PowerPC specific code in RTEMS will use some of the special purpose registers to slightly optimize interrupt response time. The use of these registers can conflict with other tools like debuggers.
+enabled-by: true
+links: []
+name: PPC_USE_SPRG
+type: build
diff --git a/spec/build/bsps/powerpc/haleakala/optvecbase.yml b/spec/build/bsps/powerpc/haleakala/optvecbase.yml
new file mode 100644
index 0000000000..93812ff965
--- /dev/null
+++ b/spec/build/bsps/powerpc/haleakala/optvecbase.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 256
+default-by-variant: []
+description: |
+ This defines the base address of the exception table. NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: PPC_VECTOR_FILE_BASE
+type: build
diff --git a/spec/build/bsps/powerpc/haleakala/start.yml b/spec/build/bsps/powerpc/haleakala/start.yml
new file mode 100644
index 0000000000..204dfd4180
--- /dev/null
+++ b/spec/build/bsps/powerpc/haleakala/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/haleakala/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/motld.yml b/spec/build/bsps/powerpc/motld.yml
new file mode 100644
index 0000000000..aa9b908403
--- /dev/null
+++ b/spec/build/bsps/powerpc/motld.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+do-build: |
+ preload_o = "bsps/powerpc/shared/start/preload.o"
+ self.asm(bld, bic, "bsps/powerpc/shared/start/preload.S", preload_o)
+ vectors_entry_o = "bsps/powerpc/shared/start/vectors_entry.o"
+ self.asm(
+ bld, bic, "bsps/powerpc/shared/start/vectors_entry.S", vectors_entry_o
+ )
+ target = "motld_start.o"
+ bld(
+ before=["cstlib"],
+ rule="${LD} -o ${TGT} -r ${SRC}",
+ source=[preload_o, vectors_entry_o, "start.o"],
+ target=target,
+ )
+ bld.install_files("${BSP_LIBDIR}", target)
+do-configure: null
+enabled-by: true
+includes: []
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/abi.yml b/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
new file mode 100644
index 0000000000..f3e4613658
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
@@ -0,0 +1,43 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=603e
+default-by-variant:
+- value:
+ - -mcpu=7400
+ - -mmultiple
+ - -mstring
+ - -mstrict-align
+ variants:
+ - powerpc/qemuprep-altivec
+- value:
+ - -mcpu=powerpc
+ - -mmultiple
+ - -mstring
+ - -mstrict-align
+ variants:
+ - powerpc/qemuprep
+- value:
+ - -mcpu=604
+ - -mmultiple
+ - -mstring
+ - -mstrict-align
+ - -meabi
+ variants:
+ - powerpc/mvme2307
+- value:
+ - -mcpu=750
+ variants:
+ - powerpc/mcp750
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/boot.yml b/spec/build/bsps/powerpc/motorola_powerpc/boot.yml
new file mode 100644
index 0000000000..3f7a9e3dc8
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/boot.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+do-build: |
+ def cc(self, bld, bic, flags, source):
+ root, ext = os.path.splitext(source)
+ target = root + ".o"
+ bld(
+ features="asm c",
+ includes=bic.includes,
+ rule="${CC} " + flags + " ${CPPFLAGS} ${DEFINES_ST:DEFINES} ${CPPPATH_ST:INCPATHS} -c ${SRC} -o ${TGT}",
+ source=source,
+ target=target,
+ )
+ return target
+ flags = "-D__BOOT__ -mrelocatable"
+ for f in bld.env.ABI_FLAGS:
+ if f != "-meabi":
+ flags += " " + f
+ asmflags = "-DASM " + flags
+ cflags = "-msoft-float -mstrict-align -fno-builtin -Wall -mmultiple -mstring -O2 -fomit-frame-pointer -ffixed-r13 -mno-sdata " + flags
+ source = []
+ source.append(cc(self, bld, bic, asmflags, "bsps/powerpc/motorola_powerpc/bootloader/head.S"))
+ source.append(cc(self, bld, bic, asmflags, "bsps/powerpc/motorola_powerpc/bootloader/exception.S"))
+ source.append(cc(self, bld, bic, asmflags, "bsps/powerpc/motorola_powerpc/bootloader/em86real.S"))
+ source.append(cc(self, bld, bic, cflags, "bsps/powerpc/motorola_powerpc/bootloader/misc.c"))
+ source.append(cc(self, bld, bic, cflags, "bsps/powerpc/motorola_powerpc/bootloader/pci.c"))
+ source.append(cc(self, bld, bic, cflags, "bsps/powerpc/motorola_powerpc/bootloader/zlib.c"))
+ source.append(cc(self, bld, bic, cflags, "bsps/powerpc/motorola_powerpc/bootloader/mm.c"))
+ source.append(cc(self, bld, bic, cflags, "bsps/powerpc/motorola_powerpc/bootloader/em86.c"))
+ source.append(cc(self, bld, bic, cflags, "bsps/powerpc/motorola_powerpc/console/polled_io.c"))
+ source.append(cc(self, bld, bic, cflags, "bsps/powerpc/motorola_powerpc/bootloader/lib.c"))
+ target = "bootloader.o"
+ bld(
+ rule="${LD} -o ${TGT} -r ${SRC}",
+ source=source,
+ target=target,
+ )
+ bld.install_files(
+ "${BSP_LIBDIR}",
+ [target, "bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds"],
+ )
+do-configure: null
+enabled-by: true
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/bspmcp750.yml b/spec/build/bsps/powerpc/motorola_powerpc/bspmcp750.yml
new file mode 100644
index 0000000000..274c418212
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/bspmcp750.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mcp750
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: motorola_powerpc
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/bspmtx603e.yml b/spec/build/bsps/powerpc/motorola_powerpc/bspmtx603e.yml
new file mode 100644
index 0000000000..5564ae1d9f
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/bspmtx603e.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mtx603e
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: motorola_powerpc
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/bspmvme2100.yml b/spec/build/bsps/powerpc/motorola_powerpc/bspmvme2100.yml
new file mode 100644
index 0000000000..46bdc8933f
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/bspmvme2100.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mvme2100
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: motorola_powerpc
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/bspmvme2307.yml b/spec/build/bsps/powerpc/motorola_powerpc/bspmvme2307.yml
new file mode 100644
index 0000000000..8abf0d8afa
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/bspmvme2307.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mvme2307
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: motorola_powerpc
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/bspqemu.yml b/spec/build/bsps/powerpc/motorola_powerpc/bspqemu.yml
new file mode 100644
index 0000000000..eacdc84750
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/bspqemu.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qemuprep-altivec
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: motorola_powerpc
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/bspqemualtivec.yml b/spec/build/bsps/powerpc/motorola_powerpc/bspqemualtivec.yml
new file mode 100644
index 0000000000..eacdc84750
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/bspqemualtivec.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qemuprep-altivec
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: motorola_powerpc
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/grp.yml b/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
new file mode 100644
index 0000000000..5b84b81fe5
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/grp.yml
@@ -0,0 +1,58 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objqemunet
+- role: build-dependency
+ uid: optmpc603e
+- role: build-dependency
+ uid: optmpc750
+- role: build-dependency
+ uid: optmpc8240
+- role: build-dependency
+ uid: optmvme2100
+- role: build-dependency
+ uid: optppcgeneric
+- role: build-dependency
+ uid: optqemu
+- role: build-dependency
+ uid: optsbrk
+- role: build-dependency
+ uid: boot
+- role: build-dependency
+ uid: qemufakerom
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../objvme
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../vecentry
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/obj.yml b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
new file mode 100644
index 0000000000..07ee6fa721
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/obj.yml
@@ -0,0 +1,61 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/motorola_powerpc/include/bsp.h
+ - bsps/powerpc/motorola_powerpc/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/motorola_powerpc/include/bsp/VMEConfig.h
+ - bsps/powerpc/motorola_powerpc/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/motorola_powerpc/start/linkcmds
+ - bsps/powerpc/shared/start/linkcmds.share
+links: []
+source:
+- bsps/powerpc/motorola_powerpc/console/polled_io.c
+- bsps/powerpc/motorola_powerpc/start/bspreset.c
+- bsps/powerpc/motorola_powerpc/start/bspstart.c
+- bsps/powerpc/motorola_powerpc/start/motorola.c
+- bsps/powerpc/motorola_powerpc/start/residual.c
+- bsps/powerpc/shared/altivec/vec_sup.c
+- bsps/powerpc/shared/altivec/vec_sup_asm.S
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc-dec.c
+- bsps/powerpc/shared/clock/p_clock.c
+- bsps/powerpc/shared/console/console.c
+- bsps/powerpc/shared/console/uart.c
+- bsps/powerpc/shared/irq/i8259.c
+- bsps/powerpc/shared/irq/irq_init.c
+- bsps/powerpc/shared/irq/openpic.c
+- bsps/powerpc/shared/irq/openpic_i8259_irq.c
+- bsps/powerpc/shared/irq/ppc-irq-legacy.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/pci/detect_raven_bridge.c
+- bsps/powerpc/shared/pci/generic_clear_hberrs.c
+- bsps/powerpc/shared/pci/pci.c
+- bsps/powerpc/shared/pci/pcifinddevice.c
+- bsps/powerpc/shared/rtc/todcfg.c
+- bsps/powerpc/shared/start/bspgetworkarea.c
+- bsps/powerpc/shared/start/pgtbl_activate.c
+- bsps/powerpc/shared/start/pgtbl_setup.c
+- bsps/powerpc/shared/start/ppc_idle.c
+- bsps/powerpc/shared/start/sbrk.c
+- bsps/powerpc/shared/start/showbats.c
+- bsps/powerpc/shared/start/zerobss.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/start/bspfatal-default.c
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/objqemunet.yml b/spec/build/bsps/powerpc/motorola_powerpc/objqemunet.yml
new file mode 100644
index 0000000000..f3cd85b6b9
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/objqemunet.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- and:
+ - qemuprep
+ - RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/i386/pc386/net/ne2000.c
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/optmpc603e.yml b/spec/build/bsps/powerpc/motorola_powerpc/optmpc603e.yml
new file mode 100644
index 0000000000..509f6c9c8a
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/optmpc603e.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mtx603e
+- value: true
+ variants:
+ - powerpc/mvme2100
+description: |
+ Define when ppc603e -- undefined for others
+enabled-by: true
+links: []
+name: mpc603e
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/optmpc750.yml b/spec/build/bsps/powerpc/motorola_powerpc/optmpc750.yml
new file mode 100644
index 0000000000..d132c17552
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/optmpc750.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mcp750
+description: |
+ Define when mpc750 -- undefined for others
+enabled-by: true
+links: []
+name: mpc750
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/optmpc8240.yml b/spec/build/bsps/powerpc/motorola_powerpc/optmpc8240.yml
new file mode 100644
index 0000000000..5cc6475589
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/optmpc8240.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mvme2100
+description: |
+ Defined for boards with MPC8240 -- undefined for others
+enabled-by: true
+links: []
+name: mpc8240
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/optmvme2100.yml b/spec/build/bsps/powerpc/motorola_powerpc/optmvme2100.yml
new file mode 100644
index 0000000000..2443f4bfe8
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/optmvme2100.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mvme2100
+description: |
+ Defined for MVME2100 -- undefined for others
+enabled-by: true
+links: []
+name: mvme2100
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/optppcgeneric.yml b/spec/build/bsps/powerpc/motorola_powerpc/optppcgeneric.yml
new file mode 100644
index 0000000000..275adbb877
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/optppcgeneric.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/qemuprep
+- value: true
+ variants:
+ - powerpc/qemuprep-altivec
+description: |
+ Define when generic PPC -- undefined for others
+enabled-by: true
+links: []
+name: __ppc_generic
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/optqemu.yml b/spec/build/bsps/powerpc/motorola_powerpc/optqemu.yml
new file mode 100644
index 0000000000..962584da83
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/optqemu.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/qemuprep.*
+description: |
+ Defined for QEMU BSP -- undefined for others
+enabled-by: true
+links: []
+name: qemu
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/optsbrk.yml b/spec/build/bsps/powerpc/motorola_powerpc/optsbrk.yml
new file mode 100644
index 0000000000..1018b3a4a1
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/optsbrk.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ None
+enabled-by: true
+links: []
+name: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
+type: build
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/qemufakerom.yml b/spec/build/bsps/powerpc/motorola_powerpc/qemufakerom.yml
new file mode 100644
index 0000000000..09e7f318c5
--- /dev/null
+++ b/spec/build/bsps/powerpc/motorola_powerpc/qemufakerom.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+do-build: |
+ def cc(self, bld, bic, flags, source):
+ root, ext = os.path.splitext(source)
+ target = root + ".o"
+ bld(
+ features="asm c",
+ includes=bic.includes,
+ rule="${CC} ${CPPFLAGS} " + flags + " ${DEFINES_ST:DEFINES} ${CPPPATH_ST:INCPATHS} -c ${SRC} -o ${TGT}",
+ source=source,
+ target=target,
+ )
+ return target
+ fakerom_o = cc(self, bld, bic, "-DASM", "bsps/powerpc/motorola_powerpc/bootloader/qemu_fakerom.S")
+ fakeres_o = cc(self, bld, bic, "", "bsps/powerpc/motorola_powerpc/bootloader/qemu_fakeres.c")
+ rule = "${LD} -o ${TGT} ${SRC} -nostdlib -Ttext 0xfff00000 --section-start=.romentry=0xfffffffc"
+ elf = "qemu_fakerom.elf"
+ bld(
+ rule=rule,
+ source=[fakerom_o, fakeres_o],
+ target=elf,
+ )
+ bin = "qemu_fakerom.bin"
+ bld(
+ rule=rule + " --oformat binary",
+ source=[fakerom_o, fakeres_o],
+ target=bin,
+ )
+ bld.install_files("${BSP_LIBDIR}", [fakerom_o, elf, bin])
+do-configure: null
+enabled-by: true
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/abi.yml b/spec/build/bsps/powerpc/mpc55xxevb/abi.yml
new file mode 100644
index 0000000000..bb706544ba
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/abi.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -D__ppc_generic
+- -mcpu=8540
+- -msoft-float
+- -meabi
+- -msdata=sysv
+- -fno-common
+- -mstrict-align
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/bspgwlcfm.yml b/spec/build/bsps/powerpc/mpc55xxevb/bspgwlcfm.yml
new file mode 100644
index 0000000000..ade116468e
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/bspgwlcfm.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: gwlcfm
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mpc55xxevb
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstgwlcfm
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5566evb.yml b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5566evb.yml
new file mode 100644
index 0000000000..7763c79f4e
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5566evb.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc5566evb
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mpc55xxevb
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstsmallmem
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5643levb.yml b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5643levb.yml
new file mode 100644
index 0000000000..a34997e6e4
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5643levb.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc5643l_evb
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mpc55xxevb
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstmpc5643levb
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5668g.yml b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5668g.yml
new file mode 100644
index 0000000000..7a838a44a5
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5668g.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc5668g
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mpc55xxevb
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstsmallmem
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5674fevb.yml b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5674fevb.yml
new file mode 100644
index 0000000000..281f160aef
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/bspmpc5674fevb.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc5674fevb
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mpc55xxevb
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstsmallmem
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/bspphycorempc5554.yml b/spec/build/bsps/powerpc/mpc55xxevb/bspphycorempc5554.yml
new file mode 100644
index 0000000000..af2069fa30
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/bspphycorempc5554.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: phycore_mpc5554
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mpc55xxevb
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstsmallmem
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/grp.yml b/spec/build/bsps/powerpc/mpc55xxevb/grp.yml
new file mode 100644
index 0000000000..d811ad6bbb
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/grp.yml
@@ -0,0 +1,112 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: ofmpllptmfd
+- role: build-dependency
+ uid: optbootflg
+- role: build-dependency
+ uid: optcachewritethru
+- role: build-dependency
+ uid: optchipfam
+- role: build-dependency
+ uid: optchiptype
+- role: build-dependency
+ uid: optclkemios
+- role: build-dependency
+ uid: optclkpit
+- role: build-dependency
+ uid: optconbaud
+- role: build-dependency
+ uid: optconminor
+- role: build-dependency
+ uid: optearlystksz
+- role: build-dependency
+ uid: opteepromname
+- role: build-dependency
+ uid: opteeprompath
+- role: build-dependency
+ uid: optemiosprescal
+- role: build-dependency
+ uid: optenstartpro
+- role: build-dependency
+ uid: optesciirq
+- role: build-dependency
+ uid: optexcbooke
+- role: build-dependency
+ uid: optexcfixdhdlr
+- role: build-dependency
+ uid: optfmpllesyncr1
+- role: build-dependency
+ uid: optfmpllprediv
+- role: build-dependency
+ uid: optgwlcfm
+- role: build-dependency
+ uid: optirqtblsz
+- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
+ uid: optmpc5566evb
+- role: build-dependency
+ uid: optmpc5674fevb
+- role: build-dependency
+ uid: optnullprot
+- role: build-dependency
+ uid: optphycorempc5554
+- role: build-dependency
+ uid: optrefclk
+- role: build-dependency
+ uid: optsmc91111
+- role: build-dependency
+ uid: optsmc9111enaddr
+- role: build-dependency
+ uid: optsmc9218ibige
+- role: build-dependency
+ uid: optsmc9218iled
+- role: build-dependency
+ uid: optsmc9218ipinirq
+- role: build-dependency
+ uid: optsmc9218ipinrst
+- role: build-dependency
+ uid: optsmc9218irxchn
+- role: build-dependency
+ uid: optsmc9218itxchn
+- role: build-dependency
+ uid: optsysclk
+- role: build-dependency
+ uid: optsysclkdiv
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/obj.yml b/spec/build/bsps/powerpc/mpc55xxevb/obj.yml
new file mode 100644
index 0000000000..d6af1201ab
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/obj.yml
@@ -0,0 +1,97 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/mpc55xxevb/include/bsp.h
+ - bsps/powerpc/mpc55xxevb/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/mpc55xxevb/include/bsp/console-esci.h
+ - bsps/powerpc/mpc55xxevb/include/bsp/console-generic.h
+ - bsps/powerpc/mpc55xxevb/include/bsp/console-linflex.h
+ - bsps/powerpc/mpc55xxevb/include/bsp/irq.h
+ - bsps/powerpc/mpc55xxevb/include/bsp/mpc55xx-config.h
+ - bsps/powerpc/mpc55xxevb/include/bsp/smsc9218i.h
+- destination: ${BSP_INCLUDEDIR}/mpc55xx
+ source:
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/dspi.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/edma.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/emios.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc551x.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc555x.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc556x.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc564xL.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc5668.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/fsl-mpc567x.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/mpc55xx.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/reg-defs.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/regs-edma.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/regs-mmu.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/regs.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/siu.h
+ - bsps/powerpc/mpc55xxevb/include/mpc55xx/watchdog.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/mpc55xxevb/start/linkcmds.gwlcfm
+ - bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5566evb
+ - bsps/powerpc/mpc55xxevb/start/linkcmds.mpc55xx
+ - bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5668g
+ - bsps/powerpc/mpc55xxevb/start/linkcmds.mpc5674fevb
+ - bsps/powerpc/mpc55xxevb/start/linkcmds.phycore_mpc5554
+ - bsps/powerpc/shared/start/linkcmds.base
+links: []
+source:
+- bsps/powerpc/gen83xx/dev/mpc83xx_i2cdrv.c
+- bsps/powerpc/mpc55xxevb/clock/clock-config.c
+- bsps/powerpc/mpc55xxevb/console/console-config.c
+- bsps/powerpc/mpc55xxevb/console/console-esci.c
+- bsps/powerpc/mpc55xxevb/console/console-generic.c
+- bsps/powerpc/mpc55xxevb/console/console-linflex.c
+- bsps/powerpc/mpc55xxevb/dev/dspi.c
+- bsps/powerpc/mpc55xxevb/i2c/i2c_init.c
+- bsps/powerpc/mpc55xxevb/start/bspgetworkarea.c
+- bsps/powerpc/mpc55xxevb/start/bspreset.c
+- bsps/powerpc/mpc55xxevb/start/bspstart.c
+- bsps/powerpc/mpc55xxevb/start/copy.S
+- bsps/powerpc/mpc55xxevb/start/edma.c
+- bsps/powerpc/mpc55xxevb/start/emios.c
+- bsps/powerpc/mpc55xxevb/start/exc-vector-base.S
+- bsps/powerpc/mpc55xxevb/start/flash_support.c
+- bsps/powerpc/mpc55xxevb/start/get-system-clock.c
+- bsps/powerpc/mpc55xxevb/start/idle-thread.c
+- bsps/powerpc/mpc55xxevb/start/irq.c
+- bsps/powerpc/mpc55xxevb/start/restart.c
+- bsps/powerpc/mpc55xxevb/start/sd-card-init.c
+- bsps/powerpc/mpc55xxevb/start/siu.c
+- bsps/powerpc/mpc55xxevb/start/start-cache.S
+- bsps/powerpc/mpc55xxevb/start/start-clock.c
+- bsps/powerpc/mpc55xxevb/start/start-config-clock.c
+- bsps/powerpc/mpc55xxevb/start/start-config-ebi-cs-cal.c
+- bsps/powerpc/mpc55xxevb/start/start-config-ebi-cs.c
+- bsps/powerpc/mpc55xxevb/start/start-config-ebi.c
+- bsps/powerpc/mpc55xxevb/start/start-config-mmu-early.c
+- bsps/powerpc/mpc55xxevb/start/start-config-mmu.c
+- bsps/powerpc/mpc55xxevb/start/start-config-siu-pcr.c
+- bsps/powerpc/mpc55xxevb/start/start-early.c
+- bsps/powerpc/mpc55xxevb/start/start-flash.S
+- bsps/powerpc/mpc55xxevb/start/start-prologue.c
+- bsps/powerpc/mpc55xxevb/start/start-watchdog.c
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c
+- bsps/powerpc/shared/start/bsp-start-zero.S
+- bsps/powerpc/shared/start/memcpy.c
+- bsps/powerpc/shared/start/tictac.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/objnet.yml b/spec/build/bsps/powerpc/mpc55xxevb/objnet.yml
new file mode 100644
index 0000000000..e11e7e1de6
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/mpc55xxevb/net/if_smc.c
+- bsps/powerpc/mpc55xxevb/net/smsc9218i.c
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/ofmpllptmfd.yml b/spec/build/bsps/powerpc/mpc55xxevb/ofmpllptmfd.yml
new file mode 100644
index 0000000000..8918318f51
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/ofmpllptmfd.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 99
+ variants:
+ - powerpc/gwlcfm
+- value: 111
+ variants:
+ - powerpc/mpc5668g.*
+- value: 66
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ Must be defined to be the PLL multiplication factor for clock generation
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_FMPLL_MFD
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optbootflg.yml b/spec/build/bsps/powerpc/mpc55xxevb/optbootflg.yml
new file mode 100644
index 0000000000..a0ae88fc13
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optbootflg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ if defined, builds in bootflags above the RCHW for setup in a debugger to avoid startup MMU setup
+enabled-by: true
+links: []
+name: MPC55XX_BOOTFLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optcachewritethru.yml b/spec/build/bsps/powerpc/mpc55xxevb/optcachewritethru.yml
new file mode 100644
index 0000000000..0311e556f4
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optcachewritethru.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ use write-through for data cache
+enabled-by: true
+links: []
+name: BSP_DATA_CACHE_USE_WRITE_THROUGH
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optchipfam.yml b/spec/build/bsps/powerpc/mpc55xxevb/optchipfam.yml
new file mode 100644
index 0000000000..38a1e3aaf4
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optchipfam.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: (MPC55XX_CHIP_TYPE / 10)
+default-by-variant: []
+description: |
+ specifies the chip family in use (e.g. 555 for MPC5554)
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_CHIP_FAMILY
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optchiptype.yml b/spec/build/bsps/powerpc/mpc55xxevb/optchiptype.yml
new file mode 100644
index 0000000000..ae9ed015e7
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optchiptype.yml
@@ -0,0 +1,31 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 5554
+default-by-variant:
+- value: 5516
+ variants:
+ - powerpc/gwlcfm
+- value: 5566
+ variants:
+ - powerpc/mpc5566.*
+- value: 5643
+ variants:
+ - powerpc/mpc5643l.*
+- value: 5668
+ variants:
+ - powerpc/mpc5668g.*
+- value: 5674
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ specifies the chip type in use (e.g. 5554 for MPC5554)
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_CHIP_TYPE
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optclkemios.yml b/spec/build/bsps/powerpc/mpc55xxevb/optclkemios.yml
new file mode 100644
index 0000000000..e60b33217e
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optclkemios.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 23
+default-by-variant:
+- value: null
+ variants:
+ - powerpc/mpc5643l.*
+- value: null
+ variants:
+ - powerpc/mpc5668g.*
+- value: 31
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ selects the eMIOS channel for the RTEMS system tick (the default is the last channel)
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_CLOCK_EMIOS_CHANNEL
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optclkpit.yml b/spec/build/bsps/powerpc/mpc55xxevb/optclkpit.yml
new file mode 100644
index 0000000000..3edac8e3f0
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optclkpit.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant:
+- value: 3
+ variants:
+ - powerpc/mpc5643l.*
+- value: 8
+ variants:
+ - powerpc/mpc5668g.*
+description: |
+ selects the PIT channel for the RTEMS system tick (the default is the last channel)
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_CLOCK_PIT_CHANNEL
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optconbaud.yml b/spec/build/bsps/powerpc/mpc55xxevb/optconbaud.yml
new file mode 100644
index 0000000000..bd26c32da6
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optconbaud.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 115200
+default-by-variant: []
+description: |
+ default console baud
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_DEFAULT_BAUD_RATE
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optconminor.yml b/spec/build/bsps/powerpc/mpc55xxevb/optconminor.yml
new file mode 100644
index 0000000000..99b03fbde1
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optconminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ determines which serial device will be registered as /dev/console
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_CONSOLE_MINOR
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optearlystksz.yml b/spec/build/bsps/powerpc/mpc55xxevb/optearlystksz.yml
new file mode 100644
index 0000000000..7c0c8a13a5
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optearlystksz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1024
+default-by-variant: []
+description: |
+ size of the early initialization stack in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_EARLY_STACK_SIZE
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/opteepromname.yml b/spec/build/bsps/powerpc/mpc55xxevb/opteepromname.yml
new file mode 100644
index 0000000000..0ad69134d4
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/opteepromname.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: eeprom
+ variants:
+ - powerpc/gwlcfm
+description: |
+ EEPROM name for LibI2C
+enabled-by: true
+format: '{}'
+links: []
+name: RTEMS_BSP_I2C_EEPROM_DEVICE_NAME
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/opteeprompath.yml b/spec/build/bsps/powerpc/mpc55xxevb/opteeprompath.yml
new file mode 100644
index 0000000000..1ee19aff5e
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/opteeprompath.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: /dev/i2c1.eeprom
+ variants:
+ - powerpc/gwlcfm
+description: |
+ EEPROM device file path
+enabled-by: true
+format: '{}'
+links: []
+name: RTEMS_BSP_I2C_EEPROM_DEVICE_PATH
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optemiosprescal.yml b/spec/build/bsps/powerpc/mpc55xxevb/optemiosprescal.yml
new file mode 100644
index 0000000000..78bc00dff8
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optemiosprescal.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 66
+ variants:
+ - powerpc/gwlcfm
+- value: null
+ variants:
+ - powerpc/mpc5643l.*
+description: |
+ Must be defined to set the EMIOS prescaler
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_EMIOS_PRESCALER
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optenstartpro.yml b/spec/build/bsps/powerpc/mpc55xxevb/optenstartpro.yml
new file mode 100644
index 0000000000..5fd2f8715b
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optenstartpro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ if defined, enable start prologue
+enabled-by: true
+links: []
+name: MPC55XX_ENABLE_START_PROLOGUE
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optesciirq.yml b/spec/build/bsps/powerpc/mpc55xxevb/optesciirq.yml
new file mode 100644
index 0000000000..9724bdfddf
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optesciirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ define to zero or one to disable or enable interrupts for the eSCI devices
+enabled-by: true
+links: []
+name: MPC55XX_ESCI_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optexcbooke.yml b/spec/build/bsps/powerpc/mpc55xxevb/optexcbooke.yml
new file mode 100644
index 0000000000..e27cb4ab44
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optexcbooke.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ only support Book E exception types
+enabled-by: true
+links: []
+name: PPC_EXC_CONFIG_BOOKE_ONLY
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optexcfixdhdlr.yml b/spec/build/bsps/powerpc/mpc55xxevb/optexcfixdhdlr.yml
new file mode 100644
index 0000000000..b636d8022b
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optexcfixdhdlr.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use fixed high-level exception handler
+enabled-by: true
+links: []
+name: PPC_EXC_CONFIG_USE_FIXED_HANDLER
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optfmpllesyncr1.yml b/spec/build/bsps/powerpc/mpc55xxevb/optfmpllesyncr1.yml
new file mode 100644
index 0000000000..12e8d37ab5
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optfmpllesyncr1.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 7
+default-by-variant: []
+description: |
+ the FMPLL ESYNCR1[CLKCFG] value
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_FMPLL_ESYNCR1_CLKCFG
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optfmpllprediv.yml b/spec/build/bsps/powerpc/mpc55xxevb/optfmpllprediv.yml
new file mode 100644
index 0000000000..fe81e18515
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optfmpllprediv.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 10
+ variants:
+ - powerpc/gwlcfm
+- value: 6
+ variants:
+ - powerpc/mpc5668g.*
+- value: 5
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ Must be defined to be the PLL predivider factor for clock generation
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_FMPLL_PREDIV
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optgwlcfm.yml b/spec/build/bsps/powerpc/mpc55xxevb/optgwlcfm.yml
new file mode 100644
index 0000000000..a525ccf854
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optgwlcfm.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/gwlcfm
+description: |
+ if defined, use custom settings for GWLCFM board
+enabled-by: true
+links: []
+name: MPC55XX_BOARD_GWLCFM
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optirqtblsz.yml b/spec/build/bsps/powerpc/mpc55xxevb/optirqtblsz.yml
new file mode 100644
index 0000000000..70b5fd0f25
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optirqtblsz.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 63
+default-by-variant:
+- value: 127
+ variants:
+ - powerpc/mpc5643l.*
+- value: 127
+ variants:
+ - powerpc/mpc5566.*
+- value: 255
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ defines the maximum number of interrupt handlers
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_INTERRUPT_HANDLER_TABLE_SIZE
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optlowinit.yml b/spec/build/bsps/powerpc/mpc55xxevb/optlowinit.yml
new file mode 100644
index 0000000000..615b68cdf9
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optlowinit.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/mpc5674f_.*app
+description: |
+ if defined, do low level initialization
+enabled-by: true
+links: []
+name: MPC55XX_NEEDS_LOW_LEVEL_INIT
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optmpc5566evb.yml b/spec/build/bsps/powerpc/mpc55xxevb/optmpc5566evb.yml
new file mode 100644
index 0000000000..46d39d959d
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optmpc5566evb.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mpc5566evb.*
+description: |
+ if defined, use custom settings for MPC5566EVB board
+enabled-by: true
+links: []
+name: MPC55XX_BOARD_MPC5566EVB
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optmpc5674fevb.yml b/spec/build/bsps/powerpc/mpc55xxevb/optmpc5674fevb.yml
new file mode 100644
index 0000000000..05679fadb3
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optmpc5674fevb.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mpc5674fevb.*
+description: |
+ if defined, use custom settings for MPC5674FEVB board
+enabled-by: true
+links: []
+name: MPC55XX_BOARD_MPC5674FEVB
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optnullprot.yml b/spec/build/bsps/powerpc/mpc55xxevb/optnullprot.yml
new file mode 100644
index 0000000000..27747835fc
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optnullprot.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/mpc5566.*
+- value: true
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ enable NULL pointer protection
+enabled-by: true
+links: []
+name: MPC55XX_NULL_POINTER_PROTECTION
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optphycorempc5554.yml b/spec/build/bsps/powerpc/mpc55xxevb/optphycorempc5554.yml
new file mode 100644
index 0000000000..0452770f84
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optphycorempc5554.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/phycore_mpc5554
+description: |
+ if defined, use custom settings for phyCORE MPC5554 board
+enabled-by: true
+links: []
+name: MPC55XX_BOARD_PHYCORE_MPC5554
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optrefclk.yml b/spec/build/bsps/powerpc/mpc55xxevb/optrefclk.yml
new file mode 100644
index 0000000000..6748954449
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optrefclk.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 8000000
+default-by-variant:
+- value: 40000000
+ variants:
+ - powerpc/gwlcfm
+- value: 40000000
+ variants:
+ - powerpc/mpc5643l_evb.*
+- value: 25000000
+ variants:
+ - powerpc/mpc5668g.*
+- value: 40000000
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ None
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_REFERENCE_CLOCK
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc91111.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc91111.yml
new file mode 100644
index 0000000000..04a224edd0
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc91111.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/phycore_mpc5554
+description: |
+ If defined the board has the SMC91111 networking chip.
+enabled-by: true
+links: []
+name: HAS_SMC91111
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc9111enaddr.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9111enaddr.yml
new file mode 100644
index 0000000000..3bb67b7621
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9111enaddr.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/phycore_mpc5554
+description: |
+ If defined the SMC91111 chip has the ethernet address loaded at reset.
+enabled-by: true
+links: []
+name: SMC91111_ENADDR_IS_SETUP
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ibige.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ibige.yml
new file mode 100644
index 0000000000..bf47d9429c
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ibige.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable big endian support for SMSC9218I network interface
+enabled-by: true
+links: []
+name: SMSC9218I_BIG_ENDIAN_SUPPORT
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218iled.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218iled.yml
new file mode 100644
index 0000000000..a3de39efac
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218iled.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enable LED outputs for SMSC9218I network interface
+enabled-by: true
+links: []
+name: SMSC9218I_ENABLE_LED_OUTPUTS
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinirq.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinirq.yml
new file mode 100644
index 0000000000..1a339c7e72
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinirq.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant:
+- value: 193
+ variants:
+ - powerpc/mpc5566.*
+description: |
+ IRQ pin for SMSC9218I network interface
+enabled-by: true
+format: '{}'
+links: []
+name: SMSC9218I_IRQ_PIN
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinrst.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinrst.yml
new file mode 100644
index 0000000000..6f8585b6e2
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218ipinrst.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant:
+- value: 186
+ variants:
+ - powerpc/mpc5566.*
+description: |
+ reset pin for SMSC9218I network interface
+enabled-by: true
+format: '{}'
+links: []
+name: SMSC9218I_RESET_PIN
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218irxchn.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218irxchn.yml
new file mode 100644
index 0000000000..0753f5b85b
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218irxchn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 49
+default-by-variant: []
+description: |
+ receive eDMA channel for SMSC9218I network interface
+enabled-by: true
+format: '{}'
+links: []
+name: SMSC9218I_EDMA_RX_CHANNEL
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218itxchn.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218itxchn.yml
new file mode 100644
index 0000000000..359fb5302c
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsmc9218itxchn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 48
+default-by-variant: []
+description: |
+ transmit eDMA channel for SMSC9218I network interface
+enabled-by: true
+format: '{}'
+links: []
+name: SMSC9218I_EDMA_TX_CHANNEL
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsysclk.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsysclk.yml
new file mode 100644
index 0000000000..8edffed6e9
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsysclk.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 66000000
+ variants:
+ - powerpc/gwlcfm
+- value: 116000000
+ variants:
+ - powerpc/mpc5668g.*
+- value: 264000000
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ The system clock frequency in Hz.
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_SYSTEM_CLOCK
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/optsysclkdiv.yml b/spec/build/bsps/powerpc/mpc55xxevb/optsysclkdiv.yml
new file mode 100644
index 0000000000..739f139e49
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/optsysclkdiv.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 2
+ variants:
+ - powerpc/mpc5674f.*
+description: |
+ system clock divider
+enabled-by: true
+format: '{}'
+links: []
+name: MPC55XX_SYSTEM_CLOCK_DIVIDER
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/start.yml b/spec/build/bsps/powerpc/mpc55xxevb/start.yml
new file mode 100644
index 0000000000..56f52a20b6
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/mpc55xxevb/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/tstgwlcfm.yml b/spec/build/bsps/powerpc/mpc55xxevb/tstgwlcfm.yml
new file mode 100644
index 0000000000..69acc1031a
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/tstgwlcfm.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsdosfsname01: exclude
+ linpack: exclude
+ record02: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnojffs2
+- role: build-dependency
+ uid: ../../tstnolibdl
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643ldpu.yml b/spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643ldpu.yml
new file mode 100644
index 0000000000..629b41c843
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643ldpu.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ pppd: exclude
+ psxaio02: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643levb.yml b/spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643levb.yml
new file mode 100644
index 0000000000..629b41c843
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc55xxevb/tstmpc5643levb.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ pppd: exclude
+ psxaio02: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstsmallmem
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/abi.yml b/spec/build/bsps/powerpc/mpc8260ads/abi.yml
new file mode 100644
index 0000000000..4ef856022c
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/abi.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dmpc8260
+- -mcpu=603e
+- -mstrict-align
+- -meabi
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml b/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
new file mode 100644
index 0000000000..3a16b096ec
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/bspmpc8260ads.yml
@@ -0,0 +1,78 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mpc8260ads
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mpc8260ads
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/mpc8260ads/include/bsp.h
+ - bsps/powerpc/mpc8260ads/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/mpc8260ads/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/mpc8260ads/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optconminor
+- role: build-dependency
+ uid: optdisphandstat
+- role: build-dependency
+ uid: optprintkminor
+- role: build-dependency
+ uid: optuartsiomode
+- role: build-dependency
+ uid: optuartsterm
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/mpc8260ads/console/console.c
+- bsps/powerpc/mpc8260ads/dev/console-generic.c
+- bsps/powerpc/mpc8260ads/irq/irq.c
+- bsps/powerpc/mpc8260ads/start/brg.c
+- bsps/powerpc/mpc8260ads/start/bspstart.c
+- bsps/powerpc/mpc8260ads/start/cp.c
+- bsps/powerpc/mpc8260ads/start/cpuinit.c
+- bsps/powerpc/mpc8260ads/start/dpram.c
+- bsps/powerpc/mpc8260ads/start/mmu.c
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/start/bspidle.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/objnet.yml b/spec/build/bsps/powerpc/mpc8260ads/objnet.yml
new file mode 100644
index 0000000000..4fbe8604b5
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/mpc8260ads/net/if_hdlcsubr.c
+- bsps/powerpc/mpc8260ads/net/network.c
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/optconminor.yml b/spec/build/bsps/powerpc/mpc8260ads/optconminor.yml
new file mode 100644
index 0000000000..50755157e9
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/optconminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: SCC2_MINOR
+default-by-variant: []
+description: |
+ (BSP--console driver) Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR, SCC3_MINOR, or SCC4_MINOR. Determines which device will be registered as /dev/console.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_MINOR
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/optdisphandstat.yml b/spec/build/bsps/powerpc/mpc8260ads/optdisphandstat.yml
new file mode 100644
index 0000000000..b7bcab4e5c
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/optdisphandstat.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ used by irq/irq.c
+enabled-by: true
+links: []
+name: DISPATCH_HANDLER_STAT
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/optprintkminor.yml b/spec/build/bsps/powerpc/mpc8260ads/optprintkminor.yml
new file mode 100644
index 0000000000..bb031dfa83
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/optprintkminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: SMC2_MINOR
+default-by-variant: []
+description: |
+ (BSP--console driver) Must be defined to be one of SMC1_MINOR, SMC2_MINOR, SCC2_MINOR, SCC3_MINOR, or SCC4_MINOR. Determines which device is used for output by printk(). If the port that printk() uses is also used for other I/O (e.g. if PRINTK_MINOR == \$CONSOLE_MINOR), then both ports should use the same type of I/O, otherwise the drivers will likely conflict with each other.
+enabled-by: true
+format: '{}'
+links: []
+name: PRINTK_MINOR
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/optuartsiomode.yml b/spec/build/bsps/powerpc/mpc8260ads/optuartsiomode.yml
new file mode 100644
index 0000000000..eb0d9d8bda
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/optuartsiomode.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ (BSP--console driver) Define to 0 or 1 if you want polled I/O performed by RTEMS. Define to 1 if you want interrupt-driven performed by RTEMS. Define to 2 if you want polled I/O performed by EPPCBug. There is no provision to have a mix of interrupt-driven and polled I/O ports, except that the printk port may use a different mode from the other ports. If this is done, do not open the printk port from an RTEMS application. With EPPCBug 1.1, if mode 2 is selected, CONSOLE_MINOR must be set to SMC1_MINOR. This is a deficiency of the firmware: it does not perform serial I/O on any port other than its default debug port, which must be SMC1.
+enabled-by: true
+links: []
+name: UARTS_IO_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/optuartsterm.yml b/spec/build/bsps/powerpc/mpc8260ads/optuartsterm.yml
new file mode 100644
index 0000000000..1aa2122c24
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/optuartsterm.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Define to 1 if you want termios support for every port. Termios support is independent of the choice of UART I/O mode.
+enabled-by: true
+links: []
+name: UARTS_USE_TERMIOS
+type: build
diff --git a/spec/build/bsps/powerpc/mpc8260ads/start.yml b/spec/build/bsps/powerpc/mpc8260ads/start.yml
new file mode 100644
index 0000000000..f44a4b52b4
--- /dev/null
+++ b/spec/build/bsps/powerpc/mpc8260ads/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/mpc8260ads/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/mvme3100/abi.yml b/spec/build/bsps/powerpc/mvme3100/abi.yml
new file mode 100644
index 0000000000..63ced0c662
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme3100/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -D__ppc_generic
+- -mcpu=powerpc
+- -msoft-float
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
new file mode 100644
index 0000000000..f95367ceea
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
@@ -0,0 +1,90 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mvme3100
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mvme3100
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/mvme3100/include/bsp.h
+ - bsps/powerpc/mvme3100/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/mvme3100/include/bsp/VMEConfig.h
+ - bsps/powerpc/mvme3100/include/bsp/if_tsec_pub.h
+ - bsps/powerpc/mvme3100/include/bsp/irq.h
+ - bsps/powerpc/mvme3100/include/bsp/mpc8540_i2c_busdrv.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/mvme3100/start/linkcmds
+ - bsps/powerpc/shared/start/linkcmds.share
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optsbrk
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../objvme
+- role: build-dependency
+ uid: ../motld
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/mvme3100/flash/flashcfg.c
+- bsps/powerpc/mvme3100/i2c/i2c_init.c
+- bsps/powerpc/mvme3100/i2c/mpc8540_i2c.c
+- bsps/powerpc/mvme3100/irq/irq_init.c
+- bsps/powerpc/mvme3100/pci/detect_host_bridge.c
+- bsps/powerpc/mvme3100/rtc/todcfg.c
+- bsps/powerpc/mvme3100/start/bspstart.c
+- bsps/powerpc/mvme3100/start/misc.c
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc-dec.c
+- bsps/powerpc/shared/clock/p_clock.c
+- bsps/powerpc/shared/console/console.c
+- bsps/powerpc/shared/console/uart.c
+- bsps/powerpc/shared/flash/flash.c
+- bsps/powerpc/shared/flash/spansionFlash.c
+- bsps/powerpc/shared/irq/openpic.c
+- bsps/powerpc/shared/irq/openpic_i8259_irq.c
+- bsps/powerpc/shared/irq/ppc-irq-legacy.c
+- bsps/powerpc/shared/mmu/e500-mmu.c
+- bsps/powerpc/shared/pci/generic_clear_hberrs.c
+- bsps/powerpc/shared/pci/pci.c
+- bsps/powerpc/shared/pci/pcifinddevice.c
+- bsps/powerpc/shared/start/bspgetworkarea.c
+- bsps/powerpc/shared/start/sbrk.c
+- bsps/powerpc/shared/start/vpd.c
+- bsps/powerpc/shared/start/zerobss.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspreset-empty.c
+type: build
diff --git a/spec/build/bsps/powerpc/mvme3100/objnet.yml b/spec/build/bsps/powerpc/mvme3100/objnet.yml
new file mode 100644
index 0000000000..fd6e810168
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme3100/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/mvme3100/net/tsec.c
+type: build
diff --git a/spec/build/bsps/powerpc/mvme3100/optsbrk.yml b/spec/build/bsps/powerpc/mvme3100/optsbrk.yml
new file mode 100644
index 0000000000..05a1acd75f
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme3100/optsbrk.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined then the BSP may reduce the available memory size initially. This can be useful for debugging (reduce the core size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). Note that the policy can still be defined by the application (see sbrk.c, BSP_sbrk_policy). By undefining CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed and a little memory is saved.
+enabled-by: true
+links: []
+name: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
+type: build
diff --git a/spec/build/bsps/powerpc/mvme3100/start.yml b/spec/build/bsps/powerpc/mvme3100/start.yml
new file mode 100644
index 0000000000..e5980acc94
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme3100/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/mvme3100/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/mvme5500/abi.yml b/spec/build/bsps/powerpc/mvme5500/abi.yml
new file mode 100644
index 0000000000..5e31841a7c
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme5500/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dmpc7455
+- -mcpu=7450
+- -mtune=7450
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
new file mode 100644
index 0000000000..5c6159d655
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme5500/bspmvme5500.yml
@@ -0,0 +1,99 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: mvme5500
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: mvme5500
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/mvme5500/include/bsp.h
+ - bsps/powerpc/mvme5500/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/mvme5500/include/bsp/GT64260TWSI.h
+ - bsps/powerpc/mvme5500/include/bsp/GT64260eth.h
+ - bsps/powerpc/mvme5500/include/bsp/GT64260ethreg.h
+ - bsps/powerpc/mvme5500/include/bsp/VMEConfig.h
+ - bsps/powerpc/mvme5500/include/bsp/VPD.h
+ - bsps/powerpc/mvme5500/include/bsp/bspException.h
+ - bsps/powerpc/mvme5500/include/bsp/bspMvme5500.h
+ - bsps/powerpc/mvme5500/include/bsp/gtpcireg.h
+ - bsps/powerpc/mvme5500/include/bsp/gtreg.h
+ - bsps/powerpc/mvme5500/include/bsp/if_wmreg.h
+ - bsps/powerpc/mvme5500/include/bsp/irq.h
+ - bsps/powerpc/mvme5500/include/bsp/pcireg.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/mvme5500/start/linkcmds
+ - bsps/powerpc/shared/start/linkcmds.share
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optsbrk
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: ../objvme
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/mvme5500/GT64260/GT64260TWSI.c
+- bsps/powerpc/mvme5500/GT64260/MVME5500I2C.c
+- bsps/powerpc/mvme5500/irq/BSP_irq.c
+- bsps/powerpc/mvme5500/irq/irq_init.c
+- bsps/powerpc/mvme5500/pci/detect_host_bridge.c
+- bsps/powerpc/mvme5500/pci/pci.c
+- bsps/powerpc/mvme5500/pci/pci_interface.c
+- bsps/powerpc/mvme5500/rtc/todcfg.c
+- bsps/powerpc/mvme5500/start/bspclean.c
+- bsps/powerpc/mvme5500/start/bspreset.c
+- bsps/powerpc/mvme5500/start/bspstart.c
+- bsps/powerpc/mvme5500/start/exceptionhandler.c
+- bsps/powerpc/mvme5500/start/pgtbl_activate.c
+- bsps/powerpc/shared/altivec/vec_sup.c
+- bsps/powerpc/shared/altivec/vec_sup_asm.S
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc-dec.c
+- bsps/powerpc/shared/clock/p_clock.c
+- bsps/powerpc/shared/console/console.c
+- bsps/powerpc/shared/console/uart.c
+- bsps/powerpc/shared/irq/ppc-irq-legacy.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/start/bspgetworkarea.c
+- bsps/powerpc/shared/start/pgtbl_setup.c
+- bsps/powerpc/shared/start/probeMemEnd.c
+- bsps/powerpc/shared/start/sbrk.c
+- bsps/powerpc/shared/start/vectors_entry.S
+- bsps/powerpc/shared/start/zerobss.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/pci/pci_find_device.c
+- bsps/shared/dev/rtc/rtc-support.c
+type: build
diff --git a/spec/build/bsps/powerpc/mvme5500/objnet.yml b/spec/build/bsps/powerpc/mvme5500/objnet.yml
new file mode 100644
index 0000000000..77349d582b
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme5500/objnet.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/mvme5500/net/if_100MHz/GT64260eth.c
+- bsps/powerpc/mvme5500/net/if_1GHz/if_wm.c
+- bsps/powerpc/mvme5500/net/if_1GHz/pci_map.c
+type: build
diff --git a/spec/build/bsps/powerpc/mvme5500/optsbrk.yml b/spec/build/bsps/powerpc/mvme5500/optsbrk.yml
new file mode 100644
index 0000000000..05a1acd75f
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme5500/optsbrk.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined then the BSP may reduce the available memory size initially. This can be useful for debugging (reduce the core size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). Note that the policy can still be defined by the application (see sbrk.c, BSP_sbrk_policy). By undefining CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed and a little memory is saved.
+enabled-by: true
+links: []
+name: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
+type: build
diff --git a/spec/build/bsps/powerpc/mvme5500/start.yml b/spec/build/bsps/powerpc/mvme5500/start.yml
new file mode 100644
index 0000000000..07c201ed34
--- /dev/null
+++ b/spec/build/bsps/powerpc/mvme5500/start.yml
@@ -0,0 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+do-build: |
+ preload_o = "bsps/powerpc/shared/start/preload.o"
+ self.asm(bld, bic, "bsps/powerpc/shared/start/preload.S", preload_o)
+ start_o = "bsps/powerpc/mvme5500/start/start.o"
+ self.asm( bld, bic, "bsps/powerpc/mvme5500/start/start.S", start_o)
+ target = "mvme5500start.o"
+ bld(
+ before=["cstlib"],
+ rule="${LD} -o ${TGT} -r ${SRC}",
+ source=[preload_o, start_o],
+ target=target,
+ )
+ bld.install_files("${BSP_LIBDIR}", target)
+do-configure: null
+enabled-by: true
+includes: []
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/powerpc/obj.yml b/spec/build/bsps/powerpc/obj.yml
new file mode 100644
index 0000000000..d355509ad9
--- /dev/null
+++ b/spec/build/bsps/powerpc/obj.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/shared/cpu_asm.S
+- bsps/powerpc/shared/cpu.c
+- bsps/powerpc/shared/cpuIdent.c
+- bsps/powerpc/shared/ppc-print-stack.c
+type: build
diff --git a/spec/build/bsps/powerpc/objexc.yml b/spec/build/bsps/powerpc/objexc.yml
new file mode 100644
index 0000000000..8a8b714857
--- /dev/null
+++ b/spec/build/bsps/powerpc/objexc.yml
@@ -0,0 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/shared/exceptions/ppc-code-copy.c
+- bsps/powerpc/shared/exceptions/ppc_exc_address.c
+- bsps/powerpc/shared/exceptions/ppc_exc_alignment.c
+- bsps/powerpc/shared/exceptions/ppc_exc_async_normal.S
+- bsps/powerpc/shared/exceptions/ppc_exc_categories.c
+- bsps/powerpc/shared/exceptions/ppc_exc_fatal.S
+- bsps/powerpc/shared/exceptions/ppc_exc_global_handler.c
+- bsps/powerpc/shared/exceptions/ppc_exc_hdl.c
+- bsps/powerpc/shared/exceptions/ppc_exc_initialize.c
+- bsps/powerpc/shared/exceptions/ppc_exc_naked.S
+- bsps/powerpc/shared/exceptions/ppc_exc_print.c
+- bsps/powerpc/shared/exceptions/ppc_exc_prologue.c
+- bsps/powerpc/shared/exceptions/ppc_exc.S
+type: build
diff --git a/spec/build/bsps/powerpc/objvme.yml b/spec/build/bsps/powerpc/objvme.yml
new file mode 100644
index 0000000000..5247228009
--- /dev/null
+++ b/spec/build/bsps/powerpc/objvme.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/shared/vme/bspVmeDmaList.c
+- bsps/powerpc/shared/vme/vmeconfig.c
+- bsps/powerpc/shared/vme/vmeTsi148.c
+- bsps/powerpc/shared/vme/vme_universe.c
+- bsps/powerpc/shared/vme/vmeUniverse.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/abi.yml b/spec/build/bsps/powerpc/psim/abi.yml
new file mode 100644
index 0000000000..8155213038
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dppc603e
+- -meabi
+- -mcpu=603e
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/psim/bsppsim.yml b/spec/build/bsps/powerpc/psim/bsppsim.yml
new file mode 100644
index 0000000000..c281175c90
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/bsppsim.yml
@@ -0,0 +1,85 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: psim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: psim
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/psim/include/bsp.h
+ - bsps/powerpc/psim/include/psim.h
+ - bsps/powerpc/psim/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/psim/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/psim/start/linkcmds
+ - bsps/powerpc/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objmpci
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: optsbrk
+- role: build-dependency
+ uid: optsprg
+- role: build-dependency
+ uid: optvecbase
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/psim/console/console-io.c
+- bsps/powerpc/psim/console/consupp.S
+- bsps/powerpc/psim/irq/irq_init.c
+- bsps/powerpc/psim/start/align_h.S
+- bsps/powerpc/psim/start/bspstart.c
+- bsps/powerpc/shared/altivec/vec_sup.c
+- bsps/powerpc/shared/altivec/vec_sup_asm.S
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc-dec.c
+- bsps/powerpc/shared/clock/p_clock.c
+- bsps/powerpc/shared/irq/openpic.c
+- bsps/powerpc/shared/irq/openpic_i8259_irq.c
+- bsps/powerpc/shared/irq/ppc-irq-legacy.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/powerpc/shared/start/sbrk.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/objmpci.yml b/spec/build/bsps/powerpc/psim/objmpci.yml
new file mode 100644
index 0000000000..01e44452f5
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/objmpci.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_MULTIPROCESSING
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/psim/mpci/addrconv.c
+- bsps/powerpc/psim/mpci/getcfg.c
+- bsps/powerpc/psim/mpci/lock.c
+- bsps/powerpc/psim/mpci/mpisr.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/objnet.yml b/spec/build/bsps/powerpc/psim/objnet.yml
new file mode 100644
index 0000000000..f54646395f
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/psim/net/if_sim.c
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optclkfastidle.yml b/spec/build/bsps/powerpc/psim/optclkfastidle.yml
new file mode 100644
index 0000000000..df86867fa7
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optclkfastidle.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/psim
+description: |
+ This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optsbrk.yml b/spec/build/bsps/powerpc/psim/optsbrk.yml
new file mode 100644
index 0000000000..05a1acd75f
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optsbrk.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined then the BSP may reduce the available memory size initially. This can be useful for debugging (reduce the core size) or dynamic loading (std gcc text offsets/jumps are < +/-32M). Note that the policy can still be defined by the application (see sbrk.c, BSP_sbrk_policy). By undefining CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK this feature is removed and a little memory is saved.
+enabled-by: true
+links: []
+name: CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optsprg.yml b/spec/build/bsps/powerpc/psim/optsprg.yml
new file mode 100644
index 0000000000..89f5b47135
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optsprg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, then the PowerPC specific code in RTEMS will use some of the special purpose registers to slightly optimize interrupt response time. The use of these registers can conflict with other tools like debuggers.
+enabled-by: true
+links: []
+name: PPC_USE_SPRG
+type: build
diff --git a/spec/build/bsps/powerpc/psim/optvecbase.yml b/spec/build/bsps/powerpc/psim/optvecbase.yml
new file mode 100644
index 0000000000..6de89c1aca
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/optvecbase.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 4293918976
+default-by-variant: []
+description: |
+ This defines the base address of the exception table. NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: PPC_VECTOR_FILE_BASE
+type: build
diff --git a/spec/build/bsps/powerpc/psim/start.yml b/spec/build/bsps/powerpc/psim/start.yml
new file mode 100644
index 0000000000..d4d2efd571
--- /dev/null
+++ b/spec/build/bsps/powerpc/psim/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/psim/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/qemuppc/abi.yml b/spec/build/bsps/powerpc/qemuppc/abi.yml
new file mode 100644
index 0000000000..df82553bcb
--- /dev/null
+++ b/spec/build/bsps/powerpc/qemuppc/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dppc603e
+- -mcpu=603e
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml b/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
new file mode 100644
index 0000000000..cb3fc46e7d
--- /dev/null
+++ b/spec/build/bsps/powerpc/qemuppc/bspqemuppc.yml
@@ -0,0 +1,65 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qemuppc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: qemuppc
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/qemuppc/include/bsp.h
+ - bsps/powerpc/qemuppc/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/qemuppc/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/qemuppc/start/linkcmds
+ - bsps/powerpc/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/qemuppc/console/console-io.c
+- bsps/powerpc/qemuppc/irq/irq_init.c
+- bsps/powerpc/qemuppc/start/bspstart.c
+- bsps/powerpc/qemuppc/start/cmain.c
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/mmu/bat.c
+- bsps/powerpc/shared/mmu/mmuAsm.S
+- bsps/powerpc/shared/mmu/pte121.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/qemuppc/start.yml b/spec/build/bsps/powerpc/qemuppc/start.yml
new file mode 100644
index 0000000000..2911f795f9
--- /dev/null
+++ b/spec/build/bsps/powerpc/qemuppc/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/qemuppc/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/abi.yml b/spec/build/bsps/powerpc/qoriq/abi.yml
new file mode 100644
index 0000000000..15c08475c7
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/abi.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -D__ppc_generic
+- -mcpu=8540
+- -msoft-float
+- -meabi
+- -msdata=sysv
+- -fno-common
+- -mstrict-align
+default-by-variant:
+- value:
+ - -D__ppc_generic
+ - -mcpu=e6500
+ - -m64
+ - -fno-common
+ variants:
+ - powerpc/qoriq_e6500_64
+- value:
+ - -D__ppc_generic
+ - -mcpu=e6500
+ - -m32
+ - -msdata=sysv
+ - -fno-common
+ variants:
+ - powerpc/qoriq_e6500_32
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/bspcore0.yml b/spec/build/bsps/powerpc/qoriq/bspcore0.yml
new file mode 100644
index 0000000000..8f45629d43
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/bspcore0.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qoriq_core_0
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: qoriq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstnolibdl
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/bspcore1.yml b/spec/build/bsps/powerpc/qoriq/bspcore1.yml
new file mode 100644
index 0000000000..9324812d54
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/bspcore1.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qoriq_core_1
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: qoriq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstnolibdl
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/bspe500.yml b/spec/build/bsps/powerpc/qoriq/bspe500.yml
new file mode 100644
index 0000000000..06fd9dc25c
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/bspe500.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qoriq_e500
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: qoriq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstnolibdl
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/bspe650032.yml b/spec/build/bsps/powerpc/qoriq/bspe650032.yml
new file mode 100644
index 0000000000..b558817e8d
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/bspe650032.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qoriq_e6500_32
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: qoriq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstnolibdl
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/bspe650064.yml b/spec/build/bsps/powerpc/qoriq/bspe650064.yml
new file mode 100644
index 0000000000..3b375ebf78
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/bspe650064.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: qoriq_e6500_64
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: qoriq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: ../../tstnolibdl
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/grp.yml b/spec/build/bsps/powerpc/qoriq/grp.yml
new file mode 100644
index 0000000000..270fe6e898
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/grp.yml
@@ -0,0 +1,118 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optbucsr
+- role: build-dependency
+ uid: optbusclkdiv
+- role: build-dependency
+ uid: optcachealign
+- role: build-dependency
+ uid: optcacheblktouch
+- role: build-dependency
+ uid: optcachedatal1sz
+- role: build-dependency
+ uid: optcachedatal2sz
+- role: build-dependency
+ uid: optcacheinstl1sz
+- role: build-dependency
+ uid: optcacheinstl2sz
+- role: build-dependency
+ uid: optchipnum
+- role: build-dependency
+ uid: optchipser
+- role: build-dependency
+ uid: optclktmctr
+- role: build-dependency
+ uid: optclktmr
+- role: build-dependency
+ uid: optcpucnt
+- role: build-dependency
+ uid: optetsec1phy
+- role: build-dependency
+ uid: optetsec2phy
+- role: build-dependency
+ uid: optetsec3phy
+- role: build-dependency
+ uid: optexcbooke
+- role: build-dependency
+ uid: optexcfixdhdlr
+- role: build-dependency
+ uid: optfdtmxsz
+- role: build-dependency
+ uid: optfdtro
+- role: build-dependency
+ uid: opthid0
+- role: build-dependency
+ uid: opthyp
+- role: build-dependency
+ uid: opthypguest
+- role: build-dependency
+ uid: opticombegin
+- role: build-dependency
+ uid: opticomsz
+- role: build-dependency
+ uid: optmas7
+- role: build-dependency
+ uid: optmsr
+- role: build-dependency
+ uid: optspefscr
+- role: build-dependency
+ uid: optthrdcnt
+- role: build-dependency
+ uid: opttlb1cnt
+- role: build-dependency
+ uid: optuart0en
+- role: build-dependency
+ uid: optuart1en
+- role: build-dependency
+ uid: optuartbrg0en
+- role: build-dependency
+ uid: optuartbrg1en
+- role: build-dependency
+ uid: optuartbrgmas
+- role: build-dependency
+ uid: optuartbrgpri
+- role: build-dependency
+ uid: optuartbrgslv
+- role: build-dependency
+ uid: optuartirq
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/qoriq/obj.yml b/spec/build/bsps/powerpc/qoriq/obj.yml
new file mode 100644
index 0000000000..0956313b77
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/obj.yml
@@ -0,0 +1,75 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/qoriq/include/bsp.h
+ - bsps/powerpc/qoriq/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/asm
+ source:
+ - bsps/powerpc/qoriq/include/asm/epapr_hcalls.h
+ - bsps/powerpc/qoriq/include/asm/fsl_hcalls.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/qoriq/include/bsp/intercom.h
+ - bsps/powerpc/qoriq/include/bsp/irq.h
+ - bsps/powerpc/qoriq/include/bsp/mmu.h
+ - bsps/powerpc/qoriq/include/bsp/qoriq.h
+ - bsps/powerpc/qoriq/include/bsp/tsec-config.h
+ - bsps/powerpc/qoriq/include/bsp/uart-bridge.h
+- destination: ${BSP_INCLUDEDIR}/uapi/asm
+ source:
+ - bsps/powerpc/qoriq/include/uapi/asm/epapr_hcalls.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/qoriq/start/linkcmds.qoriq_core_0
+ - bsps/powerpc/qoriq/start/linkcmds.qoriq_core_1
+ - bsps/powerpc/qoriq/start/linkcmds.qoriq_e500
+ - bsps/powerpc/qoriq/start/linkcmds.qoriq_e6500_32
+ - bsps/powerpc/qoriq/start/linkcmds.qoriq_e6500_64
+ - bsps/powerpc/shared/start/linkcmds.base
+links: []
+source:
+- bsps/powerpc/qoriq/btimer/btimer.c
+- bsps/powerpc/qoriq/clock/clock-config.c
+- bsps/powerpc/qoriq/console/console-config.c
+- bsps/powerpc/qoriq/console/uart-bridge-master.c
+- bsps/powerpc/qoriq/console/uart-bridge-slave.c
+- bsps/powerpc/qoriq/irq/irq.c
+- bsps/powerpc/qoriq/mpci/intercom-mpci.c
+- bsps/powerpc/qoriq/mpci/intercom.c
+- bsps/powerpc/qoriq/mpci/lock.S
+- bsps/powerpc/qoriq/rtc/rtc-config.c
+- bsps/powerpc/qoriq/start/bspreset.c
+- bsps/powerpc/qoriq/start/bsprestart.c
+- bsps/powerpc/qoriq/start/bspstart.c
+- bsps/powerpc/qoriq/start/epapr_hcalls.S
+- bsps/powerpc/qoriq/start/l1cache.S
+- bsps/powerpc/qoriq/start/l2cache.S
+- bsps/powerpc/qoriq/start/mmu-config.c
+- bsps/powerpc/qoriq/start/mmu-tlb1.S
+- bsps/powerpc/qoriq/start/mmu.c
+- bsps/powerpc/qoriq/start/portal.c
+- bsps/powerpc/qoriq/start/restart.S
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c
+- bsps/powerpc/shared/mmu/e500-mmu.c
+- bsps/powerpc/shared/start/bsp-start-zero.S
+- bsps/powerpc/shared/start/bspidle.c
+- bsps/powerpc/shared/start/tictac.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/rtc/rtc-support.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bsp-fdt.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/objnet.yml b/spec/build/bsps/powerpc/qoriq/objnet.yml
new file mode 100644
index 0000000000..fa8c0a9f43
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/objnet.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/qoriq/net/if_intercom.c
+- bsps/powerpc/qoriq/net/network.c
+- bsps/powerpc/shared/net/tsec.c
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/objsmp.yml b/spec/build/bsps/powerpc/qoriq/objsmp.yml
new file mode 100644
index 0000000000..766227b97d
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/objsmp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/powerpc/qoriq/start/bspsmp.c
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optbucsr.yml b/spec/build/bsps/powerpc/qoriq/optbucsr.yml
new file mode 100644
index 0000000000..fe64767307
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optbucsr.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant:
+- value: 20972033
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ initial BUCSR value
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: QORIQ_INITIAL_BUCSR
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optbusclkdiv.yml b/spec/build/bsps/powerpc/qoriq/optbusclkdiv.yml
new file mode 100644
index 0000000000..217718a1dc
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optbusclkdiv.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 2
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ divider of the platform clock to get the clock most on-chip peripherals
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_BUS_CLOCK_DIVIDER
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optcachealign.yml b/spec/build/bsps/powerpc/qoriq/optcachealign.yml
new file mode 100644
index 0000000000..77e30c86c7
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optcachealign.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant:
+- value: 64
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ the cache alignment
+enabled-by: true
+format: '{}'
+links: []
+name: PPC_CACHE_ALIGNMENT
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optcacheblktouch.yml b/spec/build/bsps/powerpc/qoriq/optcacheblktouch.yml
new file mode 100644
index 0000000000..3b9251a774
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optcacheblktouch.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ if defined use dcbt instruction
+enabled-by: true
+links: []
+name: BSP_USE_DATA_CACHE_BLOCK_TOUCH
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optcachedatal1sz.yml b/spec/build/bsps/powerpc/qoriq/optcachedatal1sz.yml
new file mode 100644
index 0000000000..1717ff9660
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optcachedatal1sz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ the L1 data cache size
+enabled-by: true
+format: '{}'
+links: []
+name: PPC_CACHE_DATA_L1_SIZE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optcachedatal2sz.yml b/spec/build/bsps/powerpc/qoriq/optcachedatal2sz.yml
new file mode 100644
index 0000000000..ef4ee635ef
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optcachedatal2sz.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 262144
+default-by-variant:
+- value: 2097152
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ the L2 data cache size
+enabled-by: true
+format: '{}'
+links: []
+name: PPC_CACHE_DATA_L2_SIZE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optcacheinstl1sz.yml b/spec/build/bsps/powerpc/qoriq/optcacheinstl1sz.yml
new file mode 100644
index 0000000000..10e96967f7
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optcacheinstl1sz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 32768
+default-by-variant: []
+description: |
+ the L1 instruction cache size
+enabled-by: true
+format: '{}'
+links: []
+name: PPC_CACHE_INSTRUCTION_L1_SIZE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optcacheinstl2sz.yml b/spec/build/bsps/powerpc/qoriq/optcacheinstl2sz.yml
new file mode 100644
index 0000000000..133941ff7b
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optcacheinstl2sz.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 262144
+default-by-variant:
+- value: 2097152
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ the L2 instruction cache size
+enabled-by: true
+format: '{}'
+links: []
+name: PPC_CACHE_INSTRUCTION_L2_SIZE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optchipnum.yml b/spec/build/bsps/powerpc/qoriq/optchipnum.yml
new file mode 100644
index 0000000000..f8bb14166f
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optchipnum.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1020
+default-by-variant:
+- value: 0
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ chip number, e.g. 1020, 2040, 2080, 4240
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_CHIP_NUMBER
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optchipser.yml b/spec/build/bsps/powerpc/qoriq/optchipser.yml
new file mode 100644
index 0000000000..c566b49761
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optchipser.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: P
+default-by-variant:
+- value: T
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ chip series, e.g. 'P' or 'T'
+enabled-by: true
+format: '''{}'''
+links: []
+name: QORIQ_CHIP_SERIES
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optclktmctr.yml b/spec/build/bsps/powerpc/qoriq/optclktmctr.yml
new file mode 100644
index 0000000000..f3d428e437
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optclktmctr.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 5
+ variants:
+ - powerpc/qoriq_core_1
+description: |
+ global timer used for the timecounter, 0..3 maps to A0..A3, and 4..7 maps to B0..B3
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_CLOCK_TIMECOUNTER
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optclktmr.yml b/spec/build/bsps/powerpc/qoriq/optclktmr.yml
new file mode 100644
index 0000000000..61596b518c
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optclktmr.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 4
+ variants:
+ - powerpc/qoriq_core_1
+description: |
+ global timer used for system clock, 0..3 maps to A0..A3, and 4..7 maps to B0..B3
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_CLOCK_TIMER
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optcpucnt.yml b/spec/build/bsps/powerpc/qoriq/optcpucnt.yml
new file mode 100644
index 0000000000..db805547e2
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optcpucnt.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 2
+default-by-variant:
+- value: 24
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ maximum virtual processor count
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_CPU_COUNT
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optetsec1phy.yml b/spec/build/bsps/powerpc/qoriq/optetsec1phy.yml
new file mode 100644
index 0000000000..93e44d817c
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optetsec1phy.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: -1
+default-by-variant: []
+description: |
+ PHY address for eTSEC interface 1
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_ETSEC_1_PHY_ADDR
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optetsec2phy.yml b/spec/build/bsps/powerpc/qoriq/optetsec2phy.yml
new file mode 100644
index 0000000000..037db1630a
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optetsec2phy.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ PHY address for eTSEC interface 2
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_ETSEC_2_PHY_ADDR
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optetsec3phy.yml b/spec/build/bsps/powerpc/qoriq/optetsec3phy.yml
new file mode 100644
index 0000000000..21a511339a
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optetsec3phy.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant: []
+description: |
+ PHY address for eTSEC interface 3
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_ETSEC_3_PHY_ADDR
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optexcbooke.yml b/spec/build/bsps/powerpc/qoriq/optexcbooke.yml
new file mode 100644
index 0000000000..e27cb4ab44
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optexcbooke.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ only support Book E exception types
+enabled-by: true
+links: []
+name: PPC_EXC_CONFIG_BOOKE_ONLY
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optexcfixdhdlr.yml b/spec/build/bsps/powerpc/qoriq/optexcfixdhdlr.yml
new file mode 100644
index 0000000000..b636d8022b
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optexcfixdhdlr.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use fixed high-level exception handler
+enabled-by: true
+links: []
+name: PPC_EXC_CONFIG_USE_FIXED_HANDLER
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optfdtmxsz.yml b/spec/build/bsps/powerpc/qoriq/optfdtmxsz.yml
new file mode 100644
index 0000000000..14af766230
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optfdtmxsz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 262144
+default-by-variant: []
+description: |
+ maximum size of the FDT blob in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_FDT_BLOB_SIZE_MAX
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optfdtro.yml b/spec/build/bsps/powerpc/qoriq/optfdtro.yml
new file mode 100644
index 0000000000..a61bb2924b
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optfdtro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ place the FDT blob into the read-only data area
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_READ_ONLY
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/opthid0.yml b/spec/build/bsps/powerpc/qoriq/opthid0.yml
new file mode 100644
index 0000000000..c0b1a56346
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/opthid0.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant:
+- value: 1073741824
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ initial HID0 value (EN_L2MMU_MHD is set by default on the T-series)
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: QORIQ_INITIAL_HID0
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/opthyp.yml b/spec/build/bsps/powerpc/qoriq/opthyp.yml
new file mode 100644
index 0000000000..ccb383c8b5
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/opthyp.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ defined if the processor core has a hypervisor mode
+enabled-by: true
+links: []
+name: QORIQ_HAS_HYPERVISOR_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/opthypguest.yml b/spec/build/bsps/powerpc/qoriq/opthypguest.yml
new file mode 100644
index 0000000000..6e579dc06c
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/opthypguest.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ defined if we are a hypervisor guest
+enabled-by: true
+links: []
+name: QORIQ_IS_HYPERVISOR_GUEST
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/opticombegin.yml b/spec/build/bsps/powerpc/qoriq/opticombegin.yml
new file mode 100644
index 0000000000..29dae8f4a5
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/opticombegin.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 50331648
+default-by-variant: []
+description: |
+ inter-processor communication area begin
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: QORIQ_INTERCOM_AREA_BEGIN
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/opticomsz.yml b/spec/build/bsps/powerpc/qoriq/opticomsz.yml
new file mode 100644
index 0000000000..ebb977bac9
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/opticomsz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 16777216
+default-by-variant: []
+description: |
+ inter-processor communication area size
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: QORIQ_INTERCOM_AREA_SIZE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optmas7.yml b/spec/build/bsps/powerpc/qoriq/optmas7.yml
new file mode 100644
index 0000000000..77ed473263
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optmas7.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: 15
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ MAS7 value for device TLB1 entries
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: QORIQ_MMU_DEVICE_MAS7
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optmsr.yml b/spec/build/bsps/powerpc/qoriq/optmsr.yml
new file mode 100644
index 0000000000..5327f63c6f
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optmsr.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 33554944
+default-by-variant:
+- value: 2181046784
+ variants:
+ - powerpc/qoriq_e6500_64.*
+- value: 33563136
+ variants:
+ - powerpc/qoriq_e6500_32.*
+description: |
+ initial MSR value
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: QORIQ_INITIAL_MSR
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optspefscr.yml b/spec/build/bsps/powerpc/qoriq/optspefscr.yml
new file mode 100644
index 0000000000..820eef00ec
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optspefscr.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant:
+- value: null
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ initial SPEFSCR value
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: QORIQ_INITIAL_SPEFSCR
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optthrdcnt.yml b/spec/build/bsps/powerpc/qoriq/optthrdcnt.yml
new file mode 100644
index 0000000000..5a2b67bf5c
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optthrdcnt.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 1
+default-by-variant:
+- value: 2
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ the number of threads per core
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_PHYSICAL_THREAD_COUNT
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/opttlb1cnt.yml b/spec/build/bsps/powerpc/qoriq/opttlb1cnt.yml
new file mode 100644
index 0000000000..4b9ed660b7
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/opttlb1cnt.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 16
+default-by-variant:
+- value: 64
+ variants:
+ - powerpc/qoriq_e6500.*
+description: |
+ TLB1 entry count
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_TLB1_ENTRY_COUNT
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuart0en.yml b/spec/build/bsps/powerpc/qoriq/optuart0en.yml
new file mode 100644
index 0000000000..c462db34d3
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuart0en.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/qoriq_core_1
+description: |
+ use 1 to enable UART 0, otherwise use 0
+enabled-by: true
+links: []
+name: QORIQ_UART_0_ENABLE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuart1en.yml b/spec/build/bsps/powerpc/qoriq/optuart1en.yml
new file mode 100644
index 0000000000..af613ec57f
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuart1en.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/qoriq_core_1
+description: |
+ use 1 to enable UART 1, otherwise use 0
+enabled-by: true
+links: []
+name: QORIQ_UART_1_ENABLE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrg0en.yml b/spec/build/bsps/powerpc/qoriq/optuartbrg0en.yml
new file mode 100644
index 0000000000..05706d7ef7
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuartbrg0en.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ use 1 to enable UART 0 to Intercom bridge, otherwise use 0
+enabled-by: true
+links: []
+name: QORIQ_UART_BRIDGE_0_ENABLE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrg1en.yml b/spec/build/bsps/powerpc/qoriq/optuartbrg1en.yml
new file mode 100644
index 0000000000..cc2c43c13a
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuartbrg1en.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/qoriq_core_0
+- value: true
+ variants:
+ - powerpc/qoriq_core_1
+description: |
+ use 1 to enable UART 1 to Intercom bridge, otherwise use 0
+enabled-by: true
+links: []
+name: QORIQ_UART_BRIDGE_1_ENABLE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrgmas.yml b/spec/build/bsps/powerpc/qoriq/optuartbrgmas.yml
new file mode 100644
index 0000000000..8a58b8c518
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuartbrgmas.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ UART to Intercom bridge master core index
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_UART_BRIDGE_MASTER_CORE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrgpri.yml b/spec/build/bsps/powerpc/qoriq/optuartbrgpri.yml
new file mode 100644
index 0000000000..b653aaf881
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuartbrgpri.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 250
+default-by-variant: []
+description: |
+ UART to Intercom bridge task priority
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_UART_BRIDGE_TASK_PRIORITY
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuartbrgslv.yml b/spec/build/bsps/powerpc/qoriq/optuartbrgslv.yml
new file mode 100644
index 0000000000..8a672326f9
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuartbrgslv.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ UART to Intercom bridge slave core index
+enabled-by: true
+format: '{}'
+links: []
+name: QORIQ_UART_BRIDGE_SLAVE_CORE
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/optuartirq.yml b/spec/build/bsps/powerpc/qoriq/optuartirq.yml
new file mode 100644
index 0000000000..152668b2d9
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/optuartirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ enable usage of interrupts for the UART modules
+enabled-by: true
+links: []
+name: BSP_USE_UART_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/powerpc/qoriq/start.yml b/spec/build/bsps/powerpc/qoriq/start.yml
new file mode 100644
index 0000000000..c3e8e5c95c
--- /dev/null
+++ b/spec/build/bsps/powerpc/qoriq/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/qoriq/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/abi.yml b/spec/build/bsps/powerpc/ss555/abi.yml
new file mode 100644
index 0000000000..5d49ce0905
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dmpc555
+- -mcpu=505
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/bspss555.yml b/spec/build/bsps/powerpc/ss555/bspss555.yml
new file mode 100644
index 0000000000..ee366fdec9
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/bspss555.yml
@@ -0,0 +1,81 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: ss555
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: ss555
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/ss555/include/bsp.h
+ - bsps/powerpc/ss555/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/ss555/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/ss555/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optconminor
+- role: build-dependency
+ uid: optprintkminor
+- role: build-dependency
+ uid: optuartsiomode
+- role: build-dependency
+ uid: optuartsterm
+- role: build-dependency
+ uid: optwdgtimeout
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/exceptions/ppc_exc_print.c
+- bsps/powerpc/ss555/clock/clock.c
+- bsps/powerpc/ss555/clock/p_clock.c
+- bsps/powerpc/ss555/console/console.c
+- bsps/powerpc/ss555/dev/console-generic.c
+- bsps/powerpc/ss555/start/bspstart.c
+- bsps/powerpc/ss555/start/irq.c
+- bsps/powerpc/ss555/start/irq_asm.S
+- bsps/powerpc/ss555/start/irq_init.c
+- bsps/powerpc/ss555/start/iss555.c
+- bsps/powerpc/ss555/start/raw_exception.c
+- bsps/powerpc/ss555/start/tm27supp.c
+- bsps/powerpc/ss555/start/vectors.S
+- bsps/powerpc/ss555/start/vectors_init.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/irq/irq-default.c
+- bsps/shared/irq/irq-generic.c
+- bsps/shared/irq/irq-info.c
+- bsps/shared/irq/irq-lock.c
+- bsps/shared/irq/irq-server.c
+- bsps/shared/irq/irq-shell.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/optconminor.yml b/spec/build/bsps/powerpc/ss555/optconminor.yml
new file mode 100644
index 0000000000..edadd92fe1
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/optconminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: SCI2_MINOR
+default-by-variant: []
+description: |
+ Must be defined to be one of SCI1_MINOR or SCI2_MINOR. Determines which device will be registered as /dev/console.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_MINOR
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/optprintkminor.yml b/spec/build/bsps/powerpc/ss555/optprintkminor.yml
new file mode 100644
index 0000000000..86cb37b0ab
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/optprintkminor.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: SCI2_MINOR
+default-by-variant: []
+description: |
+ Must be defined to be one of SCI1_MINOR or SCI2_MINOR. Determines which device is used for output by printk(). The printk port always uses polled I/O. Don't open the printk port from RTEMS unless also using polled I/O for the SCI ports.
+enabled-by: true
+format: '{}'
+links: []
+name: PRINTK_MINOR
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/optuartsiomode.yml b/spec/build/bsps/powerpc/ss555/optuartsiomode.yml
new file mode 100644
index 0000000000..8e351bb7a1
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/optuartsiomode.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Define to 1 if you want interrupt-driven I/O for the SCI ports.
+enabled-by: true
+links: []
+name: UARTS_IO_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/optuartsterm.yml b/spec/build/bsps/powerpc/ss555/optuartsterm.yml
new file mode 100644
index 0000000000..1aa2122c24
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/optuartsterm.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Define to 1 if you want termios support for every port. Termios support is independent of the choice of UART I/O mode.
+enabled-by: true
+links: []
+name: UARTS_USE_TERMIOS
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/optwdgtimeout.yml b/spec/build/bsps/powerpc/ss555/optwdgtimeout.yml
new file mode 100644
index 0000000000..2cb717a1fc
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/optwdgtimeout.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 65535
+default-by-variant: []
+description: |
+ Define to the desired timeout (in steps of 1/20 msec) to enable the watchdog. Default is to disable the watchdog entirely.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: WATCHDOG_TIMEOUT
+type: build
diff --git a/spec/build/bsps/powerpc/ss555/start.yml b/spec/build/bsps/powerpc/ss555/start.yml
new file mode 100644
index 0000000000..67d16365b0
--- /dev/null
+++ b/spec/build/bsps/powerpc/ss555/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/ss555/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/start.yml b/spec/build/bsps/powerpc/start.yml
new file mode 100644
index 0000000000..6efecf617f
--- /dev/null
+++ b/spec/build/bsps/powerpc/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/t32mppc/abi.yml b/spec/build/bsps/powerpc/t32mppc/abi.yml
new file mode 100644
index 0000000000..eabcbf586e
--- /dev/null
+++ b/spec/build/bsps/powerpc/t32mppc/abi.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -D__ppc_generic
+- -mcpu=8540
+- -msoft-float
+- -meabi
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
new file mode 100644
index 0000000000..7c1c1ad4c4
--- /dev/null
+++ b/spec/build/bsps/powerpc/t32mppc/bspt32mppc.yml
@@ -0,0 +1,70 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: t32mppc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: t32mppc
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/t32mppc/include/bsp.h
+ - bsps/powerpc/t32mppc/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/t32mppc/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/shared/start/linkcmds.base
+ - bsps/powerpc/t32mppc/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../optog
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optexcbooke
+- role: build-dependency
+ uid: optexcfixdhdlr
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c
+- bsps/powerpc/shared/start/bsp-start-zero.S
+- bsps/powerpc/shared/start/tictac.c
+- bsps/powerpc/t32mppc/clock/clock-config.c
+- bsps/powerpc/t32mppc/console/console.c
+- bsps/powerpc/t32mppc/irq/irq.c
+- bsps/powerpc/t32mppc/start/bspreset.c
+- bsps/powerpc/t32mppc/start/bspstart.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/t32mppc/objsmp.yml b/spec/build/bsps/powerpc/t32mppc/objsmp.yml
new file mode 100644
index 0000000000..c69a03be9b
--- /dev/null
+++ b/spec/build/bsps/powerpc/t32mppc/objsmp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/shared/start/bspsmp-dummy.c
+type: build
diff --git a/spec/build/bsps/powerpc/t32mppc/optexcbooke.yml b/spec/build/bsps/powerpc/t32mppc/optexcbooke.yml
new file mode 100644
index 0000000000..e27cb4ab44
--- /dev/null
+++ b/spec/build/bsps/powerpc/t32mppc/optexcbooke.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ only support Book E exception types
+enabled-by: true
+links: []
+name: PPC_EXC_CONFIG_BOOKE_ONLY
+type: build
diff --git a/spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml b/spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml
new file mode 100644
index 0000000000..b636d8022b
--- /dev/null
+++ b/spec/build/bsps/powerpc/t32mppc/optexcfixdhdlr.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ use fixed high-level exception handler
+enabled-by: true
+links: []
+name: PPC_EXC_CONFIG_USE_FIXED_HANDLER
+type: build
diff --git a/spec/build/bsps/powerpc/t32mppc/start.yml b/spec/build/bsps/powerpc/t32mppc/start.yml
new file mode 100644
index 0000000000..7a6d2bab5f
--- /dev/null
+++ b/spec/build/bsps/powerpc/t32mppc/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/t32mppc/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/abi.yml b/spec/build/bsps/powerpc/tqm8xx/abi.yml
new file mode 100644
index 0000000000..bf76b930bd
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/abi.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dmpc860
+- -mcpu=860
+- -mstrict-align
+- -fno-strict-aliasing
+- -meabi
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml b/spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml
new file mode 100644
index 0000000000..cff38f2626
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/bsppghplus.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: pghplus
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tqm8xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml b/spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml
new file mode 100644
index 0000000000..0640e8b872
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/bspstk8xx.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: tqm8xx_stk8xx
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: tqm8xx
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/grp.yml b/spec/build/bsps/powerpc/tqm8xx/grp.yml
new file mode 100644
index 0000000000..61e2b51baa
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/grp.yml
@@ -0,0 +1,56 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optconchn
+- role: build-dependency
+ uid: optconscc1
+- role: build-dependency
+ uid: optconscc2
+- role: build-dependency
+ uid: optconscc3
+- role: build-dependency
+ uid: optconscc4
+- role: build-dependency
+ uid: optconsmc1
+- role: build-dependency
+ uid: optconsmc2
+- role: build-dependency
+ uid: optnetfec
+- role: build-dependency
+ uid: optnetscc
+- role: build-dependency
+ uid: optprintkchn
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/powerpc/tqm8xx/obj.yml b/spec/build/bsps/powerpc/tqm8xx/obj.yml
new file mode 100644
index 0000000000..124b0fb523
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/obj.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/tqm8xx/include/bsp.h
+ - bsps/powerpc/tqm8xx/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/tqm8xx/include/bsp/8xx_immap.h
+ - bsps/powerpc/tqm8xx/include/bsp/irq.h
+ - bsps/powerpc/tqm8xx/include/bsp/spi.h
+ - bsps/powerpc/tqm8xx/include/bsp/tqm.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/shared/start/linkcmds.base
+ - bsps/powerpc/tqm8xx/start/linkcmds
+links: []
+source:
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/start/bspidle.c
+- bsps/powerpc/tqm8xx/btimer/btimer.c
+- bsps/powerpc/tqm8xx/clock/p_clock.c
+- bsps/powerpc/tqm8xx/console/console.c
+- bsps/powerpc/tqm8xx/irq/irq.c
+- bsps/powerpc/tqm8xx/spi/spi.c
+- bsps/powerpc/tqm8xx/start/bspgetworkarea.c
+- bsps/powerpc/tqm8xx/start/bspstart.c
+- bsps/powerpc/tqm8xx/start/cp.c
+- bsps/powerpc/tqm8xx/start/cpuinit.c
+- bsps/powerpc/tqm8xx/start/dpram.c
+- bsps/powerpc/tqm8xx/start/mmu.c
+- bsps/powerpc/tqm8xx/start/mmutlbtab.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/objnet.yml b/spec/build/bsps/powerpc/tqm8xx/objnet.yml
new file mode 100644
index 0000000000..3a3492c0ed
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/tqm8xx/net/network_fec.c
+- bsps/powerpc/tqm8xx/net/network_scc.c
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconchn.yml b/spec/build/bsps/powerpc/tqm8xx/optconchn.yml
new file mode 100644
index 0000000000..a33cfc32ab
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconchn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_CHN_SMC1
+default-by-variant: []
+description: |
+ (BSP--console driver) Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC1, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device will be registered as /dev/console.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_CHN
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc1.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc1.yml
new file mode 100644
index 0000000000..6c0499daf1
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc1.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC1 UART IF mode) Must be defined if SCC1 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC1_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc2.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc2.yml
new file mode 100644
index 0000000000..754abd522f
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc2.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC2 UART IF mode) Must be defined if SCC2 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC2_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc3.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc3.yml
new file mode 100644
index 0000000000..bdc665cbde
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc3.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC3 UART IF mode) Must be defined if SCC3 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC3_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconscc4.yml b/spec/build/bsps/powerpc/tqm8xx/optconscc4.yml
new file mode 100644
index 0000000000..e26ffcad07
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconscc4.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant: []
+description: |
+ (BSP--SCC4 UART IF mode) Must be defined if SCC4 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SCC4_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml b/spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml
new file mode 100644
index 0000000000..7c7f563d00
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconsmc1.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant:
+- value: CONS_MODE_POLLED
+ variants:
+ - powerpc/tqm8xx_stk8xx
+- value: CONS_MODE_IRQ
+ variants:
+ - powerpc/pghplus
+description: |
+ (BSP--SMC1 UART IF mode) Must be defined if SMC1 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SMC1_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml b/spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml
new file mode 100644
index 0000000000..c19c2850fb
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optconsmc2.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_MODE_UNUSED
+default-by-variant:
+- value: CONS_MODE_POLLED
+ variants:
+ - powerpc/tqm8xx_stk8xx
+description: |
+ (BSP--SMC2 UART IF mode) Must be defined if SMC2 is used as a tty (UART) channel. Set it to CONS_MODE_POLLED for polled operation, CONS_MODE_IRQ for interrupt driven (spooled) operation. Set it to CONS_MODE_UNUSED, if not used
+enabled-by: true
+format: '{}'
+links: []
+name: CONS_SMC2_MODE
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optnetfec.yml b/spec/build/bsps/powerpc/tqm8xx/optnetfec.yml
new file mode 100644
index 0000000000..52a1fc7afe
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optnetfec.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - powerpc/pghplus
+description: |
+ If defined, then the BSP will use the Fast Ethernet Controller for 10/100MBit networking and used as primary networking interface.
+enabled-by: true
+links: []
+name: BSP_USE_NETWORK_FEC
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optnetscc.yml b/spec/build/bsps/powerpc/tqm8xx/optnetscc.yml
new file mode 100644
index 0000000000..fe3492accf
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optnetscc.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant:
+- value: false
+ variants:
+ - powerpc/pghplus
+description: |
+ If defined, then the BSP will use the Serial Communications Controller (SCC1) for 10MBit networking.
+enabled-by: true
+links: []
+name: BSP_USE_NETWORK_SCC
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml b/spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml
new file mode 100644
index 0000000000..cffd48009d
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/optprintkchn.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: CONS_CHN_SMC1
+default-by-variant: []
+description: |
+ (BSP--console driver) Must be defined to be one of CONS_CHN_SMC1, CONS_CHN_SMC2, CONS_CHN_SCC2, CONS_CHN_SCC3, or CONS_CHN_SCC4. Determines which device is used for output by printk(). If the port that printk() uses is also used for other I/O (e.g. if PRINTK_CHN == CONSOLE_CHN), then both ports should use the same type of I/O, otherwise the drivers will likely conflict with each other.
+enabled-by: true
+format: '{}'
+links: []
+name: PRINTK_CHN
+type: build
diff --git a/spec/build/bsps/powerpc/tqm8xx/start.yml b/spec/build/bsps/powerpc/tqm8xx/start.yml
new file mode 100644
index 0000000000..ac62e13991
--- /dev/null
+++ b/spec/build/bsps/powerpc/tqm8xx/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/tqm8xx/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/vecentry.yml b/spec/build/bsps/powerpc/vecentry.yml
new file mode 100644
index 0000000000..ba7d789c84
--- /dev/null
+++ b/spec/build/bsps/powerpc/vecentry.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/shared/start/vectors_entry.S
+target: vectors_entry.o
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/abi.yml b/spec/build/bsps/powerpc/virtex/abi.yml
new file mode 100644
index 0000000000..8b94b11113
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/abi.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dppc405
+- -mcpu=403
+- -meabi
+- -msdata=sysv
+- -fno-common
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/bspvirtex.yml b/spec/build/bsps/powerpc/virtex/bspvirtex.yml
new file mode 100644
index 0000000000..bf7eebe2b5
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/bspvirtex.yml
@@ -0,0 +1,86 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: virtex
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: virtex
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/virtex/include/bsp.h
+ - bsps/powerpc/virtex/include/tm27.h
+ - bsps/powerpc/virtex/include/xiltemac.h
+ - bsps/powerpc/virtex/include/xparameters_dflt.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/virtex/include/bsp/irq.h
+ - bsps/powerpc/virtex/include/bsp/opbintctrl.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optfastramlen
+- role: build-dependency
+ uid: optfastramorg
+- role: build-dependency
+ uid: optramlen
+- role: build-dependency
+ uid: optramorg
+- role: build-dependency
+ uid: optresetlen
+- role: build-dependency
+ uid: optresetorg
+- role: build-dependency
+ uid: optxparam
+- role: build-dependency
+ uid: linkcmds
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock.c
+- bsps/powerpc/shared/start/bsp-start-zero.S
+- bsps/powerpc/virtex/console/consolelite.c
+- bsps/powerpc/virtex/irq/irq_init.c
+- bsps/powerpc/virtex/start/bspstart.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/linkcmds.yml b/spec/build/bsps/powerpc/virtex/linkcmds.yml
new file mode 100644
index 0000000000..6de570fbdd
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/linkcmds.yml
@@ -0,0 +1,45 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ EXTERN (__vectors)
+
+ MEMORY {
+ RAM : ORIGIN = ${VIRTEX_RAM_ORIGIN}, LENGTH = ${VIRTEX_RAM_LENGTH}
+ FAST_RAM : ORIGIN = ${VIRTEX_FAST_RAM_ORIGIN}, LENGTH = ${VIRTEX_FAST_RAM_LENGTH}
+ RESET : ORIGIN = ${VIRTEX_RESET_ORIGIN}, LENGTH = ${VIRTEX_RESET_LENGTH}
+ EMPTY : ORIGIN = 0x0, LENGTH = 0x0
+ }
+
+ REGION_ALIAS ("REGION_START", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT", FAST_RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_TEXT", RAM);
+ REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_RODATA", RAM);
+ REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA", FAST_RAM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_DATA", RAM);
+ REGION_ALIAS ("REGION_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_BSS", RAM);
+ REGION_ALIAS ("REGION_RTEMSSTACK", RAM);
+ REGION_ALIAS ("REGION_WORK", RAM);
+ REGION_ALIAS ("REGION_STACK", RAM);
+ REGION_ALIAS ("REGION_NOCACHE", EMPTY);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", EMPTY);
+ REGION_ALIAS ("REGION_NVRAM", EMPTY);
+
+ SECTIONS {
+ .virtex_reset : {
+ KEEP (*(.virtex_reset))
+ } > RESET AT > RESET
+ }
+
+ INCLUDE linkcmds.base
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/objnet.yml b/spec/build/bsps/powerpc/virtex/objnet.yml
new file mode 100644
index 0000000000..7d902970a1
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/powerpc/virtex/net/xiltemac.c
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optconirq.yml b/spec/build/bsps/powerpc/virtex/optconirq.yml
new file mode 100644
index 0000000000..d3e07791a8
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optconirq.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ if defined use interrupt driven Termios mode
+enabled-by: true
+links: []
+name: VIRTEX_CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optfastramlen.yml b/spec/build/bsps/powerpc/virtex/optfastramlen.yml
new file mode 100644
index 0000000000..366457a492
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optfastramlen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ fast RAM region length
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: VIRTEX_FAST_RAM_LENGTH
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optfastramorg.yml b/spec/build/bsps/powerpc/virtex/optfastramorg.yml
new file mode 100644
index 0000000000..608ddb8c42
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optfastramorg.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ fast RAM region origin
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: VIRTEX_FAST_RAM_ORIGIN
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optramlen.yml b/spec/build/bsps/powerpc/virtex/optramlen.yml
new file mode 100644
index 0000000000..e07b9b715e
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optramlen.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 134217708
+default-by-variant: []
+description: |
+ normal RAM region length
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: VIRTEX_RAM_LENGTH
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optramorg.yml b/spec/build/bsps/powerpc/virtex/optramorg.yml
new file mode 100644
index 0000000000..1c396974c9
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optramorg.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ normal RAM region origin
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: VIRTEX_RAM_ORIGIN
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optresetlen.yml b/spec/build/bsps/powerpc/virtex/optresetlen.yml
new file mode 100644
index 0000000000..79892a4f41
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optresetlen.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 20
+default-by-variant: []
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: VIRTEX_RESET_LENGTH
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optresetorg.yml b/spec/build/bsps/powerpc/virtex/optresetorg.yml
new file mode 100644
index 0000000000..f60fc4646c
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optresetorg.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 134217708
+default-by-variant: []
+description: |
+ reset region origin
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: VIRTEX_RESET_ORIGIN
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/optxparam.yml b/spec/build/bsps/powerpc/virtex/optxparam.yml
new file mode 100644
index 0000000000..4fd5f3d1c4
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/optxparam.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: <xparameters_dflt.h>
+default-by-variant: []
+description: |
+ This defines the location of the hardware specific "xparameters.h" file. in the file system. Specify an absolute path. Do not forget the double quotes
+enabled-by: true
+format: '{}'
+links: []
+name: RTEMS_XPARAMETERS_H
+type: build
diff --git a/spec/build/bsps/powerpc/virtex/start.yml b/spec/build/bsps/powerpc/virtex/start.yml
new file mode 100644
index 0000000000..1548744a12
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/virtex/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/virtex4/abi.yml b/spec/build/bsps/powerpc/virtex4/abi.yml
new file mode 100644
index 0000000000..1fc318b3cb
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex4/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dppc405
+- -mcpu=405
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml b/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
new file mode 100644
index 0000000000..8c5dca9955
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex4/bspvirtex4.yml
@@ -0,0 +1,70 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: virtex4
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: virtex4
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/virtex4/include/bsp.h
+ - bsps/powerpc/virtex4/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/virtex4/include/bsp/irq.h
+ - bsps/powerpc/virtex4/include/bsp/mmu.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/virtex4/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optppccachedata
+- role: build-dependency
+ uid: optsprg
+- role: build-dependency
+ uid: optvecbase
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc403.c
+- bsps/powerpc/shared/start/memcpy.c
+- bsps/powerpc/shared/start/zerobss.c
+- bsps/powerpc/virtex4/irq/irq_init.c
+- bsps/powerpc/virtex4/start/bspclean.c
+- bsps/powerpc/virtex4/start/bspstart.c
+- bsps/powerpc/virtex4/start/dummy_console.c
+- bsps/powerpc/virtex4/start/mmu.c
+- bsps/powerpc/virtex4/start/start.S
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/virtex4/optppccachedata.yml b/spec/build/bsps/powerpc/virtex4/optppccachedata.yml
new file mode 100644
index 0000000000..ef96c06b8e
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex4/optppccachedata.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, then the PowerPC specific code in RTEMS will use data cache instructions to optimize the context switch code. This code can conflict with debuggers or emulators. It is known to break the Corelis PowerPC emulator with at least some combinations of PowerPC 603e revisions and emulator versions. The BSP actually contains the call that enables this.
+enabled-by: true
+links: []
+name: PPC_USE_DATA_CACHE
+type: build
diff --git a/spec/build/bsps/powerpc/virtex4/optsprg.yml b/spec/build/bsps/powerpc/virtex4/optsprg.yml
new file mode 100644
index 0000000000..1e1a112f43
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex4/optsprg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ If defined, then the PowerPC specific code in RTEMS will use some of the special purpose registers to slightly optimize interrupt response time. The use of these registers can conflict with other tools like debuggers.
+enabled-by: true
+links: []
+name: PPC_USE_SPRG
+type: build
diff --git a/spec/build/bsps/powerpc/virtex4/optvecbase.yml b/spec/build/bsps/powerpc/virtex4/optvecbase.yml
new file mode 100644
index 0000000000..fdc72a1863
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex4/optvecbase.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 256
+default-by-variant: []
+description: |
+ This defines the base address of the exception table.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: PPC_VECTOR_FILE_BASE
+type: build
diff --git a/spec/build/bsps/powerpc/virtex4/start.yml b/spec/build/bsps/powerpc/virtex4/start.yml
new file mode 100644
index 0000000000..e54271ee99
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex4/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/virtex4/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/powerpc/virtex5/abi.yml b/spec/build/bsps/powerpc/virtex5/abi.yml
new file mode 100644
index 0000000000..3318bbbe42
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex5/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -Dppc440
+- -mcpu=440
+- -msoft-float
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml b/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
new file mode 100644
index 0000000000..c0c679f8b8
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex5/bspvirtex5.yml
@@ -0,0 +1,71 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: powerpc
+bsp: virtex5
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: virtex5
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/powerpc/virtex5/include/bsp.h
+ - bsps/powerpc/virtex5/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/powerpc/virtex5/include/bsp/irq.h
+ - bsps/powerpc/virtex5/include/bsp/mmu.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/powerpc/virtex5/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../crti
+- role: build-dependency
+ uid: ../crtn
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../obj
+- role: build-dependency
+ uid: ../objexc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optppccachedata
+- role: build-dependency
+ uid: optsprg
+- role: build-dependency
+ uid: optvecbase
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/powerpc/shared/btimer/btimer-ppc-dec.c
+- bsps/powerpc/shared/cache/cache.c
+- bsps/powerpc/shared/clock/clock-ppc-dec.c
+- bsps/powerpc/shared/clock/p_clock.c
+- bsps/powerpc/shared/start/memcpy.c
+- bsps/powerpc/shared/start/zerobss.c
+- bsps/powerpc/virtex5/irq/irq_init.c
+- bsps/powerpc/virtex5/start/bspclean.c
+- bsps/powerpc/virtex5/start/bspstart.c
+- bsps/powerpc/virtex5/start/dummy_console.c
+- bsps/powerpc/virtex5/start/mmu.c
+- bsps/powerpc/virtex5/start/start.S
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/powerpc/virtex5/optppccachedata.yml b/spec/build/bsps/powerpc/virtex5/optppccachedata.yml
new file mode 100644
index 0000000000..88fed61502
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex5/optppccachedata.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ None
+enabled-by: true
+links: []
+name: PPC_USE_DATA_CACHE
+type: build
diff --git a/spec/build/bsps/powerpc/virtex5/optsprg.yml b/spec/build/bsps/powerpc/virtex5/optsprg.yml
new file mode 100644
index 0000000000..1bb5de32db
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex5/optsprg.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ None
+enabled-by: true
+links: []
+name: PPC_USE_SPRG
+type: build
diff --git a/spec/build/bsps/powerpc/virtex5/optvecbase.yml b/spec/build/bsps/powerpc/virtex5/optvecbase.yml
new file mode 100644
index 0000000000..fdc72a1863
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex5/optvecbase.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 256
+default-by-variant: []
+description: |
+ This defines the base address of the exception table.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: PPC_VECTOR_FILE_BASE
+type: build
diff --git a/spec/build/bsps/powerpc/virtex5/start.yml b/spec/build/bsps/powerpc/virtex5/start.yml
new file mode 100644
index 0000000000..082172f8ee
--- /dev/null
+++ b/spec/build/bsps/powerpc/virtex5/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/powerpc/virtex5/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/riscv/griscv/abi.yml b/spec/build/bsps/riscv/griscv/abi.yml
new file mode 100644
index 0000000000..fc915468ae
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/abi.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=rv32imafdc
+- -mabi=ilp32d
+default-by-variant:
+- value:
+ - -march=rv32imac
+ - -mabi=ilp32
+ variants:
+ - riscv/grv32imac
+- value:
+ - -march=rv32im
+ - -mabi=ilp32
+ variants:
+ - riscv/grv32im
+- value:
+ - -march=rv32i
+ - -mabi=ilp32
+ variants:
+ - riscv/grv32i
+- value:
+ - -march=rv32imafd
+ - -mabi=ilp32d
+ variants:
+ - riscv/griscv
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/riscv/griscv/bspgriscv.yml b/spec/build/bsps/riscv/griscv/bspgriscv.yml
new file mode 100644
index 0000000000..1992d096de
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/bspgriscv.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: griscv
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: griscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/griscv/bspgrv32i.yml b/spec/build/bsps/riscv/griscv/bspgrv32i.yml
new file mode 100644
index 0000000000..4f130b6cc7
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/bspgrv32i.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: grv32i
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: griscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/griscv/bspgrv32im.yml b/spec/build/bsps/riscv/griscv/bspgrv32im.yml
new file mode 100644
index 0000000000..ed17f1ae11
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/bspgrv32im.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: grv32im
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: griscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/griscv/bspgrv32imac.yml b/spec/build/bsps/riscv/griscv/bspgrv32imac.yml
new file mode 100644
index 0000000000..32c4807b57
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/bspgrv32imac.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: grv32imac
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: griscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/griscv/bspgrv32imafdc.yml b/spec/build/bsps/riscv/griscv/bspgrv32imafdc.yml
new file mode 100644
index 0000000000..1448e19869
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/bspgrv32imafdc.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: grv32imafdc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: griscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/griscv/grp.yml b/spec/build/bsps/riscv/griscv/grp.yml
new file mode 100644
index 0000000000..1945d984f5
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/grp.yml
@@ -0,0 +1,46 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objgrlib
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../optclang
+- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
+ uid: ../../optgcc
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optextirqmax
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../optrambegin
+- role: build-dependency
+ uid: ../optramsize
+- role: build-dependency
+ uid: ../linkcmds
+- role: build-dependency
+ uid: ../linkcmdsbase
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/riscv/griscv/obj.yml b/spec/build/bsps/riscv/griscv/obj.yml
new file mode 100644
index 0000000000..769364c8fc
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/obj.yml
@@ -0,0 +1,36 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/riscv/griscv/include/amba.h
+ - bsps/riscv/griscv/include/bsp.h
+ - bsps/riscv/griscv/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/riscv/griscv/include/bsp/irq.h
+links: []
+source:
+- bsps/riscv/griscv/clock/clockdrv.c
+- bsps/riscv/griscv/console/console.c
+- bsps/riscv/griscv/console/printk_support.c
+- bsps/riscv/griscv/irq/irq.c
+- bsps/riscv/griscv/start/amba.c
+- bsps/riscv/griscv/start/bsp_fatal_halt.c
+- bsps/riscv/griscv/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+type: build
diff --git a/spec/build/bsps/riscv/griscv/objsmp.yml b/spec/build/bsps/riscv/griscv/objsmp.yml
new file mode 100644
index 0000000000..83f5bb7f31
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/objsmp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/riscv/griscv/start/bspsmp.c
+type: build
diff --git a/spec/build/bsps/riscv/griscv/optextirqmax.yml b/spec/build/bsps/riscv/griscv/optextirqmax.yml
new file mode 100644
index 0000000000..ffa84748b6
--- /dev/null
+++ b/spec/build/bsps/riscv/griscv/optextirqmax.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 64
+default-by-variant: []
+description: |
+ maximum number of external interrupts supported by the BSP (default 64)
+enabled-by: true
+format: '{}'
+links: []
+name: RISCV_MAXIMUM_EXTERNAL_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/riscv/grp.yml b/spec/build/bsps/riscv/grp.yml
new file mode 100644
index 0000000000..7dad3970c5
--- /dev/null
+++ b/spec/build/bsps/riscv/grp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/riscv/include/bsp/linker-symbols.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/riscv/linkcmds.yml b/spec/build/bsps/riscv/linkcmds.yml
new file mode 100644
index 0000000000..ed536b3c5d
--- /dev/null
+++ b/spec/build/bsps/riscv/linkcmds.yml
@@ -0,0 +1,29 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ MEMORY {
+ RAM : ORIGIN = ${RISCV_RAM_REGION_BEGIN}, LENGTH = ${RISCV_RAM_REGION_SIZE}
+ }
+
+ REGION_ALIAS ("REGION_START", RAM);
+ REGION_ALIAS ("REGION_TEXT", RAM);
+ REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_RODATA", RAM);
+ REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_DATA", RAM);
+ REGION_ALIAS ("REGION_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_RTEMSSTACK", RAM);
+ REGION_ALIAS ("REGION_WORK", RAM);
+
+ INCLUDE linkcmds.base
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds
+type: build
diff --git a/spec/build/bsps/riscv/linkcmdsbase.yml b/spec/build/bsps/riscv/linkcmdsbase.yml
new file mode 100644
index 0000000000..cbc769552e
--- /dev/null
+++ b/spec/build/bsps/riscv/linkcmdsbase.yml
@@ -0,0 +1,401 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ /* Copyright (C) 2014-2018 Free Software Foundation, Inc.
+ Copying and distribution of this script, with or without modification,
+ are permitted in any medium without royalty provided the copyright
+ notice and this notice are preserved. */
+
+ /*
+ * Copyright (c) 2018 embedded brains GmbH.
+ *
+ * Copyright (c) 2015 University of York.
+ * Hesham ALMatary <hmka501@york.ac.uk>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+ OUTPUT_ARCH(riscv)
+ ENTRY(_start)
+ ${LINKCMDS_START_DIRECTIVE}(start.o)
+
+ bsp_section_robarrier_align = DEFINED (bsp_section_robarrier_align) ? bsp_section_robarrier_align : 1;
+ bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1;
+
+ MEMORY {
+ UNEXPECTED_SECTIONS : ORIGIN = 0xffffffff, LENGTH = 0
+ }
+
+ SECTIONS {
+ .start : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_start_begin = .;
+ KEEP (*(.bsp_start_text))
+ KEEP (*(.bsp_start_data))
+ bsp_section_start_end = .;
+ } > REGION_START AT > REGION_START
+ bsp_section_start_size = bsp_section_start_end - bsp_section_start_begin;
+
+ .text : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_text_begin = .;
+ *(.text.unlikely .text.*_unlikely .text.unlikely.*)
+ *(.text.exit .text.exit.*)
+ *(.text.startup .text.startup.*)
+ *(.text.hot .text.hot.*)
+ *(.text .stub .text.* .gnu.linkonce.t.*)
+ /* .gnu.warning sections are handled specially by elf32.em. */
+ *(.gnu.warning)
+ } > REGION_TEXT AT > REGION_TEXT_LOAD
+ .init : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ KEEP (*(SORT_NONE(.init)))
+ } > REGION_TEXT AT > REGION_TEXT_LOAD
+ .fini : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ KEEP (*(SORT_NONE(.fini)))
+ bsp_section_text_end = .;
+ } > REGION_TEXT AT > REGION_TEXT_LOAD
+ bsp_section_text_size = bsp_section_text_end - bsp_section_text_begin;
+ bsp_section_text_load_begin = LOADADDR (.text);
+ bsp_section_text_load_end = bsp_section_text_load_begin + bsp_section_text_size;
+
+ .robarrier : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ . = ALIGN (bsp_section_robarrier_align);
+ } > REGION_RODATA AT > REGION_RODATA
+
+ .rodata : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_rodata_begin = .;
+ *(.rodata .rodata.* .gnu.linkonce.r.*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .rodata1 : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.rodata1)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .sdata2 : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .sbss2 : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .eh_frame_hdr : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .eh_frame : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ KEEP (*(.eh_frame)) *(.eh_frame.*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .gcc_except_table : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.gcc_except_table .gcc_except_table.*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .gnu_extab : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.gnu_extab*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .tdata : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ _TLS_Data_begin = .;
+ *(.tdata .tdata.* .gnu.linkonce.td.*)
+ _TLS_Data_end = .;
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .tbss : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ _TLS_BSS_begin = .;
+ *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon)
+ _TLS_BSS_end = .;
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ _TLS_Data_size = _TLS_Data_end - _TLS_Data_begin;
+ _TLS_Data_begin = _TLS_Data_size != 0 ? _TLS_Data_begin : _TLS_BSS_begin;
+ _TLS_Data_end = _TLS_Data_size != 0 ? _TLS_Data_end : _TLS_BSS_begin;
+ _TLS_BSS_size = _TLS_BSS_end - _TLS_BSS_begin;
+ _TLS_Size = _TLS_BSS_end - _TLS_Data_begin;
+ _TLS_Alignment = MAX (ALIGNOF (.tdata), ALIGNOF (.tbss));
+ .preinit_array : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ PROVIDE_HIDDEN (__preinit_array_start = .);
+ KEEP (*(.preinit_array))
+ PROVIDE_HIDDEN (__preinit_array_end = .);
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .init_array : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ PROVIDE_HIDDEN (__init_array_start = .);
+ KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*) SORT_BY_INIT_PRIORITY(.ctors.*)))
+ KEEP (*(.init_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .ctors))
+ PROVIDE_HIDDEN (__init_array_end = .);
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .fini_array : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ PROVIDE_HIDDEN (__fini_array_start = .);
+ KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*) SORT_BY_INIT_PRIORITY(.dtors.*)))
+ KEEP (*(.fini_array EXCLUDE_FILE (*crtbegin.o *crtbegin?.o *crtend.o *crtend?.o ) .dtors))
+ PROVIDE_HIDDEN (__fini_array_end = .);
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .ctors : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ /* gcc uses crtbegin.o to find the start of
+ the constructors, so we make sure it is
+ first. Because this is a wildcard, it
+ doesn't matter if the user does not
+ actually link against crtbegin.o; the
+ linker won't look for a file to match a
+ wildcard. The wildcard also means that it
+ doesn't matter which directory crtbegin.o
+ is in. */
+ KEEP (*crtbegin.o(.ctors))
+ KEEP (*crtbegin?.o(.ctors))
+ /* We don't want to include the .ctor section from
+ the crtend.o file until after the sorted ctors.
+ The .ctor section from the crtend file contains the
+ end of ctors marker and it must be last */
+ KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors))
+ KEEP (*(SORT(.ctors.*)))
+ KEEP (*(.ctors))
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .dtors : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ KEEP (*crtbegin.o(.dtors))
+ KEEP (*crtbegin?.o(.dtors))
+ KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
+ KEEP (*(SORT(.dtors.*)))
+ KEEP (*(.dtors))
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .data.rel.ro : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*)
+ *(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .jcr : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ KEEP (*(.jcr))
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .interp : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.interp)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .note.gnu.build-id : { *(.note.gnu.build-id)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .hash : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.hash)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .gnu.hash : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.gnu.hash)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .dynsym : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.dynsym)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .dynstr : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.dynstr)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .gnu.version : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.gnu.version)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .gnu.version_d : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.gnu.version_d)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .gnu.version_r : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.gnu.version_r)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .rela.dyn : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.rela.init)
+ *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
+ *(.rela.fini)
+ *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
+ *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
+ *(.rela.tdata .rela.tdata.* .rela.gnu.linkonce.td.*)
+ *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*)
+ *(.rela.ctors)
+ *(.rela.dtors)
+ *(.rela.got)
+ *(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*)
+ *(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*)
+ *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
+ *(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)
+ *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+ PROVIDE_HIDDEN (__rela_iplt_start = .);
+ *(.rela.iplt)
+ PROVIDE_HIDDEN (__rela_iplt_end = .);
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .rela.plt : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.rela.plt)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .plt : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.plt)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .iplt : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.iplt)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .dynamic : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.dynamic)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .tm_clone_table : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.tm_clone_table)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .got : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.got.plt) *(.igot.plt) *(.got) *(.igot)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .rtemsroset : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ /* Special FreeBSD linker set sections */
+ __start_set_sysctl_set = .;
+ *(set_sysctl_*);
+ __stop_set_sysctl_set = .;
+ *(set_domain_*);
+ *(set_pseudo_*);
+
+ KEEP (*(SORT(.rtemsroset.*)))
+ bsp_section_rodata_end = .;
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ bsp_section_rodata_size = bsp_section_rodata_end - bsp_section_rodata_begin;
+ bsp_section_rodata_load_begin = LOADADDR (.rodata);
+ bsp_section_rodata_load_end = bsp_section_rodata_load_begin + bsp_section_rodata_size;
+
+ .rwbarrier : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ . = ALIGN (bsp_section_rwbarrier_align);
+ } > REGION_DATA AT > REGION_DATA
+
+ .fast_text : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_fast_text_begin = .;
+ *(.bsp_fast_text)
+ bsp_section_fast_text_end = .;
+ } > REGION_FAST_TEXT AT > REGION_FAST_TEXT_LOAD
+ bsp_section_fast_text_size = bsp_section_fast_text_end - bsp_section_fast_text_begin;
+ bsp_section_fast_text_load_begin = LOADADDR (.fast_text);
+ bsp_section_fast_text_load_end = bsp_section_fast_text_load_begin + bsp_section_fast_text_size;
+
+ .fast_data : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_fast_data_begin = .;
+ *(.bsp_fast_data)
+ bsp_section_fast_data_end = .;
+ } > REGION_FAST_DATA AT > REGION_FAST_DATA_LOAD
+ bsp_section_fast_data_size = bsp_section_fast_data_end - bsp_section_fast_data_begin;
+ bsp_section_fast_data_load_begin = LOADADDR (.fast_data);
+ bsp_section_fast_data_load_end = bsp_section_fast_data_load_begin + bsp_section_fast_data_size;
+
+ .data : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_data_begin = .;
+ *(.data .data.* .gnu.linkonce.d.*)
+ SORT(CONSTRUCTORS)
+ } > REGION_DATA AT > REGION_DATA_LOAD
+ .data1 : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.data1)
+ } > REGION_DATA AT > REGION_DATA_LOAD
+ .rtemsrwset : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ KEEP (*(SORT(.rtemsrwset.*)))
+ } > REGION_DATA AT > REGION_DATA_LOAD
+ .htif ALIGN(4096) : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.htif)
+ } > REGION_DATA AT > REGION_DATA_LOAD
+ .sdata : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ __global_pointer$$ = . + 0x800;
+ *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata .srodata.*)
+ *(.sdata .sdata.* .gnu.linkonce.s.*)
+ bsp_section_data_end = .;
+ } > REGION_DATA AT > REGION_DATA_LOAD
+ bsp_section_data_size = bsp_section_data_end - bsp_section_data_begin;
+ bsp_section_data_load_begin = LOADADDR (.data);
+ bsp_section_data_load_end = bsp_section_data_load_begin + bsp_section_data_size;
+
+ .sbss : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_bss_begin = .;
+ *(.dynsbss)
+ *(.sbss .sbss.* .gnu.linkonce.sb.*)
+ *(.scommon)
+ } > REGION_DATA AT > REGION_DATA
+ .bss : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ *(.dynbss)
+ *(.bss .bss.* .gnu.linkonce.b.*)
+ *(COMMON)
+ bsp_section_bss_end = .;
+ } > REGION_DATA AT > REGION_DATA
+ bsp_section_bss_size = bsp_section_bss_end - bsp_section_bss_begin;
+
+ .rtemsstack (NOLOAD) : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ bsp_section_rtemsstack_begin = .;
+ *(SORT(.rtemsstack.*))
+ bsp_section_rtemsstack_end = .;
+ } > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK
+ bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin;
+
+ .work (NOLOAD) : ${LINKCMDS_ALIGN_DIRECTIVE} {
+ /*
+ * The work section will occupy the remaining REGION_WORK region and
+ * contains the RTEMS work space and heap.
+ */
+ bsp_section_work_begin = .;
+ . += ORIGIN (REGION_WORK) + LENGTH (REGION_WORK) - ABSOLUTE (.);
+ bsp_section_work_end = .;
+ } > REGION_WORK AT > REGION_WORK
+ bsp_section_work_size = bsp_section_work_end - bsp_section_work_begin;
+
+ /* FIXME */
+ RamBase = ORIGIN (REGION_WORK);
+ RamSize = LENGTH (REGION_WORK);
+ RamEnd = RamBase + RamSize;
+ WorkAreaBase = bsp_section_work_begin;
+ HeapSize = 0;
+
+ /* Stabs debugging sections. */
+ .stab 0 : { *(.stab) }
+ .stabstr 0 : { *(.stabstr) }
+ .stab.excl 0 : { *(.stab.excl) }
+ .stab.exclstr 0 : { *(.stab.exclstr) }
+ .stab.index 0 : { *(.stab.index) }
+ .stab.indexstr 0 : { *(.stab.indexstr) }
+ .comment 0 : { *(.comment) }
+ /* DWARF debug sections.
+ Symbols in the DWARF debugging sections are relative to the beginning
+ of the section so we begin them at 0. */
+ /* DWARF 1 */
+ .debug 0 : { *(.debug) }
+ .line 0 : { *(.line) }
+ /* GNU DWARF 1 extensions */
+ .debug_srcinfo 0 : { *(.debug_srcinfo) }
+ .debug_sfnames 0 : { *(.debug_sfnames) }
+ /* DWARF 1.1 and DWARF 2 */
+ .debug_aranges 0 : { *(.debug_aranges) }
+ .debug_pubnames 0 : { *(.debug_pubnames) }
+ /* DWARF 2 */
+ .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) }
+ .debug_abbrev 0 : { *(.debug_abbrev) }
+ .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
+ .debug_frame 0 : { *(.debug_frame) }
+ .debug_str 0 : { *(.debug_str) }
+ .debug_loc 0 : { *(.debug_loc) }
+ .debug_macinfo 0 : { *(.debug_macinfo) }
+ /* SGI/MIPS DWARF 2 extensions */
+ .debug_weaknames 0 : { *(.debug_weaknames) }
+ .debug_funcnames 0 : { *(.debug_funcnames) }
+ .debug_typenames 0 : { *(.debug_typenames) }
+ .debug_varnames 0 : { *(.debug_varnames) }
+ /* DWARF 3 */
+ .debug_pubtypes 0 : { *(.debug_pubtypes) }
+ .debug_ranges 0 : { *(.debug_ranges) }
+ /* DWARF Extension. */
+ .debug_macro 0 : { *(.debug_macro) }
+ .debug_addr 0 : { *(.debug_addr) }
+ .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
+ /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) *(.gnu.lto_*) }
+ .shstrtab 0 : { *(.shstrtab) }
+ .strtab 0 : { *(.strtab) }
+ .symtab 0 : { *(.symtab) }
+ .symtab_shndx 0 : { *(.symtab_shndx) }
+ __cap_relocs 0 : { *(__cap_relocs) }
+
+ /*
+ * This is a RTEMS specific section to catch all unexpected input
+ * sections. In case you get an error like
+ * "section `.unexpected_sections' will not fit in region
+ * `UNEXPECTED_SECTIONS'"
+ * you have to figure out the offending input section and add it to the
+ * appropriate output section definition above.
+ */
+ .unexpected_sections : { *(*) } > UNEXPECTED_SECTIONS
+ }
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds.base
+type: build
diff --git a/spec/build/bsps/riscv/optrambegin.yml b/spec/build/bsps/riscv/optrambegin.yml
new file mode 100644
index 0000000000..cf5d909562
--- /dev/null
+++ b/spec/build/bsps/riscv/optrambegin.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- assert-aligned: 1048576
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 2147483648
+default-by-variant:
+- value: 2147483648
+ variants:
+ - riscv/rv64.*medany
+- value: 1879048192
+ variants:
+ - riscv/rv64.*
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: RISCV_RAM_REGION_BEGIN
+type: build
diff --git a/spec/build/bsps/riscv/optramsize.yml b/spec/build/bsps/riscv/optramsize.yml
new file mode 100644
index 0000000000..bbc226cc13
--- /dev/null
+++ b/spec/build/bsps/riscv/optramsize.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- assert-aligned: 1048576
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 67108864
+default-by-variant:
+- value: 268435456
+ variants:
+ - riscv/frdme310arty
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: RISCV_RAM_REGION_SIZE
+type: build
diff --git a/spec/build/bsps/riscv/riscv/abi.yml b/spec/build/bsps/riscv/riscv/abi.yml
new file mode 100644
index 0000000000..e975b87c4c
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/abi.yml
@@ -0,0 +1,79 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -march=rv32imac
+- -mabi=ilp32
+default-by-variant:
+- value:
+ - -march=rv64imafdc
+ - -mabi=lp64d
+ - -mcmodel=medany
+ variants:
+ - riscv/rv64imafdc_medany
+- value:
+ - -march=rv64imafdc
+ - -mabi=lp64d
+ variants:
+ - riscv/rv64imafdc
+- value:
+ - -march=rv64imafd
+ - -mabi=lp64d
+ - -mcmodel=medany
+ variants:
+ - riscv/rv64imafd_medany
+- value:
+ - -march=rv64imafd
+ - -mabi=lp64d
+ variants:
+ - riscv/rv64imafd
+- value:
+ - -march=rv64imac
+ - -mabi=lp64
+ - -mcmodel=medany
+ variants:
+ - riscv/rv64imac_medany
+- value:
+ - -march=rv64imac
+ - -mabi=lp64
+ variants:
+ - riscv/rv64imac
+- value: []
+ variants:
+ - riscv/rv32imafdc
+- value:
+ - -march=rv32imafd
+ - -mabi=ilp32d
+ variants:
+ - riscv/rv32imafd
+- value:
+ - -march=rv32imafc
+ - -mabi=ilp32f
+ variants:
+ - riscv/rv32imafc
+- value:
+ - -march=rv32im
+ - -mabi=ilp32
+ variants:
+ - riscv/rv32im
+- value:
+ - -march=rv32iac
+ - -mabi=ilp32
+ variants:
+ - riscv/rv32iac
+- value:
+ - -march=rv32i
+ - -mabi=ilp32
+ variants:
+ - riscv/rv32i
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bspfrdme310arty.yml b/spec/build/bsps/riscv/riscv/bspfrdme310arty.yml
new file mode 100644
index 0000000000..a13b12dc3c
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bspfrdme310arty.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: frdme310arty
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv32i.yml b/spec/build/bsps/riscv/riscv/bsprv32i.yml
new file mode 100644
index 0000000000..168839eb31
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv32i.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv32i
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv32iac.yml b/spec/build/bsps/riscv/riscv/bsprv32iac.yml
new file mode 100644
index 0000000000..ce226c6344
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv32iac.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv32iac
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv32im.yml b/spec/build/bsps/riscv/riscv/bsprv32im.yml
new file mode 100644
index 0000000000..a6c77b421b
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv32im.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv32im
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv32imac.yml b/spec/build/bsps/riscv/riscv/bsprv32imac.yml
new file mode 100644
index 0000000000..25b9a4d00f
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv32imac.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv32imac
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv32imafc.yml b/spec/build/bsps/riscv/riscv/bsprv32imafc.yml
new file mode 100644
index 0000000000..fa8ce6a1d1
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv32imafc.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv32imafc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv32imafd.yml b/spec/build/bsps/riscv/riscv/bsprv32imafd.yml
new file mode 100644
index 0000000000..5ac45fdd2c
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv32imafd.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv32imafd
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv32imafdc.yml b/spec/build/bsps/riscv/riscv/bsprv32imafdc.yml
new file mode 100644
index 0000000000..104a7a1391
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv32imafdc.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv32imafdc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv64imac.yml b/spec/build/bsps/riscv/riscv/bsprv64imac.yml
new file mode 100644
index 0000000000..99dab47754
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv64imac.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv64imac
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv64imacmedany.yml b/spec/build/bsps/riscv/riscv/bsprv64imacmedany.yml
new file mode 100644
index 0000000000..c0db3e0720
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv64imacmedany.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv64imac_medany
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv64imafd.yml b/spec/build/bsps/riscv/riscv/bsprv64imafd.yml
new file mode 100644
index 0000000000..730a76a41d
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv64imafd.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv64imafd
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv64imafdc.yml b/spec/build/bsps/riscv/riscv/bsprv64imafdc.yml
new file mode 100644
index 0000000000..32a0837941
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv64imafdc.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv64imafdc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv64imafdcmedany.yml b/spec/build/bsps/riscv/riscv/bsprv64imafdcmedany.yml
new file mode 100644
index 0000000000..e4ecd4736a
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv64imafdcmedany.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv64imafdc_medany
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/bsprv64imafdmedany.yml b/spec/build/bsps/riscv/riscv/bsprv64imafdmedany.yml
new file mode 100644
index 0000000000..9e01572c70
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/bsprv64imafdmedany.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: riscv
+bsp: rv64imafd_medany
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: riscv
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/riscv/riscv/grp.yml b/spec/build/bsps/riscv/riscv/grp.yml
new file mode 100644
index 0000000000..396f8986ec
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/grp.yml
@@ -0,0 +1,58 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../optclang
+- role: build-dependency
+ uid: ../../optconsolebaud
+- role: build-dependency
+ uid: ../../optgcc
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../optrambegin
+- role: build-dependency
+ uid: ../optramsize
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optextirqmax
+- role: build-dependency
+ uid: optfdtcpyro
+- role: build-dependency
+ uid: optfdtmxsz
+- role: build-dependency
+ uid: optfdtro
+- role: build-dependency
+ uid: optfdtuboot
+- role: build-dependency
+ uid: optfrdme310arty
+- role: build-dependency
+ uid: opthtif
+- role: build-dependency
+ uid: optns16550max
+- role: build-dependency
+ uid: ../linkcmds
+- role: build-dependency
+ uid: ../linkcmdsbase
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/riscv/riscv/obj.yml b/spec/build/bsps/riscv/riscv/obj.yml
new file mode 100644
index 0000000000..c16dc226c7
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/obj.yml
@@ -0,0 +1,41 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/riscv/riscv/include/bsp.h
+ - bsps/riscv/riscv/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/riscv/riscv/include/bsp/fe310-uart.h
+ - bsps/riscv/riscv/include/bsp/irq.h
+ - bsps/riscv/riscv/include/bsp/riscv.h
+- destination: ${BSP_INCLUDEDIR}/dev/serial
+ source:
+ - bsps/riscv/riscv/include/dev/serial/htif.h
+links: []
+source:
+- bsps/riscv/riscv/clock/clockdrv.c
+- bsps/riscv/riscv/console/console-config.c
+- bsps/riscv/riscv/console/fe310-uart.c
+- bsps/riscv/riscv/console/htif.c
+- bsps/riscv/riscv/irq/irq.c
+- bsps/riscv/riscv/start/bsp_fatal_halt.c
+- bsps/riscv/riscv/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-cpucounter.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bsp-fdt.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+type: build
diff --git a/spec/build/bsps/riscv/riscv/objsmp.yml b/spec/build/bsps/riscv/riscv/objsmp.yml
new file mode 100644
index 0000000000..46369f977e
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/objsmp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/riscv/riscv/start/bspsmp.c
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optextirqmax.yml b/spec/build/bsps/riscv/riscv/optextirqmax.yml
new file mode 100644
index 0000000000..ffa84748b6
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optextirqmax.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 64
+default-by-variant: []
+description: |
+ maximum number of external interrupts supported by the BSP (default 64)
+enabled-by: true
+format: '{}'
+links: []
+name: RISCV_MAXIMUM_EXTERNAL_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optfdtcpyro.yml b/spec/build/bsps/riscv/riscv/optfdtcpyro.yml
new file mode 100644
index 0000000000..c26b1ae051
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optfdtcpyro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the FDT blob into the read-only load area via bsp_fdt_copy()
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_COPY_TO_READ_ONLY_LOAD_AREA
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optfdtmxsz.yml b/spec/build/bsps/riscv/riscv/optfdtmxsz.yml
new file mode 100644
index 0000000000..63a42f5a29
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optfdtmxsz.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 65536
+default-by-variant: []
+description: |
+ maximum size of the FDT blob in bytes
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_FDT_BLOB_SIZE_MAX
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optfdtro.yml b/spec/build/bsps/riscv/riscv/optfdtro.yml
new file mode 100644
index 0000000000..a61bb2924b
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optfdtro.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ place the FDT blob into the read-only data area
+enabled-by: true
+links: []
+name: BSP_FDT_BLOB_READ_ONLY
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optfdtuboot.yml b/spec/build/bsps/riscv/riscv/optfdtuboot.yml
new file mode 100644
index 0000000000..5805e912ff
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optfdtuboot.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ copy the U-Boot provided FDT to an internal storage
+enabled-by: true
+links: []
+name: BSP_START_COPY_FDT_FROM_U_BOOT
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optfrdme310arty.yml b/spec/build/bsps/riscv/riscv/optfrdme310arty.yml
new file mode 100644
index 0000000000..0623694cca
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optfrdme310arty.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant:
+- value: true
+ variants:
+ - riscv/frdme310arty.*
+description: |
+ enables support sifive Freedom E310 Arty board if defined to a non-zero value,otherwise it is disabled (disabled by default)
+enabled-by: true
+links: []
+name: RISCV_ENABLE_FRDME310ARTY_SUPPORT
+type: build
diff --git a/spec/build/bsps/riscv/riscv/opthtif.yml b/spec/build/bsps/riscv/riscv/opthtif.yml
new file mode 100644
index 0000000000..9161716869
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/opthtif.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ enables the HTIF support if defined to a non-zero value, otherwise it is disabled (disabled by default)
+enabled-by: true
+links: []
+name: RISCV_ENABLE_HTIF_SUPPORT
+type: build
diff --git a/spec/build/bsps/riscv/riscv/optns16550max.yml b/spec/build/bsps/riscv/riscv/optns16550max.yml
new file mode 100644
index 0000000000..7e385a57b7
--- /dev/null
+++ b/spec/build/bsps/riscv/riscv/optns16550max.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 2
+default-by-variant:
+- value: null
+ variants:
+ - riscv/frdme310arty.*
+description: |
+ maximum number of NS16550 devices supported by the console driver (2 by default)
+enabled-by: true
+format: '{}'
+links: []
+name: RISCV_CONSOLE_MAX_NS16550_DEVICES
+type: build
diff --git a/spec/build/bsps/riscv/start.yml b/spec/build/bsps/riscv/start.yml
new file mode 100644
index 0000000000..3b27ba1169
--- /dev/null
+++ b/spec/build/bsps/riscv/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/riscv/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/sh/gensh1/abi.yml b/spec/build/bsps/sh/gensh1/abi.yml
new file mode 100644
index 0000000000..4e3646562a
--- /dev/null
+++ b/spec/build/bsps/sh/gensh1/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -m1
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sh/gensh1/bspgensh1.yml b/spec/build/bsps/sh/gensh1/bspgensh1.yml
new file mode 100644
index 0000000000..1a87d55042
--- /dev/null
+++ b/spec/build/bsps/sh/gensh1/bspgensh1.yml
@@ -0,0 +1,69 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sh
+bsp: gensh1
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gensh1
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sh/gensh1/include/bsp.h
+ - bsps/sh/gensh1/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sh/gensh1/include/bsp/irq.h
+- destination: ${BSP_INCLUDEDIR}/rtems/score
+ source:
+ - bsps/sh/gensh1/include/rtems/score/iosh7032.h
+ - bsps/sh/gensh1/include/rtems/score/ispsh7032.h
+- destination: ${BSP_INCLUDEDIR}/sh
+ source:
+ - bsps/sh/gensh1/include/sh/sci.h
+ - bsps/sh/gensh1/include/sh/sh7_pfc.h
+ - bsps/sh/gensh1/include/sh/sh7_sci.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sh/gensh1/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optcpuclk
+- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: tstgensh1
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/sh/gensh1/btimer/btimer.c
+- bsps/sh/gensh1/clock/ckinit.c
+- bsps/sh/gensh1/clock/delay.c
+- bsps/sh/gensh1/console/sci.c
+- bsps/sh/gensh1/console/scitab.c
+- bsps/sh/gensh1/start/cpu_asm.c
+- bsps/sh/gensh1/start/ispsh7032.c
+- bsps/sh/shared/console/console.c
+- bsps/sh/shared/start/bsphwinit.c
+- bsps/sh/shared/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-loop.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/sh/gensh1/optcpuclk.yml b/spec/build/bsps/sh/gensh1/optcpuclk.yml
new file mode 100644
index 0000000000..086145a786
--- /dev/null
+++ b/spec/build/bsps/sh/gensh1/optcpuclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 20000000
+default-by-variant: []
+description: |
+ cpu clock rate in HZ
+enabled-by: true
+format: '{}'
+links: []
+name: CPU_CLOCK_RATE_HZ
+type: build
diff --git a/spec/build/bsps/sh/gensh1/optlowinit.yml b/spec/build/bsps/sh/gensh1/optlowinit.yml
new file mode 100644
index 0000000000..60f16b388b
--- /dev/null
+++ b/spec/build/bsps/sh/gensh1/optlowinit.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, selects whether 'early_hw_init()' is called from 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c'
+enabled-by: true
+links: []
+name: START_HW_INIT
+type: build
diff --git a/spec/build/bsps/sh/gensh1/start.yml b/spec/build/bsps/sh/gensh1/start.yml
new file mode 100644
index 0000000000..010b43e35d
--- /dev/null
+++ b/spec/build/bsps/sh/gensh1/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/sh/gensh1/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/sh/gensh1/tstgensh1.yml b/spec/build/bsps/sh/gensh1/tstgensh1.yml
new file mode 100644
index 0000000000..6851063503
--- /dev/null
+++ b/spec/build/bsps/sh/gensh1/tstgensh1.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/sh/gensh2/abi.yml b/spec/build/bsps/sh/gensh2/abi.yml
new file mode 100644
index 0000000000..4bd34deb19
--- /dev/null
+++ b/spec/build/bsps/sh/gensh2/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -m2
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sh/gensh2/bspgensh2.yml b/spec/build/bsps/sh/gensh2/bspgensh2.yml
new file mode 100644
index 0000000000..bbe027c54d
--- /dev/null
+++ b/spec/build/bsps/sh/gensh2/bspgensh2.yml
@@ -0,0 +1,77 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sh
+bsp: gensh2
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gensh2
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sh/gensh2/include/bsp.h
+ - bsps/sh/gensh2/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sh/gensh2/include/bsp/irq.h
+- destination: ${BSP_INCLUDEDIR}/rtems/score
+ source:
+ - bsps/sh/gensh2/include/rtems/score/iosh7045.h
+ - bsps/sh/gensh2/include/rtems/score/ispsh7045.h
+- destination: ${BSP_INCLUDEDIR}/sh
+ source:
+ - bsps/sh/gensh2/include/sh/io_types.h
+ - bsps/sh/gensh2/include/sh/sci.h
+ - bsps/sh/gensh2/include/sh/sci_termios.h
+ - bsps/sh/gensh2/include/sh/sh7_pfc.h
+ - bsps/sh/gensh2/include/sh/sh7_sci.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sh/gensh2/start/linkcmds
+ - bsps/sh/gensh2/start/linkcmds.ram
+ - bsps/sh/gensh2/start/linkcmds.rom
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optcpuclk
+- role: build-dependency
+ uid: optevb
+- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: tstgensh2
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/sh/gensh2/btimer/btimer.c
+- bsps/sh/gensh2/clock/ckinit.c
+- bsps/sh/gensh2/console/config.c
+- bsps/sh/gensh2/console/sci.c
+- bsps/sh/gensh2/console/sci_termios.c
+- bsps/sh/gensh2/console/scitab.c
+- bsps/sh/gensh2/start/cpu_asm.c
+- bsps/sh/gensh2/start/hw_init.c
+- bsps/sh/gensh2/start/ispsh7045.c
+- bsps/sh/shared/console/console.c
+- bsps/sh/shared/start/bsphwinit.c
+- bsps/sh/shared/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/sh/gensh2/optcpuclk.yml b/spec/build/bsps/sh/gensh2/optcpuclk.yml
new file mode 100644
index 0000000000..086145a786
--- /dev/null
+++ b/spec/build/bsps/sh/gensh2/optcpuclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 20000000
+default-by-variant: []
+description: |
+ cpu clock rate in HZ
+enabled-by: true
+format: '{}'
+links: []
+name: CPU_CLOCK_RATE_HZ
+type: build
diff --git a/spec/build/bsps/sh/gensh2/optevb.yml b/spec/build/bsps/sh/gensh2/optevb.yml
new file mode 100644
index 0000000000..45d1a7d0bc
--- /dev/null
+++ b/spec/build/bsps/sh/gensh2/optevb.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, compiles code to jump-start from FLASH, without a monitor
+enabled-by: true
+links: []
+name: STANDALONE_EVB
+type: build
diff --git a/spec/build/bsps/sh/gensh2/optlowinit.yml b/spec/build/bsps/sh/gensh2/optlowinit.yml
new file mode 100644
index 0000000000..60f16b388b
--- /dev/null
+++ b/spec/build/bsps/sh/gensh2/optlowinit.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, selects whether 'early_hw_init()' is called from 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c'
+enabled-by: true
+links: []
+name: START_HW_INIT
+type: build
diff --git a/spec/build/bsps/sh/gensh2/start.yml b/spec/build/bsps/sh/gensh2/start.yml
new file mode 100644
index 0000000000..1dff0089a6
--- /dev/null
+++ b/spec/build/bsps/sh/gensh2/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/sh/gensh2/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/sh/gensh2/tstgensh2.yml b/spec/build/bsps/sh/gensh2/tstgensh2.yml
new file mode 100644
index 0000000000..6851063503
--- /dev/null
+++ b/spec/build/bsps/sh/gensh2/tstgensh2.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+type: build
diff --git a/spec/build/bsps/sh/gensh4/abi.yml b/spec/build/bsps/sh/gensh4/abi.yml
new file mode 100644
index 0000000000..cc406a30b6
--- /dev/null
+++ b/spec/build/bsps/sh/gensh4/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -m4
+- -ml
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sh/gensh4/bspgensh4.yml b/spec/build/bsps/sh/gensh4/bspgensh4.yml
new file mode 100644
index 0000000000..9eabffcc0a
--- /dev/null
+++ b/spec/build/bsps/sh/gensh4/bspgensh4.yml
@@ -0,0 +1,72 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sh
+bsp: gensh4
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gensh4
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sh/gensh4/include/bsp.h
+ - bsps/sh/gensh4/include/sdram.h
+ - bsps/sh/gensh4/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sh/gensh4/include/bsp/irq.h
+- destination: ${BSP_INCLUDEDIR}/rtems/score
+ source:
+ - bsps/sh/gensh4/include/rtems/score/iosh7750.h
+ - bsps/sh/gensh4/include/rtems/score/ipl.h
+ - bsps/sh/gensh4/include/rtems/score/ispsh7750.h
+ - bsps/sh/gensh4/include/rtems/score/sh4_regs.h
+ - bsps/sh/gensh4/include/rtems/score/sh7750_regs.h
+- destination: ${BSP_INCLUDEDIR}/sh
+ source:
+ - bsps/sh/gensh4/include/sh/sh4uart.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sh/gensh4/start/linkcmds
+ - bsps/sh/gensh4/start/linkcmds.rom
+ - bsps/sh/gensh4/start/linkcmds.rom2ram
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optcpuclk
+- role: build-dependency
+ uid: optcpydata
+- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/sh/gensh4/btimer/btimer.c
+- bsps/sh/gensh4/clock/ckinit.c
+- bsps/sh/gensh4/console/console.c
+- bsps/sh/gensh4/console/sh4uart.c
+- bsps/sh/gensh4/start/cpu_asm.c
+- bsps/sh/gensh4/start/hw_init.c
+- bsps/sh/gensh4/start/ispsh7750.c
+- bsps/sh/shared/start/bsphwinit.c
+- bsps/sh/shared/start/bspstart.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/printk-dummy.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/sh/gensh4/optcpuclk.yml b/spec/build/bsps/sh/gensh4/optcpuclk.yml
new file mode 100644
index 0000000000..086145a786
--- /dev/null
+++ b/spec/build/bsps/sh/gensh4/optcpuclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 20000000
+default-by-variant: []
+description: |
+ cpu clock rate in HZ
+enabled-by: true
+format: '{}'
+links: []
+name: CPU_CLOCK_RATE_HZ
+type: build
diff --git a/spec/build/bsps/sh/gensh4/optcpydata.yml b/spec/build/bsps/sh/gensh4/optcpydata.yml
new file mode 100644
index 0000000000..7d49b9b781
--- /dev/null
+++ b/spec/build/bsps/sh/gensh4/optcpydata.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Whether to copy data from ROM to RAM in start.S
+enabled-by: true
+links: []
+name: COPY_DATA_FROM_ROM
+type: build
diff --git a/spec/build/bsps/sh/gensh4/optlowinit.yml b/spec/build/bsps/sh/gensh4/optlowinit.yml
new file mode 100644
index 0000000000..2a90a73753
--- /dev/null
+++ b/spec/build/bsps/sh/gensh4/optlowinit.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ Whether to call early_hw_init from start.S
+enabled-by: true
+links: []
+name: START_HW_INIT
+type: build
diff --git a/spec/build/bsps/sh/gensh4/start.yml b/spec/build/bsps/sh/gensh4/start.yml
new file mode 100644
index 0000000000..1a86ac5498
--- /dev/null
+++ b/spec/build/bsps/sh/gensh4/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/sh/gensh4/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/sh/shsim/abi.yml b/spec/build/bsps/sh/shsim/abi.yml
new file mode 100644
index 0000000000..f5dcf145dc
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/abi.yml
@@ -0,0 +1,31 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -m4
+- -ml
+default-by-variant:
+- value:
+ - -m2e
+ - -ml
+ variants:
+ - sh/simsh2e
+- value:
+ - -m2
+ variants:
+ - sh/simsh2
+- value:
+ - -m1
+ variants:
+ - sh/simsh1
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sh/shsim/bspsimsh1.yml b/spec/build/bsps/sh/shsim/bspsimsh1.yml
new file mode 100644
index 0000000000..7789de35c7
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/bspsimsh1.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sh
+bsp: simsh1
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: shsim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstsimsh1
+source: []
+type: build
diff --git a/spec/build/bsps/sh/shsim/bspsimsh2.yml b/spec/build/bsps/sh/shsim/bspsimsh2.yml
new file mode 100644
index 0000000000..27486849b6
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/bspsimsh2.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sh
+bsp: simsh2
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: shsim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstsimsh2
+source: []
+type: build
diff --git a/spec/build/bsps/sh/shsim/bspsimsh2e.yml b/spec/build/bsps/sh/shsim/bspsimsh2e.yml
new file mode 100644
index 0000000000..098c9deb4b
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/bspsimsh2e.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sh
+bsp: simsh2e
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: shsim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstsimsh2e
+source: []
+type: build
diff --git a/spec/build/bsps/sh/shsim/bspsimsh4.yml b/spec/build/bsps/sh/shsim/bspsimsh4.yml
new file mode 100644
index 0000000000..1327583366
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/bspsimsh4.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sh
+bsp: simsh4
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: shsim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tstsimsh4
+source: []
+type: build
diff --git a/spec/build/bsps/sh/shsim/grp.yml b/spec/build/bsps/sh/shsim/grp.yml
new file mode 100644
index 0000000000..9c73c7ca0f
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/grp.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: optcpuclk
+- role: build-dependency
+ uid: optlowinit
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/sh/shsim/obj.yml b/spec/build/bsps/sh/shsim/obj.yml
new file mode 100644
index 0000000000..90de78fbf0
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/obj.yml
@@ -0,0 +1,41 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sh/shsim/include/bsp.h
+ - bsps/sh/shsim/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sh/shsim/include/bsp/irq.h
+ - bsps/sh/shsim/include/bsp/syscall.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sh/shsim/start/linkcmds
+links: []
+source:
+- bsps/sh/shared/start/bsphwinit.c
+- bsps/sh/shared/start/bspstart.c
+- bsps/sh/shsim/console/console-debugio.c
+- bsps/sh/shsim/console/console-io.c
+- bsps/sh/shsim/console/console-support.S
+- bsps/sh/shsim/start/cpu_asm.c
+- bsps/sh/shsim/start/ispshgdb.c
+- bsps/sh/shsim/start/sysexit.c
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/clock/clock-simidle.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+type: build
diff --git a/spec/build/bsps/sh/shsim/optcpuclk.yml b/spec/build/bsps/sh/shsim/optcpuclk.yml
new file mode 100644
index 0000000000..086145a786
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/optcpuclk.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 20000000
+default-by-variant: []
+description: |
+ cpu clock rate in HZ
+enabled-by: true
+format: '{}'
+links: []
+name: CPU_CLOCK_RATE_HZ
+type: build
diff --git a/spec/build/bsps/sh/shsim/optlowinit.yml b/spec/build/bsps/sh/shsim/optlowinit.yml
new file mode 100644
index 0000000000..60f16b388b
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/optlowinit.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, selects whether 'early_hw_init()' is called from 'start.S'; 'bsp_hw_init()' is always called from 'bspstart.c'
+enabled-by: true
+links: []
+name: START_HW_INIT
+type: build
diff --git a/spec/build/bsps/sh/shsim/start.yml b/spec/build/bsps/sh/shsim/start.yml
new file mode 100644
index 0000000000..da632db0d7
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/sh/shsim/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/sh/shsim/tstsimsh1.yml b/spec/build/bsps/sh/shsim/tstsimsh1.yml
new file mode 100644
index 0000000000..a915754a76
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/tstsimsh1.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+- role: build-dependency
+ uid: ../../tstnointrcrit
+- role: build-dependency
+ uid: ../../tstreqtick
+type: build
diff --git a/spec/build/bsps/sh/shsim/tstsimsh2.yml b/spec/build/bsps/sh/shsim/tstsimsh2.yml
new file mode 100644
index 0000000000..a915754a76
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/tstsimsh2.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+- role: build-dependency
+ uid: ../../tstnointrcrit
+- role: build-dependency
+ uid: ../../tstreqtick
+type: build
diff --git a/spec/build/bsps/sh/shsim/tstsimsh2e.yml b/spec/build/bsps/sh/shsim/tstsimsh2e.yml
new file mode 100644
index 0000000000..a915754a76
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/tstsimsh2e.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+- role: build-dependency
+ uid: ../../tstnointrcrit
+- role: build-dependency
+ uid: ../../tstreqtick
+type: build
diff --git a/spec/build/bsps/sh/shsim/tstsimsh4.yml b/spec/build/bsps/sh/shsim/tstsimsh4.yml
new file mode 100644
index 0000000000..a915754a76
--- /dev/null
+++ b/spec/build/bsps/sh/shsim/tstsimsh4.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fileio: exclude
+ fsdosfsname01: exclude
+ iostream: exclude
+ linpack: exclude
+ record02: exclude
+ utf8proc01: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+- role: build-dependency
+ uid: ../../tstnointrcrit
+- role: build-dependency
+ uid: ../../tstreqtick
+type: build
diff --git a/spec/build/bsps/sparc/erc32/abi.yml b/spec/build/bsps/sparc/erc32/abi.yml
new file mode 100644
index 0000000000..f8ea9fb8da
--- /dev/null
+++ b/spec/build/bsps/sparc/erc32/abi.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=cypress
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sparc/erc32/bsperc32.yml b/spec/build/bsps/sparc/erc32/bsperc32.yml
new file mode 100644
index 0000000000..ecf630278f
--- /dev/null
+++ b/spec/build/bsps/sparc/erc32/bsperc32.yml
@@ -0,0 +1,76 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: erc32
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: erc32
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sparc/erc32/include/bsp.h
+ - bsps/sparc/erc32/include/erc32.h
+ - bsps/sparc/erc32/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sparc/erc32/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sparc/erc32/start/linkcmds
+ - bsps/sparc/shared/start/linkcmds.base
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optpwrdwnhlt
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/sparc/erc32/btimer/btimer.c
+- bsps/sparc/erc32/clock/ckinit.c
+- bsps/sparc/erc32/console/debugputs.c
+- bsps/sparc/erc32/console/erc32_console.c
+- bsps/sparc/erc32/gnatsupp/gnatsupp.c
+- bsps/sparc/erc32/start/boardinit.S
+- bsps/sparc/erc32/start/bspdelay.c
+- bsps/sparc/erc32/start/bspidle.c
+- bsps/sparc/erc32/start/bspstart.c
+- bsps/sparc/erc32/start/erc32mec.c
+- bsps/sparc/erc32/start/setvec.c
+- bsps/sparc/erc32/start/spurious.c
+- bsps/sparc/shared/gnatcommon.c
+- bsps/sparc/shared/irq/bsp_isr_handler.c
+- bsps/sparc/shared/irq/irq-shared.c
+- bsps/sparc/shared/start/bsp_fatal_exit.c
+- bsps/sparc/shared/start/bsp_fatal_halt.c
+- bsps/sparc/shared/start/bspgetworkarea.c
+type: build
diff --git a/spec/build/bsps/sparc/erc32/objnet.yml b/spec/build/bsps/sparc/erc32/objnet.yml
new file mode 100644
index 0000000000..bc5c468579
--- /dev/null
+++ b/spec/build/bsps/sparc/erc32/objnet.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/sparc/erc32/net/erc32sonic.c
+type: build
diff --git a/spec/build/bsps/sparc/erc32/objsmp.yml b/spec/build/bsps/sparc/erc32/objsmp.yml
new file mode 100644
index 0000000000..05aa378fb7
--- /dev/null
+++ b/spec/build/bsps/sparc/erc32/objsmp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/sparc/erc32/start/bspsmp.c
+type: build
diff --git a/spec/build/bsps/sparc/erc32/optconirq.yml b/spec/build/bsps/sparc/erc32/optconirq.yml
new file mode 100644
index 0000000000..df25d621b4
--- /dev/null
+++ b/spec/build/bsps/sparc/erc32/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ The erc32 console driver can operate in either polled or interrupt mode. Under the simulator (especially when FAST_UART is defined), polled seems to operate better. It is common for a task to print a line (like the end of test message) and then exit. In this case, the program returns control to the simulator command line before the program has even queued the output to the uart. Thus sis has no chance of getting the data out.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/sparc/erc32/optpwrdwnhlt.yml b/spec/build/bsps/sparc/erc32/optpwrdwnhlt.yml
new file mode 100644
index 0000000000..6627a5b071
--- /dev/null
+++ b/spec/build/bsps/sparc/erc32/optpwrdwnhlt.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, CPU is spinning on fatal exit. Otherwise generate system error which will hand over to debugger, simulator, etc.
+enabled-by: true
+links: []
+name: BSP_POWER_DOWN_AT_FATAL_HALT
+type: build
diff --git a/spec/build/bsps/sparc/grp.yml b/spec/build/bsps/sparc/grp.yml
new file mode 100644
index 0000000000..edae33b04a
--- /dev/null
+++ b/spec/build/bsps/sparc/grp.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sparc/include/bsp/gnatcommon.h
+ - bsps/sparc/include/bsp/gr_leon4_n2x.h
+- destination: ${BSP_INCLUDEDIR}/drvmgr
+ source:
+ - bsps/sparc/include/drvmgr/leon2_amba_bus.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/sparc/leon2/abi.yml b/spec/build/bsps/sparc/leon2/abi.yml
new file mode 100644
index 0000000000..21fe1b77ca
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/abi.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=leon
+default-by-variant:
+- value:
+ - -mcpu=leon
+ - -mfix-at697f
+ variants:
+ - sparc/at697f
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sparc/leon2/bspat697f.yml b/spec/build/bsps/sparc/leon2/bspat697f.yml
new file mode 100644
index 0000000000..6cb215721c
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/bspat697f.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: at697f
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: leon2
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/sparc/leon2/bspleon2.yml b/spec/build/bsps/sparc/leon2/bspleon2.yml
new file mode 100644
index 0000000000..0ed296385d
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/bspleon2.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: leon2
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: leon2
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/sparc/leon2/grp.yml b/spec/build/bsps/sparc/leon2/grp.yml
new file mode 100644
index 0000000000..352576f157
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/grp.yml
@@ -0,0 +1,38 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objgrlib
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optpwrdwnhlt
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/sparc/leon2/obj.yml b/spec/build/bsps/sparc/leon2/obj.yml
new file mode 100644
index 0000000000..8f2d9a1394
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/obj.yml
@@ -0,0 +1,52 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sparc/leon2/include/bsp.h
+ - bsps/sparc/leon2/include/leon.h
+ - bsps/sparc/leon2/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sparc/leon2/include/bsp/at697_pci.h
+ - bsps/sparc/leon2/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sparc/leon2/start/linkcmds.at697f
+ - bsps/sparc/leon2/start/linkcmds.leon2
+ - bsps/sparc/shared/start/linkcmds.base
+links: []
+source:
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/sparc/leon2/btimer/btimer.c
+- bsps/sparc/leon2/clock/ckinit.c
+- bsps/sparc/leon2/console/console.c
+- bsps/sparc/leon2/console/debugputs.c
+- bsps/sparc/leon2/gnatsupp/gnatsupp.c
+- bsps/sparc/leon2/pci/at697_pci.c
+- bsps/sparc/leon2/start/bspdelay.c
+- bsps/sparc/leon2/start/bspidle.c
+- bsps/sparc/leon2/start/bspstart.c
+- bsps/sparc/leon2/start/cache.c
+- bsps/sparc/leon2/start/setvec.c
+- bsps/sparc/leon2/start/spurious.c
+- bsps/sparc/shared/drvmgr/ambapp_bus_leon2.c
+- bsps/sparc/shared/drvmgr/leon2_amba_bus.c
+- bsps/sparc/shared/gnatcommon.c
+- bsps/sparc/shared/irq/bsp_isr_handler.c
+- bsps/sparc/shared/irq/irq-shared.c
+- bsps/sparc/shared/start/bsp_fatal_exit.c
+- bsps/sparc/shared/start/bsp_fatal_halt.c
+- bsps/sparc/shared/start/bspgetworkarea.c
+type: build
diff --git a/spec/build/bsps/sparc/leon2/objnet.yml b/spec/build/bsps/sparc/leon2/objnet.yml
new file mode 100644
index 0000000000..d27a71022a
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/sparc/leon2/net/leon_open_eth.c
+- bsps/sparc/leon2/net/leon_smc91111.c
+type: build
diff --git a/spec/build/bsps/sparc/leon2/objsmp.yml b/spec/build/bsps/sparc/leon2/objsmp.yml
new file mode 100644
index 0000000000..bf5d80637d
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/objsmp.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/shared/start/bspsmp-dummy.c
+- bsps/shared/start/getcurrentprocessor-zero.c
+type: build
diff --git a/spec/build/bsps/sparc/leon2/optconirq.yml b/spec/build/bsps/sparc/leon2/optconirq.yml
new file mode 100644
index 0000000000..4163b30aff
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ The leon2 console driver can operate in either polled or interrupt mode. Under the simulator (especially when FAST_UART is defined), polled seems to operate better. It is common for a task to print a line (like the end of test message) and then exit. In this case, the program returns control to the simulator command line before the program has even queued the output to the uart. Thus sis has no chance of getting the data out.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/sparc/leon2/optpwrdwnhlt.yml b/spec/build/bsps/sparc/leon2/optpwrdwnhlt.yml
new file mode 100644
index 0000000000..6627a5b071
--- /dev/null
+++ b/spec/build/bsps/sparc/leon2/optpwrdwnhlt.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, CPU is spinning on fatal exit. Otherwise generate system error which will hand over to debugger, simulator, etc.
+enabled-by: true
+links: []
+name: BSP_POWER_DOWN_AT_FATAL_HALT
+type: build
diff --git a/spec/build/bsps/sparc/leon3/abi.yml b/spec/build/bsps/sparc/leon3/abi.yml
new file mode 100644
index 0000000000..b725d5de48
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/abi.yml
@@ -0,0 +1,33 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mcpu=leon3
+default-by-variant:
+- value:
+ - -mcpu=leon3
+ - -mfix-ut700
+ variants:
+ - sparc/ut700
+- value:
+ - -mcpu=leon
+ - -mfix-ut699
+ variants:
+ - sparc/ut699
+- value:
+ - -mcpu=leon3
+ - -mfix-gr712rc
+ variants:
+ - sparc/gr712rc
+description: |
+ ABI flags
+enabled-by:
+- gcc
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sparc/leon3/abiclang.yml b/spec/build/bsps/sparc/leon3/abiclang.yml
new file mode 100644
index 0000000000..6c9646e7cd
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/abiclang.yml
@@ -0,0 +1,36 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
+default:
+- -mcpu=leon3
+default-by-variant:
+- value:
+ - -mcpu=leon3
+ - -mfix-ut700
+ variants:
+ - sparc/ut700
+- value:
+ - -mcpu=leon
+ - -mfix-ut699
+ variants:
+ - sparc/ut699
+- value:
+ - -mcpu=gr712rc
+ variants:
+ - sparc/gr712rc
+- value:
+ - -mcpu=gr740
+ variants:
+ - sparc/gr740
+description: |
+ ABI flags
+enabled-by:
+- clang
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sparc/leon3/bspgr712rc.yml b/spec/build/bsps/sparc/leon3/bspgr712rc.yml
new file mode 100644
index 0000000000..8a065444ab
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/bspgr712rc.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: gr712rc
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: leon3
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/sparc/leon3/bspgr740.yml b/spec/build/bsps/sparc/leon3/bspgr740.yml
new file mode 100644
index 0000000000..a5f3cd30f6
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/bspgr740.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: gr740
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: leon3
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/sparc/leon3/bspleon3.yml b/spec/build/bsps/sparc/leon3/bspleon3.yml
new file mode 100644
index 0000000000..63b4e54f58
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/bspleon3.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: leon3
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: leon3
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/sparc/leon3/bsput699.yml b/spec/build/bsps/sparc/leon3/bsput699.yml
new file mode 100644
index 0000000000..0a2f9ce596
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/bsput699.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: ut699
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: leon3
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/sparc/leon3/bsput700.yml b/spec/build/bsps/sparc/leon3/bsput700.yml
new file mode 100644
index 0000000000..52353fda7d
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/bsput700.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc
+bsp: ut700
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: leon3
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/sparc/leon3/grp.yml b/spec/build/bsps/sparc/leon3/grp.yml
new file mode 100644
index 0000000000..48d73df908
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/grp.yml
@@ -0,0 +1,46 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../linkcmds
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objgrlib
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abiclang
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: objmpci
+- role: build-dependency
+ uid: objnet
+- role: build-dependency
+ uid: objnetnosmp
+- role: build-dependency
+ uid: objsmp
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: optleon3smp
+- role: build-dependency
+ uid: optpwrdwnhlt
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/sparc/leon3/obj.yml b/spec/build/bsps/sparc/leon3/obj.yml
new file mode 100644
index 0000000000..03629ee620
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/obj.yml
@@ -0,0 +1,62 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sparc/leon3/include/amba.h
+ - bsps/sparc/leon3/include/bsp.h
+ - bsps/sparc/leon3/include/leon.h
+ - bsps/sparc/leon3/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sparc/leon3/include/bsp/irq.h
+ - bsps/sparc/leon3/include/bsp/watchdog.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sparc/leon3/start/linkcmds.gr712rc
+ - bsps/sparc/leon3/start/linkcmds.gr740
+ - bsps/sparc/leon3/start/linkcmds.leon3
+ - bsps/sparc/leon3/start/linkcmds.ut699
+ - bsps/sparc/leon3/start/linkcmds.ut700
+ - bsps/sparc/shared/start/linkcmds.base
+links: []
+source:
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/sparc/leon3/btimer/btimer.c
+- bsps/sparc/leon3/btimer/watchdog.c
+- bsps/sparc/leon3/clock/ckinit.c
+- bsps/sparc/leon3/console/console.c
+- bsps/sparc/leon3/console/printk_support.c
+- bsps/sparc/leon3/gnatsupp/gnatsupp.c
+- bsps/sparc/leon3/start/amba.c
+- bsps/sparc/leon3/start/bsp_fatal_halt.c
+- bsps/sparc/leon3/start/bspclean.c
+- bsps/sparc/leon3/start/bspdelay.c
+- bsps/sparc/leon3/start/bspidle.S
+- bsps/sparc/leon3/start/bspstart.c
+- bsps/sparc/leon3/start/cache.c
+- bsps/sparc/leon3/start/cpucounter.c
+- bsps/sparc/leon3/start/eirq.c
+- bsps/sparc/leon3/start/setvec.c
+- bsps/sparc/leon3/start/spurious.c
+- bsps/sparc/shared/gnatcommon.c
+- bsps/sparc/shared/irq/bsp_isr_handler.c
+- bsps/sparc/shared/irq/irq-shared.c
+- bsps/sparc/shared/pci/gr_cpci_gr740.c
+- bsps/sparc/shared/pci/gr_leon4_n2x.c
+- bsps/sparc/shared/pci/pci_memreg_sparc_be.c
+- bsps/sparc/shared/pci/pci_memreg_sparc_le.c
+- bsps/sparc/shared/start/bsp_fatal_exit.c
+- bsps/sparc/shared/start/bspgetworkarea.c
+type: build
diff --git a/spec/build/bsps/sparc/leon3/objmpci.yml b/spec/build/bsps/sparc/leon3/objmpci.yml
new file mode 100644
index 0000000000..dee85a3cd1
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/objmpci.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_MULTIPROCESSING
+includes: []
+install: []
+links: []
+source:
+- bsps/sparc/leon3/mpci/addrconv.c
+- bsps/sparc/leon3/mpci/getcfg.c
+- bsps/sparc/leon3/mpci/lock.c
+- bsps/sparc/leon3/mpci/mpisr.c
+type: build
diff --git a/spec/build/bsps/sparc/leon3/objnet.yml b/spec/build/bsps/sparc/leon3/objnet.yml
new file mode 100644
index 0000000000..2e7611e8bc
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/objnet.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_NETWORKING
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/sparc/leon3/net/leon_open_eth.c
+- bsps/sparc/leon3/net/leon_smc91111.c
+type: build
diff --git a/spec/build/bsps/sparc/leon3/objnetnosmp.yml b/spec/build/bsps/sparc/leon3/objnetnosmp.yml
new file mode 100644
index 0000000000..3d4a2c3ed9
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/objnetnosmp.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- and:
+ - RTEMS_NETWORKING
+ - not: RTEMS_SMP
+includes:
+- cpukit/libnetworking
+install: []
+links: []
+source:
+- bsps/sparc/leon3/net/leon_greth.c
+type: build
diff --git a/spec/build/bsps/sparc/leon3/objsmp.yml b/spec/build/bsps/sparc/leon3/objsmp.yml
new file mode 100644
index 0000000000..72a43f2a78
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/objsmp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by:
+- RTEMS_SMP
+includes: []
+install: []
+links: []
+source:
+- bsps/sparc/leon3/start/bspsmp.c
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optconirq.yml b/spec/build/bsps/sparc/leon3/optconirq.yml
new file mode 100644
index 0000000000..2278f00ef3
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optconirq.yml
@@ -0,0 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0
+default-by-variant: []
+description: |
+ The leon3 console driver can operate in either polled or interrupt mode. Under the simulator (especially when FAST_UART is defined), polled seems to operate better.
+enabled-by: true
+format: '{}'
+links: []
+name: CONSOLE_USE_INTERRUPTS
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optleon3smp.yml b/spec/build/bsps/sparc/leon3/optleon3smp.yml
new file mode 100644
index 0000000000..c78929c198
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optleon3smp.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: true
+default-by-variant: []
+description: |
+ Always defined when on a LEON3 to enable the LEON3 support for determining the CPU core number in an SMP configuration.
+enabled-by: true
+links: []
+name: BSP_LEON3_SMP
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml b/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml
new file mode 100644
index 0000000000..8923870017
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, CPU is powered down on fatal exit. Otherwise generate system error which will hand over to debugger, simulator, etc.
+enabled-by: true
+links: []
+name: BSP_POWER_DOWN_AT_FATAL_HALT
+type: build
diff --git a/spec/build/bsps/sparc/start.yml b/spec/build/bsps/sparc/start.yml
new file mode 100644
index 0000000000..65293d8d8a
--- /dev/null
+++ b/spec/build/bsps/sparc/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/sparc/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/sparc64/grp.yml b/spec/build/bsps/sparc64/grp.yml
new file mode 100644
index 0000000000..83d85d1a01
--- /dev/null
+++ b/spec/build/bsps/sparc64/grp.yml
@@ -0,0 +1,58 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sparc64/include/asm.h
+ - bsps/sparc64/include/traptable.h
+- destination: ${BSP_INCLUDEDIR}/arch
+ source:
+ - bsps/sparc64/include/arch/arch.h
+ - bsps/sparc64/include/arch/boot.h
+ - bsps/sparc64/include/arch/regdef.h
+ - bsps/sparc64/include/arch/stack.h
+- destination: ${BSP_INCLUDEDIR}/arch/mm
+ source:
+ - bsps/sparc64/include/arch/mm/cache_spec.h
+ - bsps/sparc64/include/arch/mm/doxygen.h
+ - bsps/sparc64/include/arch/mm/frame.h
+ - bsps/sparc64/include/arch/mm/mmu.h
+ - bsps/sparc64/include/arch/mm/page.h
+ - bsps/sparc64/include/arch/mm/tlb.h
+ - bsps/sparc64/include/arch/mm/tte.h
+- destination: ${BSP_INCLUDEDIR}/arch/mm/sun4u
+ source:
+ - bsps/sparc64/include/arch/mm/sun4u/frame.h
+ - bsps/sparc64/include/arch/mm/sun4u/mmu.h
+ - bsps/sparc64/include/arch/mm/sun4u/page.h
+ - bsps/sparc64/include/arch/mm/sun4u/tlb.h
+ - bsps/sparc64/include/arch/mm/sun4u/tte.h
+- destination: ${BSP_INCLUDEDIR}/arch/sun4u
+ source:
+ - bsps/sparc64/include/arch/sun4u/arch.h
+- destination: ${BSP_INCLUDEDIR}/boot
+ source:
+ - bsps/sparc64/include/boot/align.h
+ - bsps/sparc64/include/boot/balloc.h
+ - bsps/sparc64/include/boot/gentypes.h
+ - bsps/sparc64/include/boot/main.h
+ - bsps/sparc64/include/boot/ofw.h
+ - bsps/sparc64/include/boot/ofw_tree.h
+ - bsps/sparc64/include/boot/ofwarch.h
+ - bsps/sparc64/include/boot/register.h
+ - bsps/sparc64/include/boot/types.h
+- destination: ${BSP_INCLUDEDIR}/genarch/ofw
+ source:
+ - bsps/sparc64/include/genarch/ofw/ofw_tree.h
+- destination: ${BSP_INCLUDEDIR}/kernel
+ source:
+ - bsps/sparc64/include/kernel/align.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/sparc64/niagara/abi.yml b/spec/build/bsps/sparc64/niagara/abi.yml
new file mode 100644
index 0000000000..d8aadc1831
--- /dev/null
+++ b/spec/build/bsps/sparc64/niagara/abi.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -DSUN4V
+- -mcpu=niagara
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sparc64/niagara/bspniagara.yml b/spec/build/bsps/sparc64/niagara/bspniagara.yml
new file mode 100644
index 0000000000..f92726a3a3
--- /dev/null
+++ b/spec/build/bsps/sparc64/niagara/bspniagara.yml
@@ -0,0 +1,63 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc64
+bsp: niagara
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: niagara
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sparc64/niagara/include/bsp.h
+ - bsps/sparc64/niagara/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sparc64/niagara/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sparc64/shared/start/linkcmds
+ - bsps/sparc64/shared/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/sparc64/niagara/start/bspclean.c
+- bsps/sparc64/niagara/start/bspinit.S
+- bsps/sparc64/niagara/start/m5op_sparc.S
+- bsps/sparc64/shared/clock/ckinit.c
+- bsps/sparc64/shared/console/conscfg.c
+- bsps/sparc64/shared/helenos/boot/genarch/balloc.c
+- bsps/sparc64/shared/helenos/boot/genarch/ofw.c
+- bsps/sparc64/shared/helenos/boot/genarch/ofw_tree.c
+- bsps/sparc64/shared/helenos/boot/sparc64/loader/main.c
+- bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwarch.c
+- bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwasm.S
+- bsps/sparc64/shared/start/halt.S
+- bsps/sparc64/shared/start/setvec.c
+type: build
diff --git a/spec/build/bsps/sparc64/start.yml b/spec/build/bsps/sparc64/start.yml
new file mode 100644
index 0000000000..526fb049fd
--- /dev/null
+++ b/spec/build/bsps/sparc64/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/sparc64/shared/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/sparc64/usiii/abi.yml b/spec/build/bsps/sparc64/usiii/abi.yml
new file mode 100644
index 0000000000..77dce75223
--- /dev/null
+++ b/spec/build/bsps/sparc64/usiii/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -DSUN4U
+- -DUS3
+- -mcpu=ultrasparc3
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/sparc64/usiii/bspusiii.yml b/spec/build/bsps/sparc64/usiii/bspusiii.yml
new file mode 100644
index 0000000000..28057de722
--- /dev/null
+++ b/spec/build/bsps/sparc64/usiii/bspusiii.yml
@@ -0,0 +1,67 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: sparc64
+bsp: usiii
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: usiii
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/sparc64/usiii/include/bsp.h
+ - bsps/sparc64/usiii/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/sparc64/usiii/include/bsp/irq.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/sparc64/shared/start/linkcmds
+ - bsps/sparc64/shared/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/legacy-console-control.c
+- bsps/shared/dev/serial/legacy-console-select.c
+- bsps/shared/dev/serial/legacy-console.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/sparc64/shared/clock/ckinit.c
+- bsps/sparc64/shared/console/conscfg.c
+- bsps/sparc64/shared/helenos/boot/genarch/balloc.c
+- bsps/sparc64/shared/helenos/boot/genarch/ofw.c
+- bsps/sparc64/shared/helenos/boot/genarch/ofw_tree.c
+- bsps/sparc64/shared/helenos/boot/sparc64/loader/main.c
+- bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwarch.c
+- bsps/sparc64/shared/helenos/boot/sparc64/loader/ofwasm.S
+- bsps/sparc64/shared/helenos/kernel/sparc64/src/cache.S
+- bsps/sparc64/shared/helenos/kernel/sparc64/src/sun4u/takemmu.S
+- bsps/sparc64/shared/start/halt.S
+- bsps/sparc64/shared/start/setvec.c
+- bsps/sparc64/shared/start/trap_table.S
+- bsps/sparc64/usiii/start/bspinit.S
+type: build
diff --git a/spec/build/bsps/sparc64/usiii/optclkfastidle.yml b/spec/build/bsps/sparc64/usiii/optclkfastidle.yml
new file mode 100644
index 0000000000..5aed542b4b
--- /dev/null
+++ b/spec/build/bsps/sparc64/usiii/optclkfastidle.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: false
+default-by-variant: []
+description: |
+ If defined, speed up the clock ticks while the idle task is running so time spent in the idle task is minimized. This significantly reduces the wall time required to execute the RTEMS test suites.
+enabled-by: true
+links: []
+name: SIMSPARC_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/tst.yml b/spec/build/bsps/tst.yml
new file mode 100644
index 0000000000..8610b375c3
--- /dev/null
+++ b/spec/build/bsps/tst.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ capture: user-input
+ dhrystone: benchmark
+ dl10: user-input
+ fileio: user-input
+ linpack: benchmark
+ monitor: user-input
+ psxfenv01: expected-fail
+ termios: user-input
+ top: user-input
+ whetstone: benchmark
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: |
+ Provides general test states.
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/tstnoiconv.yml b/spec/build/bsps/tstnoiconv.yml
new file mode 100644
index 0000000000..30de0ef1b4
--- /dev/null
+++ b/spec/build/bsps/tstnoiconv.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ iconv: exclude
+ iconvclose: exclude
+ iconvopen: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/tstnointrcrit.yml b/spec/build/bsps/tstnointrcrit.yml
new file mode 100644
index 0000000000..0460aaabb3
--- /dev/null
+++ b/spec/build/bsps/tstnointrcrit.yml
@@ -0,0 +1,35 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ psxintrcritical01: exclude
+ spintrcritical01: exclude
+ spintrcritical02: exclude
+ spintrcritical03: exclude
+ spintrcritical04: exclude
+ spintrcritical05: exclude
+ spintrcritical06: exclude
+ spintrcritical07: exclude
+ spintrcritical08: exclude
+ spintrcritical09: exclude
+ spintrcritical10: exclude
+ spintrcritical11: exclude
+ spintrcritical12: exclude
+ spintrcritical13: exclude
+ spintrcritical14: exclude
+ spintrcritical15: exclude
+ spintrcritical16: exclude
+ spintrcritical17: exclude
+ spintrcritical18: exclude
+ spintrcritical20: exclude
+ spintrcritical21: exclude
+ spintrcritical22: exclude
+ spintrcritical23: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/tstnojffs2.yml b/spec/build/bsps/tstnojffs2.yml
new file mode 100644
index 0000000000..4742d42919
--- /dev/null
+++ b/spec/build/bsps/tstnojffs2.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ fsjffs2gc01: exclude
+ jffs2fserror: exclude
+ jffs2fslink: exclude
+ jffs2fspatheval: exclude
+ jffs2fspermission: exclude
+ jffs2fsrdwr: exclude
+ jffs2fsscandir01: exclude
+ jffs2fssymlink: exclude
+ jffs2fstime: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/tstnolibdl.yml b/spec/build/bsps/tstnolibdl.yml
new file mode 100644
index 0000000000..db89e83130
--- /dev/null
+++ b/spec/build/bsps/tstnolibdl.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ dl01: exclude
+ dl02: exclude
+ dl03: exclude
+ dl04: exclude
+ dl05: exclude
+ dl06: exclude
+ dl07: exclude
+ dl08: exclude
+ dl09: exclude
+ dl10: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/tstnorfs.yml b/spec/build/bsps/tstnorfs.yml
new file mode 100644
index 0000000000..ba8ae1c21e
--- /dev/null
+++ b/spec/build/bsps/tstnorfs.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ mrfsfserror: exclude
+ mrfsfsfpathconf: exclude
+ mrfsfslink: exclude
+ mrfsfspatheval: exclude
+ mrfsfspermission: exclude
+ mrfsfsrdwr: exclude
+ mrfsfsrename: exclude
+ mrfsfsscandir01: exclude
+ mrfsfssymlink: exclude
+ mrfsfstime: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/tstreqtick.yml b/spec/build/bsps/tstreqtick.yml
new file mode 100644
index 0000000000..e3ff8389b3
--- /dev/null
+++ b/spec/build/bsps/tstreqtick.yml
@@ -0,0 +1,59 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ cpuuse: exclude
+ psx07: exclude
+ psx09: exclude
+ psx10: exclude
+ psx11: exclude
+ psxcancel01: exclude
+ psxgetrusage01: exclude
+ psxintrcritical01: exclude
+ psxsignal01: exclude
+ psxsignal02: exclude
+ psxspin01: exclude
+ psxtime: exclude
+ psxtimes01: exclude
+ sp04: exclude
+ sp14: exclude
+ sp19: exclude
+ sp35: exclude
+ sp38: exclude
+ sp44: exclude
+ sp69: exclude
+ spcbssched02: exclude
+ spcbssched03: exclude
+ spcontext01: exclude
+ spcpucounter01: exclude
+ spedfsched03: exclude
+ spintrcritical01: exclude
+ spintrcritical02: exclude
+ spintrcritical03: exclude
+ spintrcritical04: exclude
+ spintrcritical05: exclude
+ spintrcritical06: exclude
+ spintrcritical07: exclude
+ spintrcritical08: exclude
+ spintrcritical09: exclude
+ spintrcritical10: exclude
+ spintrcritical11: exclude
+ spintrcritical12: exclude
+ spintrcritical13: exclude
+ spintrcritical14: exclude
+ spintrcritical15: exclude
+ spintrcritical16: exclude
+ spintrcritical17: exclude
+ spintrcritical18: exclude
+ spintrcritical19: exclude
+ spintrcritical20: exclude
+ spnsext01: exclude
+ spqreslib: exclude
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links: []
+type: build
diff --git a/spec/build/bsps/tstsmallmem.yml b/spec/build/bsps/tstsmallmem.yml
new file mode 100644
index 0000000000..a7924e732f
--- /dev/null
+++ b/spec/build/bsps/tstsmallmem.yml
@@ -0,0 +1,128 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ flashdisk01: exclude
+ fsdosfsname01: exclude
+ linpack: exclude
+ psxconfig01: exclude
+ psxusleep: exclude
+ record02: exclude
+ sp47: exclude
+ spstkalloc02: exclude
+- set-value: -DPER_ALLOCATION=10
+- append-test-cppflags: sp71
+- set-value: -DMAXIMUM_DISTRIBUTION=10
+- append-test-cppflags: tmck
+- set-value: -DOPERATION_COUNT=3
+- append-test-cppflags: psxtmbarrier01
+- append-test-cppflags: psxtmbarrier02
+- append-test-cppflags: psxtmbarrier03
+- append-test-cppflags: psxtmbarrier04
+- append-test-cppflags: psxtmbarrierattr01
+- append-test-cppflags: psxtmcleanup01
+- append-test-cppflags: psxtmclocknanosleep01
+- append-test-cppflags: psxtmclocknanosleep02
+- append-test-cppflags: psxtmclocknanosleep03
+- append-test-cppflags: psxtmcond01
+- append-test-cppflags: psxtmcond02
+- append-test-cppflags: psxtmcond03
+- append-test-cppflags: psxtmcond04
+- append-test-cppflags: psxtmcond05
+- append-test-cppflags: psxtmcond06
+- append-test-cppflags: psxtmcond07
+- append-test-cppflags: psxtmcond08
+- append-test-cppflags: psxtmcond09
+- append-test-cppflags: psxtmcond10
+- append-test-cppflags: psxtmkey01
+- append-test-cppflags: psxtmkey02
+- append-test-cppflags: psxtmmq01
+- append-test-cppflags: psxtmmqrcvblock01
+- append-test-cppflags: psxtmmqrcvblock02
+- append-test-cppflags: psxtmmutex01
+- append-test-cppflags: psxtmmutex02
+- append-test-cppflags: psxtmmutex03
+- append-test-cppflags: psxtmmutex04
+- append-test-cppflags: psxtmmutex05
+- append-test-cppflags: psxtmmutex06
+- append-test-cppflags: psxtmmutex07
+- append-test-cppflags: psxtmmutexattr01
+- append-test-cppflags: psxtmnanosleep01
+- append-test-cppflags: psxtmnanosleep02
+- append-test-cppflags: psxtmonce01
+- append-test-cppflags: psxtmrwlock01
+- append-test-cppflags: psxtmrwlock02
+- append-test-cppflags: psxtmrwlock03
+- append-test-cppflags: psxtmrwlock04
+- append-test-cppflags: psxtmrwlock05
+- append-test-cppflags: psxtmrwlock06
+- append-test-cppflags: psxtmrwlock07
+- append-test-cppflags: psxtmsem01
+- append-test-cppflags: psxtmsem02
+- append-test-cppflags: psxtmsem03
+- append-test-cppflags: psxtmsem04
+- append-test-cppflags: psxtmsem05
+- append-test-cppflags: psxtmsleep01
+- append-test-cppflags: psxtmsleep02
+- append-test-cppflags: psxtmthread01
+- append-test-cppflags: psxtmthread02
+- append-test-cppflags: psxtmthread03
+- append-test-cppflags: psxtmthread04
+- append-test-cppflags: psxtmthread05
+- append-test-cppflags: psxtmthread06
+- append-test-cppflags: psxtmthreadattr01
+- append-test-cppflags: tm01
+- append-test-cppflags: tm02
+- append-test-cppflags: tm03
+- append-test-cppflags: tm04
+- append-test-cppflags: tm05
+- append-test-cppflags: tm06
+- append-test-cppflags: tm07
+- append-test-cppflags: tm08
+- append-test-cppflags: tm09
+- append-test-cppflags: tm10
+- append-test-cppflags: tm11
+- append-test-cppflags: tm12
+- append-test-cppflags: tm13
+- append-test-cppflags: tm14
+- append-test-cppflags: tm15
+- append-test-cppflags: tm16
+- append-test-cppflags: tm17
+- append-test-cppflags: tm18
+- append-test-cppflags: tm19
+- append-test-cppflags: tm20
+- append-test-cppflags: tm21
+- append-test-cppflags: tm22
+- append-test-cppflags: tm23
+- append-test-cppflags: tm24
+- append-test-cppflags: tm25
+- append-test-cppflags: tm26
+- append-test-cppflags: tm27
+- append-test-cppflags: tm28
+- append-test-cppflags: tm29
+- append-test-cppflags: tm30
+- append-test-cppflags: tm31
+- append-test-cppflags: tm32
+- append-test-cppflags: tm33
+- append-test-cppflags: tm34
+- append-test-cppflags: tm35
+- append-test-cppflags: tm36
+- append-test-cppflags: tmck
+- append-test-cppflags: tmcontext01
+- append-test-cppflags: tmfine01
+- append-test-cppflags: tmonetoone
+- append-test-cppflags: tmtimer01
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: tstnoiconv
+- role: build-dependency
+ uid: tstnojffs2
+- role: build-dependency
+ uid: tstnolibdl
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/abi.yml b/spec/build/bsps/v850/gdbv850sim/abi.yml
new file mode 100644
index 0000000000..7defa55c80
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/abi.yml
@@ -0,0 +1,37 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mv850
+default-by-variant:
+- value:
+ - -mv850es
+ variants:
+ - v850/v850essim
+- value:
+ - -mv850e
+ variants:
+ - v850/v850esim
+- value:
+ - -mv850e2v3
+ variants:
+ - v850/v850e2v3sim
+- value:
+ - -mv850e2
+ variants:
+ - v850/v850e2sim
+- value:
+ - -mv850e1
+ variants:
+ - v850/v850e1sim
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml
new file mode 100644
index 0000000000..b33b5d32f6
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/bspv850e1sim.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: v850
+bsp: v850e1sim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gdbv850sim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstreqtick
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml
new file mode 100644
index 0000000000..e9db30bea6
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/bspv850e2sim.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: v850
+bsp: v850e2sim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gdbv850sim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstreqtick
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml
new file mode 100644
index 0000000000..acc439b720
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/bspv850e2v3sim.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: v850
+bsp: v850e2v3sim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gdbv850sim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstreqtick
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850esim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850esim.yml
new file mode 100644
index 0000000000..d6418536b3
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/bspv850esim.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: v850
+bsp: v850esim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gdbv850sim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstreqtick
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850essim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850essim.yml
new file mode 100644
index 0000000000..5916a1ca6f
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/bspv850essim.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: v850
+bsp: v850essim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gdbv850sim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstreqtick
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/bspv850sim.yml b/spec/build/bsps/v850/gdbv850sim/bspv850sim.yml
new file mode 100644
index 0000000000..3288b8e63f
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/bspv850sim.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: v850
+bsp: v850sim
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: gdbv850sim
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: ../../tstreqtick
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/grp.yml b/spec/build/bsps/v850/gdbv850sim/grp.yml
new file mode 100644
index 0000000000..1c31b7abe3
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/grp.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirqdflt
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../../bspopts
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/v850/gdbv850sim/obj.yml b/spec/build/bsps/v850/gdbv850sim/obj.yml
new file mode 100644
index 0000000000..384c23542e
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/obj.yml
@@ -0,0 +1,37 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/v850/gdbv850sim/include/bsp.h
+ - bsps/v850/gdbv850sim/include/tm27.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/v850/gdbv850sim/include/bsp/irq.h
+ - bsps/v850/gdbv850sim/include/bsp/syscall.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/v850/gdbv850sim/start/linkcmds
+links: []
+source:
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/clock/clock-simidle.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-polled.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspstart-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/v850/gdbv850sim/console/console-io.c
+- bsps/v850/gdbv850sim/start/bspreset.c
+- bsps/v850/gdbv850sim/start/trap.S
+- bsps/v850/shared/start/crt1.c
+type: build
diff --git a/spec/build/bsps/v850/gdbv850sim/start.yml b/spec/build/bsps/v850/gdbv850sim/start.yml
new file mode 100644
index 0000000000..d1ffc46527
--- /dev/null
+++ b/spec/build/bsps/v850/gdbv850sim/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/v850/gdbv850sim/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/x86_64/amd64/abi.yml b/spec/build/bsps/x86_64/amd64/abi.yml
new file mode 100644
index 0000000000..ca5a815c24
--- /dev/null
+++ b/spec/build/bsps/x86_64/amd64/abi.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- split: null
+- env-append: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default:
+- -mno-red-zone
+- -mcmodel=large
+- -Werror=return-type
+default-by-variant: []
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/x86_64/amd64/bspamd64.yml b/spec/build/bsps/x86_64/amd64/bspamd64.yml
new file mode 100644
index 0000000000..f11beb15c3
--- /dev/null
+++ b/spec/build/bsps/x86_64/amd64/bspamd64.yml
@@ -0,0 +1,57 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: x86_64
+bsp: amd64
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+family: amd64
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/x86_64/amd64/include/apic.h
+ - bsps/x86_64/amd64/include/bsp.h
+ - bsps/x86_64/amd64/include/clock.h
+ - bsps/x86_64/amd64/include/pic.h
+ - bsps/x86_64/amd64/include/start.h
+ - bsps/x86_64/amd64/include/tm27.h
+- destination: ${BSP_LIBDIR}
+ source:
+ - bsps/x86_64/amd64/start/linkcmds
+links:
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: start
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../../bspopts
+source:
+- bsps/shared/cache/nocache.c
+- bsps/shared/dev/btimer/btimer-stub.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspgetworkarea-default.c
+- bsps/shared/start/bspreset-empty.c
+- bsps/shared/start/sbrk.c
+- bsps/x86_64/amd64/clock/clock.c
+- bsps/x86_64/amd64/console/console.c
+- bsps/x86_64/amd64/interrupts/idt.c
+- bsps/x86_64/amd64/interrupts/isr_handler.S
+- bsps/x86_64/amd64/interrupts/pic.c
+- bsps/x86_64/amd64/start/bspstart.c
+- bsps/x86_64/amd64/start/page.c
+type: build
diff --git a/spec/build/bsps/x86_64/amd64/start.yml b/spec/build/bsps/x86_64/amd64/start.yml
new file mode 100644
index 0000000000..3687f53f5b
--- /dev/null
+++ b/spec/build/bsps/x86_64/amd64/start.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+asflags: []
+build-type: start-file
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+cppflags: []
+enabled-by: true
+includes: []
+install-path: ${BSP_LIBDIR}
+links: []
+source:
+- bsps/x86_64/amd64/start/start.S
+target: start.o
+type: build
diff --git a/spec/build/bsps/x86_64/grp.yml b/spec/build/bsps/x86_64/grp.yml
new file mode 100644
index 0000000000..376bab2393
--- /dev/null
+++ b/spec/build/bsps/x86_64/grp.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/x86_64/include/bsp/irq.h
+- destination: ${BSP_INCLUDEDIR}/libcpu
+ source:
+ - bsps/x86_64/include/libcpu/page.h
+ldflags: []
+links: []
+type: build
+use-after: []
+use-before: []