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

20514 Commits

Author SHA1 Message Date
8bd839f04d
Merge pull request #10473 from cladmi/pr/make/flash_sh/get_flashfile_from_cli
board/*/flash.sh: get file to flash from command line
2018-12-03 14:20:35 +01:00
Peter Kietzmann
c83493728a
Merge pull request #10435 from leandrolanzieri/pr/boards/sodaq_sara_r410m
boards/sodaq-sara-aff: Initial support
2018-12-03 14:11:34 +01:00
963d06c7de
Merge pull request #10528 from cladmi/pr/make/jlink/flashfile_from_cli
jlink: get flash and debug files from cli
2018-12-03 13:44:39 +01:00
Marian Buschsieweke
003c04bd4c
Merge pull request #10012 from gschorcht/drivers_sht3x
drivers: sht3x temperature and humidity sensor
2018-12-03 10:43:16 +01:00
dc70c3c218
kw2xrf: don't set netdev channel in set_channel 2018-12-03 10:17:26 +01:00
e3eaf4671f
kw2xrf: Don't propagate NETOPT_CHANNEL setter
This modification changes the netdev::set function for the kw2xrf to not
propagate the NETOPT_CHANNEL to the generic netdev_ieee802154 code
2018-12-03 10:16:08 +01:00
603b754d24
kw2xrf: Add NETOPT_CHANNEL to getters 2018-12-03 10:15:33 +01:00
Leandro Lanzieri
d53fbb0045 boards/sodaq-sara-aff: Initial support 2018-12-03 10:05:37 +01:00
e13a93672a
Merge pull request #10487 from gebart/usb-kw41z
board: NXP Kinetis USB-KW41Z IoT USB dongle
2018-12-03 09:40:21 +01:00
d5c527161d
test/crypto: Add tests for poly1305
Tests are based on the tests vectors provided in RFC 7539
2018-12-03 09:31:10 +01:00
731ceda2f7
crypto/poly1305: Initial import
poly1305 implementation strongly based on
https://github.com/floodyberry/poly1305-donna
2018-12-03 09:31:09 +01:00
655fdae982
Merge pull request #10320 from gebart/kinetis/lpuart-osr-dynamic
kinetis: LPUART: Compute oversampling rate at init
2018-12-03 09:11:13 +01:00
Joakim Nohlgård
2c7ac21a49
Merge pull request #18 from aabadie/usb-kw41z
usb-kw41z: improve doc and sort module dependencies
2018-12-03 09:01:36 +01:00
ed75f0a2c5 usb-kw41z: improve doc and sort module dependencies 2018-12-02 17:38:35 +01:00
Joakim Nohlgård
36e5b8ef23 usb-kw41z: NXP USB-KW41Z wireless IoT USB dongle 2018-12-01 13:51:55 +01:00
Sebastian Meiling
43d39b7a33
Merge pull request #8333 from samkumar/feature-condition-variable
core: condition variable implementation
2018-11-30 21:15:53 +01:00
Sam Kumar
fb8edbb610 core: condition variable implementation 2018-11-30 11:22:07 -08:00
Gaëtan Harter
3091cd85bd
Merge pull request #10361 from miri64/lwip/enh/bump-2.1.1
lwip: bump to version v2.1.2
2018-11-30 18:57:47 +01:00
Gunar Schorcht
b3b9f596a4 cpu/esp32: fix of adc_res_t
cpu/esp32/include/periph_cpu.h overrides the default definition of adc_res_t from periph/adc with a definition which contains only four resolution, two new resolutions and two resolutions defined by the default definition of adc_res_t. This gives compilation errors if an application uses other resolutions. According to the documentation, adc_sample should return -1 if the resolution is not supported. All other CPUs override adc_res_t either to add new resolutions or to mark resolutions as unsupported. But they all allow to use them at the interface. Therefore, esp32 overrides now the definition of adc_res_t with all resolutions that are defined by the default definition of adc_res_t and new platform specific resolutions. It returns -1 if a resolution is used in adc_sample that is not supported.
2018-11-30 18:06:51 +01:00
Gunar Schorcht
1865ee9359 cpu/esp8266: fix of adc_res_t
cpu/esp8266/include/periph_cpu.h overrides the default definition of adc_res_t from periph/adc with a definition which contains only one resolution. This gives compilation errorss if an application uses other resolutions. According to the documentation, adc_sample should return -1 if the resolution is not supported. All other CPUs override adc_res_t either to add new resolutions or to mark resolutions as unsupported. But they all allow to use them at the interface. Therefore, esp8266 uses now the default definition of adc_res_t and returns -1 if a solution is used in adc_sample that is not supported.
2018-11-30 17:56:33 +01:00
Juan I Carrano
77c9cc4041
Merge pull request #10219 from bergzand/pr/crypt/helper_add_wipe
crypto/helper: Add secure wipe function
2018-11-30 11:32:45 +01:00
Martine Lenders
3cf4b23870
Merge pull request #10525 from miri64/gnrc_netif_hdr/enh/const-input
gnrc_netif_hdr: make input parameters constant
2018-11-30 10:34:48 +01:00
Martine Lenders
959087f207 gnrc_netif_hdr: make input parameters constant 2018-11-30 10:01:52 +01:00
Sebastian Meiling
297aa4eb9b
Merge pull request #10511 from jcarrano/nimble-slowfix
pkg/nimble: Remove warning suppressions, add patches
2018-11-30 09:32:38 +01:00
5794a2283e
Merge pull request #10522 from miri64/ethernet/api/in-const
ethernet: make input parameter const
2018-11-30 09:12:10 +01:00
Martine Lenders
92fd8c12de ethernet: make input parameter const 2018-11-29 22:57:15 +01:00
b59bfd5554
Merge pull request #10505 from miri64/gnrc_mac/fix/header-includes
gnrc_mac: fix header includes
2018-11-29 22:02:46 +01:00
Juan I Carrano
f4e810cfff
Merge pull request #9819 from jcarrano/doccheck-report-total-failure
tools/doccheck: Detect when `make doc` fails to run.
2018-11-29 18:37:15 +01:00
Kevin "Bear Puncher" Weiss
cb85228584
Merge pull request #10516 from smlng/pr/tests/periph_timer
tests/periph_timer: adapt for atmega based boards
2018-11-29 17:33:39 +01:00
Sebastian Meiling
7913811a0f tests: board specific TIMER_SPEED in periph_timer
By default the periph_timer tests wants to init all timers with 1MHz,
which is not suitable for all timers, e.g. the atmega timers cannot
run at that speed to make the test work they need to be set to 250kHz.
2018-11-29 16:25:06 +01:00
Sebastian Meiling
739cb85830 tests: add README.md for periph_timer
Moving test description from code to a separate README.md file to reduce
binary size to make the test fit on an arduino-uno.
2018-11-29 16:24:51 +01:00
Martine Lenders
19f4748a72
Merge pull request #10515 from miri64/gnrc/fix/esp-now-code-dup
gnrc: remove ESP-Now related code-duplication
2018-11-29 16:17:48 +01:00
Kevin "Bear Puncher" Weiss
153759b926
Merge pull request #10498 from smlng/pr/adapt/7542
atmega: add periph_pwm (taken from #7542)
2018-11-29 15:54:51 +01:00
Martine Lenders
6dcf8aad69 gnrc_ipv6_nib: remove ESP-Now related code-duplication 2018-11-29 15:32:29 +01:00
Martine Lenders
6547b2185b gnrc_netif: remove ESP-Now related code-duplication 2018-11-29 15:32:09 +01:00
Martine Lenders
f71af3b0ec
Merge pull request #10509 from miri64/esp_now/fix/devtype
esp_now: use NETDEV_TYPE_ESP_NOW as device type
2018-11-29 15:25:21 +01:00
a7fa9e5580
Merge pull request #10478 from gebart/frdm/openocd-default-new
frdm: Use configuration for OpenOCD 0.10.0 or newer by default
2018-11-29 15:05:50 +01:00
Kevin "Bear Puncher" Weiss
46bdbb6535
Merge pull request #10484 from smlng/pr/atmega/timer
atmega: fix periph timer configuration
2018-11-29 14:28:23 +01:00
Joakim Nohlgård
158a8300c4 kinetis: LPUART: Compute oversampling rate at init
By not forcing a fixed oversampling rate we can achieve better baud rate
accuracy than otherwise possible.
For example, when requesting 115200 with a module clock of 4 MHz,
picking an oversampling rate of 17 (instead of hardware
default 16) yields 117647 baud instead of 125000 baud as the best
matching rate. Better matching baud rate between receiver and
transmitter results in a lower probability of transmission errors.
2018-11-29 14:24:16 +01:00
Joakim Nohlgård
26d782533c frdm: Use configuration for OpenOCD 0.10.0 or newer by default
Update your environment variables if you are running an older Debian or
Ubuntu release and use the distribution provided OpenOCD packages.
2018-11-29 14:23:49 +01:00
Juan Carrano
d7789c08f2 nimble/Makefile: remove unnecessary warning suppression.
The -Wno-sometimes-uninitialized suppression seems to no longer be
necessary. Removing it as it may mask a real bug.

If the problem reappears, and if the comment is correct about it
being only in an unused function, then instead of adding the CFLAG,
it should be fixed locally via a patch.
2018-11-29 14:11:07 +01:00
Juan Carrano
2ffb83af6f pkg/nimble: add patch to fix pointer alignment issue.
Nimble contains a couple of casts that discard alignment information.
This causes a warning with clang's -Wno-address-of-packed-member.

A previous PR (#10503) supressed that warning. This commit re-enables
them and provides a patch to fix the offending code.

The fix has been submitted upstream, see
https://github.com/apache/mynewt-nimble/pull/252
2018-11-29 14:04:01 +01:00
Martine Lenders
03b91cbcb8 esp_now: use NETDEV_TYPE_ESP_NOW as device type 2018-11-29 13:35:20 +01:00
Martine Lenders
9d6a32b551 gnrc_mac: fix header includes
The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)
2018-11-29 12:39:34 +01:00
6d5af802a4
Merge pull request #10503 from smlng/pr/pkg/jerryscript_wconversion
pkg: disable compiler warning for jerryscript and nimble
2018-11-29 12:35:18 +01:00
Sebastian Meiling
47a662652e pkg/nimble: disable -Waddress-of-packed-member for llvm 2018-11-29 12:06:12 +01:00
Sebastian Meiling
f56d8d1b1c pkg/jerryscript: disable -Wconversion for llvm 2018-11-29 12:06:12 +01:00
765de5a78a
Merge pull request #10486 from gebart/kinetis/fopt
kinetis: Allow FOPT settings other than 0xff
2018-11-29 11:23:24 +01:00
smlng
262a04c9cf atmega: fix periph timer configuration
- correct number of timers for atmega328p from 2 to 1
- correct number of timer channels for atmega328p from 3 to 2
- adapt atmega periph timer implementation accordingly
2018-11-29 09:30:44 +01:00
Victor Arino
8ff8aefb72 boards/arduino-atmega-common: support for PWM 2018-11-29 08:50:56 +01:00