[PATCH v4 3/7] bsps: Add GPIO API
Duc Doan
dtbpkmte at gmail.com
Mon Jul 25 01:54:48 UTC 2022
Hello,
On Mon, 2022-07-25 at 11:42 +1000, Chris Johns wrote:
> 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
This is fixed in my v5 patch set.
Best,
Duc
More information about the devel
mailing list