Skip to content

Commit c68b1fe

Browse files
committed
boards/samd20-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
1 parent ff8aa43 commit c68b1fe

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

boards/samd20-xpro/doc.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ memory.
4747
Connect the device to your Micro-USB cable using the port labeled as *DEBUG
4848
USB*.
4949

50-
The standard method for flashing RIOT to the samd20-xpro is using OpenOCD.
50+
The standard method for flashing RIOT to the samd20-xpro is using [edbg](https://github.com/ataradov/edbg).
51+
by calling: `make BOARD=samd20-xpro -C tests/leds flash`
5152

52-
Refer to https://github.com/RIOT-OS/RIOT/wiki/OpenOCD for general
53-
instructions on building OpenOCD and make sure "cmsis-dap" and "hidapi-libusb"
54-
are enabled.
53+
Note that on Linux, you will need libudev-dev package to be installed.
54+
55+
Users can also use openOCD to flash and/or debug the board using:
56+
`PROGRAMMER=openocd make BOARD=samd20-xpro -C tests/leds flash`
5557

5658
On Linux you will have to add a **udev** rule for hidraw, like
5759
```
@@ -64,6 +66,7 @@ sudo service udev restart
6466
### Arch Linux
6567
With yaourt:
6668
```
69+
yaourt -S libudev0
6770
yaourt -S hidapi-git
6871
yaourt -S openocd-git
6972
# edit PKGBUILD, add "cmsis-dap hidapi-libusb" to "_features"
@@ -74,12 +77,6 @@ Although this refers to setting up the SAMR21, this guide is still very
7477
helpful to understanding how to set up a solid RIOT development environment for
7578
the SAMD20: http://watr.li/samr21-dev-setup-ubuntu.html
7679

77-
## Supported Toolchains
78-
79-
For using the samd20-xpro board we strongly recommend the usage of the
80-
[GNU Tools for ARM Embedded Processors](https://launchpad.net/gcc-arm-embedded)
81-
toolchain.
82-
8380
## Known Issues / Problems
8481

8582
*/

0 commit comments

Comments
 (0)