[riot-notifications] [RIOT-OS/RIOT] boards/doc: Add a guide to find physical board pins (#11793)

Sebastian Meiling notifications at github.com
Fri Jul 5 11:47:09 CEST 2019


smlng commented on this pull request.



> @@ -15,4 +15,52 @@
  * configuration of a controller and some external devices such as sensors or
  * radios. All aspects concerning configuration of GPIO pins, MCU clock and
  * device drivers should go into this module.
+ *
+## Guide to board pinouts
+
+The following are the steps to take to locate specific pinouts on boards.
+This is useful when connecting external hardware to RIOT supported boards.
+
+1. Check the board documentation to see if the pinout is available
+2. If the pinout is not available or up to date check the following:
+    - `boards/<TARGET_BOARD>/include/periph_conf.h` for board specific
+peripherals such as uart  or spi pins
+    - `boards/<TARGET_BOARD>/include/board.h` for GPIO specific pins such
+as `LED0` or `BTN0`
+    - `boards/common/<COMMON_BOARD_OR_CPU>/include/periph_conf_common.h`

yeah right, the naming is (once again in RIOT) not consistent and doesn't follow a good/common scheme - well leave as is for now

-- 
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/11793#discussion_r300616535
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190705/94127218/attachment.html>


More information about the notifications mailing list