1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

12184 Commits

Author SHA1 Message Date
BytesGalore
4fa3a83910 hashes/md5: changed data-parameter types to void* 2016-09-27 18:53:43 +02:00
Martine Lenders
3a204d69b4 Merge pull request #5691 from BytesGalore/sha1_change_parameter_type
hashes/sha1: changed data-parameter pointers to `void*`
2016-09-27 18:48:31 +02:00
Martine Lenders
ee54ff4007 Merge pull request #5690 from BytesGalore/hmac_sha256_change_msg_param_type
hashes/sha256: changed data-pointer parameters to `void *`
2016-09-27 18:48:20 +02:00
Peter Kietzmann
bf6d7007fb Merge pull request #5869 from smlng/pr/cc2538/disable_accept_l2ack
cc2538: disable l2 ack recv irq
2016-09-27 18:32:50 +02:00
Martine Lenders
b81ac9ca0e pkg: lwip: do not re-set values already set in netif_add
lwip_netdev2_init() is called by netif_add, which already sets these
values to an according value.
2016-09-27 17:27:25 +02:00
smlng
77250f89a3 cc2538: disable l2 ack recv irq 2016-09-27 15:04:39 +02:00
BytesGalore
9818d053f4 hashes/sha256: changed data pointer parameters to void* 2016-09-27 06:36:08 +02:00
Michael Andersen
68f9916ab6 samd21: spi: fix power regression
The MISO pin cannot be left floating as it increases power consumption
2016-09-26 19:59:51 -07:00
Cenk Gündoğan
25e18dad88 Merge pull request #5797 from miri64/dist/doc/profile
dist: document IOTLAB_PROFILE variable fo IoT-Lab-support
2016-09-26 16:20:27 +02:00
Martine Lenders
f9e14bdd26 dist: document IOTLAB_PROFILE variable fo IoT-Lab-support 2016-09-26 16:18:45 +02:00
Martine Lenders
262d0d7573 gnrc_netreg: introduce helper macro/function for entry init 2016-09-26 16:00:56 +02:00
Peter Kietzmann
436ff13c1c Merge pull request #5804 from aeneby/no_mutex_lock
cpu/cc2538: Remove superfluous mutex lock
2016-09-26 10:46:39 +02:00
Joakim Nohlgård
0e201d39b3 Merge pull request #5862 from cgundogan/pr/makefile_riot_version
make: export RIOT_VERSION to CFLAGS_WITH_MACROS
2016-09-26 10:36:55 +02:00
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
Cenk Gündoğan
2b3d3995f1 make: export RIOT_VERSION to CFLAGS_WITH_MACROS
All macros are filtered out of the `CFLAGS` variable and during this
process, the `CFLAGS` string is destroyed. This is due to the fact that
the `RIOT_VERSION` string contains spaces, but the filtering process does
not take the whole string into account (following the first space). This
leads to some parts of the `RIOT_VERSION` string be sill existent in the
`CFLAGS` string.

Instead of exporting the `RIOT_VERSION` string to the `CFLAGS` macro to
just remove it again from there, I exported it to `CFLAGS_WITH_MACROS`.

Fixes #5859
2016-09-23 09:02:55 +02:00
Michael Andersen
41190ac2a8 cpu/sam21_common: support SAMR21E18 2016-09-22 16:24:09 -07: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