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