[riot-notifications] [RIOT-OS/RIOT] tests: add test for periph_gpio without stdio dep (#16583)

Marian Buschsieweke notifications at github.com
Wed Jun 23 22:05:42 CEST 2021


### Contribution description

As the title says: A simple test application for `periph_gpio` and (optionally) `periph_gpio_irq` that works without having usable stdio in place. This is useful for two things:

1. When porting new boards (with previously unsupported MCUs) to RIOT, that do not have drivers to transport stdio yet
2. When testing whether pins otherwise used by UART / USB do also work as GPIO

### Testing procedure

The test application is documented via the `README.me`. If that documentation is sufficient, no further explanation should be needed here.

### Issues/PRs references

None.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/16583

-- Commit Summary --

  * drivers/periph_gpio: compatibility with IS_USED
  * tests: add test for periph_gpio without stdio dep

-- File Changes --

    M drivers/include/periph/gpio.h (3)
    A tests/periph_gpio_no_stdio/Makefile (9)
    A tests/periph_gpio_no_stdio/README.md (27)
    A tests/periph_gpio_no_stdio/main.c (122)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/16583.patch
https://github.com/RIOT-OS/RIOT/pull/16583.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16583
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210623/6ae4b0e6/attachment.htm>


More information about the notifications mailing list