diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-07-19 13:09:43 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-14 07:11:32 +0200 |
commit | f3f0370f1054f4e49aa8f5ea70485d673e8e94b6 (patch) | |
tree | 11d44920353aea9bf4301eb267f8c831e622520e /spec/build/bsps/arm/tms570 | |
parent | i386/score: fix assembly mnemonic (diff) | |
download | rtems-f3f0370f1054f4e49aa8f5ea70485d673e8e94b6.tar.bz2 |
build: Alternative build system based on waf
Update #3818.
Diffstat (limited to 'spec/build/bsps/arm/tms570')
-rw-r--r-- | spec/build/bsps/arm/tms570/abi.yml | 21 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/bspls3137hdk.yml | 21 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/bspls3137hdkintram.yml | 21 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/bspls3137hdksdram.yml | 19 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml | 21 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/grp.yml | 48 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/obj.yml | 100 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/objhwinit.yml | 27 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optcclk.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optconirq.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optlowinit.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optmintskstksz.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optoscmain.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optoscrtc.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optreginit.yml | 15 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/optscibaud.yml | 16 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/opttms570ls3137.yml | 15 | ||||
-rw-r--r-- | spec/build/bsps/arm/tms570/tstls3137hdkintram.yml | 23 |
18 files changed, 443 insertions, 0 deletions
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 |