summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/sh/gensh1
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/sh/gensh1')
-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
6 files changed, 151 insertions, 0 deletions
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