[PATCH v3 2/2] bsp/riscv: Add NOEL-V BSP

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Jul 15 12:54:09 UTC 2022



On 14.07.22 16:03, Daniel Cederman wrote:
> diff --git a/spec/build/bsps/riscv/noel/optconirq.yml b/spec/build/bsps/riscv/noel/optconirq.yml
> new file mode 100644
> index 0000000000..d836822efb
> --- /dev/null
> +++ b/spec/build/bsps/riscv/noel/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 APBUART console driver can operate in either polled or interrupt mode.
> +enabled-by: true
> +format: '{}'
> +links: []
> +name: CONSOLE_USE_INTERRUPTS
> +type: build

Please use

spec/build/bsps/optconsoleirq.yml

> diff --git a/spec/build/bsps/riscv/noel/optextirqmax.yml b/spec/build/bsps/riscv/noel/optextirqmax.yml
> new file mode 100644
> index 0000000000..ffa84748b6
> --- /dev/null
> +++ b/spec/build/bsps/riscv/noel/optextirqmax.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: 64
> +default-by-variant: []
> +description: |
> +  maximum number of external interrupts supported by the BSP (default 64)
> +enabled-by: true
> +format: '{}'
> +links: []
> +name: RISCV_MAXIMUM_EXTERNAL_INTERRUPTS
> +type: build

Please move this one level up and reuse it in the other riscv BSPs.


-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list