Kees Bakker
e118525731
cpu/sam21_common: add C++ wrapper to sam0.h
2016-09-21 20:40:49 +02:00
Kees Bakker
bd2fbf040b
dist/tools: exclude sam21_common cmsis include files
2016-09-21 20:40:49 +02:00
Kees Bakker
1b307b3802
cpu/sam21_common: eliminate trailing white space in CMSIS include files
2016-09-21 20:40:28 +02:00
Kees Bakker
ebeece15c7
doc: correct exclude patterns after moving CMSIS files to cpu/sam21_common
2016-09-21 20:34:22 +02:00
Kees Bakker
ea8b90fa5f
cpu/samd21: uart: now using padd setting from board config
...
Notice the extra fields in uart_conf_t for rx_pad and tx_pad.
2016-09-21 20:34:22 +02:00
Kees Bakker
845ef0decd
cpu/samd21: Refactor spi using ArduinoCore as example
...
The pinmux is now part of the board config. The pad setting is done with
clear names instead of numbers.
2016-09-21 20:34:22 +02:00
Kees Bakker
f794bd4c8e
cpu/samd21: spi: change #ifdef's to #if's
...
The board config can define SPI_1_EN as 0, and in that case #ifdef won't
work.
Add some more comments, and fix typos.
2016-09-21 20:34:22 +02:00
Kees Bakker
574b565e2a
cpu/samd21: add helper functions spi_power_on/off
2016-09-21 20:34:22 +02:00
Kees Bakker
2a4655b6f8
cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom
...
The former i2c_init_master was too complicated. It was trying to set IN/OUT
mode of the pins, but all that is needed is to set the proper MUX.
Also the configuration for the boards was incomplete (no MUX, no pad
setting).
It was tested on a SODAQ Autonomo, but not on a samr21-xpro
2016-09-21 20:34:22 +02:00
Kees Bakker
be1113fa6c
cpu/sam21_common: move i2c.c from samd21 to sam21_common
...
Notice that saml21 does not use I2C (yet).
2016-09-21 20:34:22 +02:00
Kees Bakker
4ad3313ae5
cpu/sam21_common: add a few typedefs for SERCOM
...
A generic function is added to initialize a SERCOM.
Notice that uart_conf_t was expanded with pad settings, but it isn't used
yet.
2016-09-21 20:34:21 +02:00
Kees Bakker
8644b5f7a0
cpu/samd21: introduce sam0.h so that we can select samr21.h or other
...
In the Makefile.include of the board it is required to set the correct
define.
Currently only SAMRG18A is supported, as required by samr21-xpro.
2016-09-21 19:43:30 +02:00
Kees Bakker
88e84f68ff
cpu/sam21_common: update ASF CMSIS (samr21) include files using ASF 3.21
...
Notice that RIOT was using FDPLL96M, which is indeed the name in the
datasheet. But Atmel is using GCLK_GENCTRL_SRC_FDPLL.
2016-09-21 19:43:30 +02:00
Kees Bakker
2869d7729d
cpu/samr21: rename ASF include files to prepare for ASF update
2016-09-21 19:43:30 +02:00
Martine Lenders
03a82bc295
Merge pull request #5857 from smlng/pr/tests/driver_at86rf2xx/fix
...
tests/driver_at86rf2xx: corrects flag compare
2016-09-21 18:01:36 +02:00
smlng
671831d326
corrects flag compare
2016-09-21 16:51:12 +02:00
Sebastian Meiling
8234a0029d
Merge pull request #5853 from cgundogan/pr/vagrant
...
vagrant: minimize Vagrantfile and make it loadable
2016-09-21 10:40:50 +02:00
Cenk Gündoğan
9457703607
vagrant: minimize Vagrantfile and make it loadable
...
By parameterizing certain paths with `RIOTBASE`, it is possible to load
this Vagrantfile from other Vagrantfiles. This feature will be used by the
Tutorials repository, so that this Vagrantfile has no knowledge about
the tutorials, hence the deletion of the `tutorials` definition at this
place.
2016-09-21 10:22:35 +02:00
Joakim Nohlgård
6be334b4f4
Merge pull request #5833 from immesys/fix-i2c-checks
...
samd21: i2c: check all busstate bits
2016-09-20 10:06:40 +02:00
Michael Andersen
e367ab93f6
samd21: i2c: improve busstate comparison
2016-09-19 10:54:17 -07:00
Joakim Nohlgård
0a15d1b2ed
Merge pull request #5838 from gebart/pr/nucleo-f207-mcu-group
...
boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP
2016-09-19 12:55:29 +02:00
Joakim Nohlgård
d9d0646545
Merge pull request #5850 from smlng/pr/dist_fix_readme
...
minor typos in README corrected
2016-09-19 12:54:54 +02:00
smlng
f9432cef4b
minor typos in README corrected
2016-09-19 12:09:46 +02:00
Sebastian Meiling
0d901c410f
Merge pull request #5846 from cgundogan/pr/vagrantfile_tutorial
...
vagrant: sync Tutorials folder into vbox
2016-09-16 18:10:20 +02:00
Sebastian Meiling
77f8aabec1
Merge pull request #5847 from cgundogan/pr/vagrant_file_provisioner
...
vagrant: prevent error by checking existence of .gitconfig
2016-09-16 17:47:58 +02:00
Joakim Nohlgård
ee486fd908
Merge pull request #5794 from smlng/pr/fix_osx_5742
...
correcting linker LTO flags on OSX
2016-09-16 17:37:52 +02:00
Cenk Gündoğan
f41f7bd8ff
vagrant: prevent error by checking existence of .gitconfig
2016-09-16 17:15:24 +02:00
Joakim Nohlgård
8160717485
boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP
2016-09-16 17:07:14 +02:00
Cenk Gündoğan
c767f27168
vagrant: sync Tutorials folder into vbox
2016-09-16 16:32:20 +02:00
Cenk Gündoğan
674f7a1cf9
Merge pull request #5843 from smlng/pr/boards/nucleo-f207/fixing_cpp11
...
nucleo-f207: fix uart configuration init
2016-09-16 12:10:04 +02:00
add6e1d36d
Merge pull request #5674 from aabadie/driver_io1_xplained
...
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
smlng
20fd33c927
nucleo-f207: fix uart configuration init
2016-09-15 13:43:57 +02:00
Martine Lenders
8a74475e70
Merge pull request #5761 from mali/rmdeadcode
...
boards/atmega_common: remove dead code on link
2016-09-12 17:01:15 +02:00
Martine Lenders
03fbe9c2a5
Merge pull request #5766 from zhuoshuguo/fix_cpu_atmega_header_include_guards
...
fix cpu/atmega header include guardes.
2016-09-12 17:00:56 +02:00
Martine Lenders
55a08aeb59
Merge pull request #5827 from miri64/make/enh/quiet-per-default
...
make: build quiet as default
2016-09-12 16:59:59 +02:00
smlng
291c1a54eb
native: correcting linker LTO flags for OSX
...
- corrects and enhances changes introduced in #5742
2016-09-12 15:41:38 +02:00
Martine Lenders
9cb73dd63f
Merge pull request #5832 from immesys/patch-1
...
samd21: i2c: clear timeout_counter
2016-09-12 15:08:06 +02:00
Martine Lenders
b5f22a73ef
Merge pull request #5836 from gebart/pr/quiet-typo
...
Makefile.buildtests: Fix typo QUITE -> QUIET
2016-09-12 14:26:51 +02:00
Martine Lenders
d301ae279b
Merge pull request #5839 from cgundogan/pr/ccnl_example_docfix
...
examples: ccn-lite-relay: minor doc fix
2016-09-12 13:50:29 +02:00
Cenk Gündoğan
c0f05a8a88
examples: ccn-lite-relay: minor doc fix
2016-09-11 22:39:20 +02:00
Joakim Nohlgård
0fe461f1e4
Makefile.buildtests: Fix typo QUITE -> QUIET
2016-09-11 12:54:14 +02:00
Andreas "Paul" Pauli
662076e150
Merge pull request #5747 from miri64/tests/feat/od-test
...
tests: provide tests for od module
2016-09-10 15:24:01 +02:00
Martine Lenders
5552b92023
Merge pull request #5831 from mali/timer
...
drivers/timer: fix copy/paste error
2016-09-08 22:22:38 +02:00
Martine Lenders
2cc52fba19
tests: provide tests for od module
2016-09-08 20:02:24 +02:00
597409574d
Merge pull request #5801 from miri64/pkg/enh/lwip-mbox-port
...
lwip: port mboxes to core_mbox
2016-09-08 13:36:29 +02:00
Michael Andersen
082d8e85a9
samd21: i2c: clear timeout_counter
...
If not cleared, long writes timeout incorrectly
2016-09-07 18:21:38 -07:00
Laurent Navet
f30c4ade2c
drivers/timer: fix copy/paste error
2016-09-07 21:59:25 +02:00
Ludwig Knüpfer
379560752c
Merge pull request #5696 from LudwigKnuepfer/pr/fix-5695
...
make: include RIOT_VERSION in CFLAGS for riotbuild
2016-09-07 20:13:39 +02:00
Sebastian Meiling
b4b1bb597a
Merge pull request #5822 from cgundogan/pr/vagrant/add_info_about_vboxusers_group
...
vagrant: update README and add info about vboxusers group
2016-09-07 09:28:25 +02:00
Martine Lenders
043eb677dd
make: build quiet as default
2016-09-06 18:20:02 +02:00