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