[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:48:17 CEST 2019

smlng commented on this pull request.

> +
+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`
+for shared pins that are the same for many different boards (board_common.h
+or others will be available too)
+    - `boards/common/<COMMON_BOARD_OR_CPU>/include/<PERIPH_DECLARATION>`
+also may contain specific periphirals such as
+`PERIPH_DECLARATION = cfg_i2c1_pb8_pb9.h` which indicates i2c pins are on
+pb8 and pb9
+3. Once the needed pins are determined with either a port or number and pin
+number, such as `PA, 1` or `0, 1` correlate that to the board (the board

this is just to make sure (new) users don't get confused, bc as below: the naming and usage of `PORTX`, `PORT_X` or `PX` is not consistent

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190705/157b0e15/attachment.html>

More information about the notifications mailing list