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