Hello Jan,
Duc Doan worked on that topic during his GSoC project last year:
https://github.com/dtbpkmte/GSoC-2022-RTEMS
https://github.com/dtbpkmte/GSoC-2022-RTEMS/commit/0aec268f1209c
https://medium.com/@dtbpkmte
The results looked quite interesting (even if some functions were still
missing like switching GPIO groups). But at the end there was a problem
with the Apache license of the STM libraries so that the new API would
have been left without a reference implementation.
The API in the current bsp/gpio.h is designed to match a certain GPIO
hardware module structure. It is currently implemented only on raspberry
and beagle. For every GPIO module that doesn't match the structure, it
adds quite some overhead. For example on the i.MX I tried to use it and
gave up soon because mapping the structure would have wasted a lot of
CPU cycles.
Best regards
Christian
On 2023-02-28 10:06, jan.som...@dlr.de wrote:
We now found this general GPIO API here:
https://github.com/RTEMS/rtems/blob/master/bsps/include/bsp/gpio.h
Is this the current one to use when implementing a new GPIO driver?
-----Original Message-----
From: devel <devel-boun...@rtems.org> On Behalf Of jan.som...@dlr.de
Sent: Mittwoch, 15. Februar 2023 08:40
To: devel@rtems.org
Subject: New GPIO-API merged?
Hello everyone,
Alex' patch reminded me that there was work done related a new general
GPIO-API.
Has that been finished? I tried to find the corresponding header files, but
couldn't.
So, I was wondering what the current status is.
Best regards,
Jan
Deutsches Zentrum für Luft- und Raumfahrt e. V. (DLR) German Aerospace
Center Institute for Software Technology | Software for Space Systems and
Interactive Visualization | Lilienthalplatz 7 | 38108 Braunschweig | Germany
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel
--
--------------------------------------------
embedded brains GmbH
Herr Christian MAUDERER
Dornierstr. 4
82178 Puchheim
Germany
email: christian.maude...@embedded-brains.de
phone: +49-89-18 94 741 - 18
mobile: +49-176-152 206 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/
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel