Oleg Hahm
9088883047
Merge pull request #5864 from miri64/ndp/fix/incl-header
...
ndp: add missing header include
2016-09-23 20:46:30 +02:00
Martine Lenders
9dc4023112
ndp: add missing header include
...
sys/include/net/ndp.h uses IPv6 addresses in NDP message type definitions but up
until now the according header wasn't included.
2016-09-23 20:23:42 +02:00
Oleg Hahm
63615157ef
Merge pull request #5819 from makomi/stm32l1
...
cpu/stm32l1: uart: suppress cppcheck nullPointer errors
2016-09-23 20:15:50 +02:00
Oleg Hahm
797ab580c8
Merge pull request #5818 from makomi/stm32f3
...
cpu/stm32f3: uart: suppress cppcheck nullPointer errors
2016-09-23 20:13:29 +02:00
Oleg Hahm
50215e9b5d
Merge pull request #5817 from makomi/stm32f0
...
cpu/stm32f0: uart: suppress cppcheck nullPointer errors
2016-09-23 19:50:31 +02:00
Oleg Hahm
ed3aa6c46e
Merge pull request #5835 from mali/timer
...
cpu/atmega_common: fix timer_set_absolute return code
2016-09-23 19:35:22 +02:00
Oleg Hahm
3c61787b81
Merge pull request #5816 from makomi/shell
...
sys/shell: fix cppcheck warnings
2016-09-23 18:49:06 +02:00
d0079d2b2b
Merge pull request #5829 from basilfx/bugfix/u8g2_pins
...
pkg: u8g2: don't toggle unused pins.
2016-09-23 15:30:26 +02:00
Oleg Hahm
6a8a829a42
Merge pull request #5803 from miri64/auto_init_gnrc_netif/fix/mac-prios
...
auto_init_gnrc_netif: set priorities one lower than 6LoWPAN
2016-09-23 00:38:33 +02:00
0e45604765
Merge pull request #5743 from keestux/refactor-samd21
...
Refactor samd21
2016-09-22 14:54:57 +02:00
Johann Fischer
4a3ed294e3
Merge pull request #5834 from smlng/pr/drivers/kw2xrf/set_tx_power
...
kw2xrf: set tx_power in gnrc_netdev_t
2016-09-22 10:27:19 +02:00
Cenk Gündoğan
2366e013de
Merge pull request #5854 from smlng/pr/gnrc_rpl/expose_config_params
...
gnrc_rpl: adapt default parameters and expose to Makefile
2016-09-22 10:07:36 +02:00
b2b42c7b71
Merge pull request #5451 from mali/uno
...
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
5b8cfb0b58
boards/arduino-common: use software interrupt for context swap
2016-09-21 22:44:05 +02:00
Ludwig Knüpfer
6d30ced410
Merge pull request #5763 from jthacker/avr_thread_arch_isr_stack_usage
...
atmega: use software interrupt for context swap
2016-09-21 21:13:05 +02:00
Laurent Navet
3ff576e46a
tests: adapt for arduino uno and duemilanove support
...
- blacklist arduino-uno and arduino-duemilanove for
coap, libfixmath_unittests, lwip, nhdp,
pthread, pthread_barrier, pthread_cleanup, pthread_condition_variable
pthread_cooperation, pthread_rwlock and pthread_tls tests.
- fix sys/pipe build
- unittests: boards added to BOARD_INSUFICIENT_MEMORY list.
2016-09-21 21:12:58 +02:00
Laurent Navet
80cf8389a8
boards: add arduino uno and duemilanove support
...
Uno and Duemilanove(atmega328p version) are nearly the same boards.
The only difference is that the Duemilanove use an FTDI usb chip,
while the Uno use an Atmel which acts as USB/Serial converter.
All of the code needed to support these boards is in arduino-common.
2016-09-21 21:11:01 +02:00
Kees Bakker
d367090c44
cpu/sam21_common: remove define of LITTLE_ENDIAN
...
This define conflicts with LITTLE_ENDIAN defined in
include/machine/endian.h which is part of gcc-arm-none-eabi.
Also, the define does not seem to be used by the ASF included files.
2016-09-21 20:44:38 +02:00
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
smlng
0784b9a812
gnrc_rpl: add explanatory links to RFC sections
2016-09-21 13:45:25 +02:00
smlng
4ae107626a
gnrc_rpl: correct (some) default params
2016-09-21 13:34:36 +02:00
smlng
fbafcc39ac
gnrc_rpl: modify RPL default parameters in Makefile
2016-09-21 13:33:55 +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
Martine Lenders
4fa36e6128
auto_init_gnrc_netif: set priorities one lower than 6LoWPAN
2016-09-20 15:43:11 +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