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

20287 Commits

Author SHA1 Message Date
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
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
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
Gaëtan Harter
fdde802bd7
Merge pull request #10185 from bergzand/pr/tests/qdsa_move
tests/qdsa: Move from unittests to regular tests
2018-11-28 20:06:42 +01:00
Martine Lenders
4b06d64778
Merge pull request #10454 from jcarrano/msba2-fix-port
boards/msba2: Do not set PORT.
2018-11-28 16:43:23 +01:00
Victor Arino
2ebb187ca9 cpu/atmega-common: PWM implementation
Implementation of PWM with 8-bit timers
2018-11-28 16:00:54 +01:00
Victor Arino
01420152de cpu/atmega-common: add maps for 8-bit timers 2018-11-28 15:58:58 +01:00
Gunar Schorcht
061e32bad0
Merge pull request #10460 from gschorcht/esp32_fix_baslibs
cpu/esp32: fixes LINKFLAGS in Makfile.include
2018-11-28 15:49:25 +01:00
Juan Carrano
c4ccaecda5 boards/msba2: Do not set PORT.
Boards should not set PORT and should not have code conditional on
PORT as that causes PORT to be evaluated and the build to fail even
if this varible is not needed.

Exporting has the same effect.

This fixes the MSBA2 board by declaring PORT_LINUX and PORT_DARWIN
instead.
2018-11-28 15:46:53 +01:00
f9eebce43f
tests/qdsa: Move from unittests to regular tests
Stack size is changed from 4 times the default + printf to 5 times the
default stack size. Only on the lpc2387 this reduces the resulting stack
space. the test is not rerun for the lpc2387 and is untested.
2018-11-28 14:37:37 +01:00
Sebastian Meiling
4eaf1d8135
Merge pull request #10384 from bergzand/pr/netdev/ref_nid
netdev_ieee802154/radios: refactor PAN ID reset to generic ieee802154 reset
2018-11-28 12:15:45 +01:00
7078acfadf
Merge pull request #10423 from gebart/frdm-k64f/btn-macros
frdm-k64f: Define BTNx macros for user pushbuttons
2018-11-28 11:39:36 +01:00
2abf86afb4
mrf24j40: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:04 +01:00
5566f48f02
kw2xrf: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:04 +01:00
bd4592a06b
cc2420: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:03 +01:00
357eed551d
at86rf2xx: Remove netdev access from set_pan
This write access is only required when a modification to the PAN ID
happened directly via this function and not via a netdev::set operation.
The only direct call was done in the reset function of the driver
2018-11-28 11:31:03 +01:00
03653ecd39
mrf24j40: Remove PAN ID initialization from reset 2018-11-28 11:31:03 +01:00
52e68735c3
kw2xrf: Remove PAN ID initialization from reset 2018-11-28 11:31:03 +01:00
d2ddc4ef2e
cc2420: Remove PAN ID initialization from reset 2018-11-28 11:31:02 +01:00