File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,11 +47,13 @@ memory.
4747Connect the device to your Micro-USB cable using the port labeled as *DEBUG
4848USB*.
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
5658On Linux you will have to add a **udev** rule for hidraw, like
5759```
@@ -64,6 +66,7 @@ sudo service udev restart
6466### Arch Linux
6567With yaourt:
6668```
69+ yaourt -S libudev0
6770yaourt -S hidapi-git
6871yaourt -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
7477helpful to understanding how to set up a solid RIOT development environment for
7578the 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 */
You can’t perform that action at this time.
0 commit comments