On 23/7/2022 1:53 pm, Duc Doan wrote:
> This is the new GPIO API. The header file is
> gpio2.h.
> ---
>  bsps/include/bsp/gpio2.h    | 526 ++++++++++++++++++++++++++++++++++++
>  bsps/shared/dev/gpio/gpio.c | 189 +++++++++++++
>  spec/build/bsps/obj.yml     |   2 +-
>  3 files changed, 716 insertions(+), 1 deletion(-)
>  create mode 100644 bsps/include/bsp/gpio2.h
>  create mode 100644 bsps/shared/dev/gpio/gpio.c
> 
> diff --git a/bsps/include/bsp/gpio2.h b/bsps/include/bsp/gpio2.h
> new file mode 100644
> index 0000000000..e4a106da8b
> --- /dev/null
> +++ b/bsps/include/bsp/gpio2.h
> @@ -0,0 +1,526 @@
> +/**
> +  * @file
> +  *
> +  * @ingroup rtems_gpio2
> +  *
> +  * @brief RTEMS GPIO new API definition.
> +  */
> +
> +/*
> +*  Copyright (c) 2022 Duc Doan <dtbpkmte at gmail.com>
> +*
> +*  The license and distribution terms for this file may be
> +*  found in the file LICENSE in this distribution or at
> +*  http://www.rtems.org/license/LICENSE.

Please consider using the BSD license.

Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to