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

Marian Buschsieweke notifications at github.com
Mon Jul 5 19:34:55 CEST 2021


> I am quiet sure this configures an an output pin (PA7) to an output pin "RMII RX Data Valid" of the Ethernet controller on the Nucleo-144 boards like F767ZI

Indeed, it will. And likely 90% of the boards will have similar issues, e.g. inputs on on-board LEDs, IRQs on pins that don't support external IRQs (looking at AVR), etc.

There is no machine readable database to look up pin conflicts and no reasonable tooling to automatically provide proper configuration e.g. as C header out of such nonexisting db. Hence, I provided just a dummy configuration in the Makefile for the user to modify to match their board. I have to admit that the dummy configuration happend to be compatible with the Raspberry Pi Pico that I wanted to test - but that really is a coincidence. I really just counted up from 0,0.

I could try to improve the documentation a bit. But I assumed that the "better use `tests/periph_gpio` if you have stdio at hands" warning would send all but RIOT veterans currently adding support for a new MCU there, so the doc was a bit sparse. But I certainly can fix that.

-- 
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#issuecomment-874253067
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210705/776aa972/attachment.htm>


More information about the notifications mailing list