Skip to content

Commit

Permalink
boards: atsamd21_xpro: Update documentation
Browse files Browse the repository at this point in the history
This commit updates the board documentation to list all supported
on-chip peripherals.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio authored and carlescufi committed May 12, 2020
1 parent 7a946bb commit 769c2f5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion boards/arm/atsamd21_xpro/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ features:
+-----------+------------+------------------------------------------+
| USART | on-chip | Serial ports |
+-----------+------------+------------------------------------------+
| I2C | on-chip | I2C ports |
+-----------+------------+------------------------------------------+
| SPI | on-chip | Serial Peripheral Interface ports |
+-----------+------------+------------------------------------------+
| USB | on-chip | Universal Serial Bus device ports |
+-----------+------------+------------------------------------------+

Other hardware features are not currently supported by Zephyr.

Expand All @@ -77,11 +81,15 @@ Default Zephyr Peripheral Mapping:
- SERCOM0 USART RX : PA11
- SERCOM1 USART TX : PA16
- SERCOM1 USART RX : PA19
- SERCOM2 I2C SDA : PA08
- SERCOM2 I2C SCL : PA09
- SERCOM3 USART TX : PA22
- SERCOM3 USART RX : PA23
- SERCOM5 SPI MISO : PB16
- SERCOM5 SPI MOSI : PB22
- SERCOM5 SPI SCK : PB23
- USB DP : PA25
- USB DM : PA24
- GPIO SPI CS : PB17
- GPIO LED0 : PB30

Expand Down Expand Up @@ -151,7 +159,7 @@ Flashing
:goals: flash
:compact:

You should see "Hello World! arm" in your terminal.
You should see "Hello World! atsamd21_xpro" in your terminal.

References
**********
Expand Down

0 comments on commit 769c2f5

Please sign in to comment.