f6e616d48f
tests/pkg_semtech-loramac: fix send return value management
2019-01-30 18:58:43 +01:00
afc85e3daa
pkg/semtech-loramac: improve send and recv functions doc
2019-01-30 18:58:43 +01:00
1f0b2c390e
pkg/semtech-loramac: better handle TX status from the MAC
2019-01-30 18:58:28 +01:00
cc144bfb0a
Merge pull request #10901 from miri64/github/fix/title-should-be-name
...
github: fix security bug template
2019-01-30 14:43:13 +01:00
Michel Rottleuthner
bba4d5b39b
drivers/sds011: add saul integration
2019-01-30 13:15:17 +01:00
Michel Rottleuthner
61dc1920d3
sys/phydat: add unit for mass concentration (g/m^3)
2019-01-30 13:15:17 +01:00
Michel Rottleuthner
6cffa07ed1
drivers/saul: add sensor type for particulate matter
2019-01-30 13:15:17 +01:00
Michel Rottleuthner
17a1358ccb
tests: add test application for sds011 driver
2019-01-30 13:15:17 +01:00
Michel Rottleuthner
f5dc2524d0
drivers: add driver for SDS011 active laser dust sensor
2019-01-30 13:15:17 +01:00
21dda9474e
Merge pull request #10794 from aabadie/pr/cpu/saml21_exti_fix
...
cpu/saml21: extend and fix exti configuration for saml21 variants
2019-01-30 12:34:21 +01:00
Gunar Schorcht
9423252326
Merge pull request #10862 from gschorcht/esp8266_esp_wifi_netdev_fix
...
cpu/esp8266: Fixes and improvements of esp_wifi netdev driver
2019-01-30 11:31:33 +01:00
7cf3510b64
cpu/saml21: extends exti configuration for saml21 variants
...
Added a configuration for saml21g18a and fixes the configuration for samr30g18a
2019-01-30 09:32:59 +01:00
Gunar Schorcht
66c4cf8647
cpu/esp8266: avoid WiFi going into sleep mode
2019-01-30 08:27:21 +01:00
Martine Lenders
1152355029
github: fix security bug template
2019-01-30 08:05:43 +01:00
Martine Lenders
6d708bafb4
Merge pull request #10756 from miri64/github/enh/security-red
...
.github: add big warning signs about security bugs
2019-01-30 08:01:19 +01:00
Federico Pellegrin
318f0cf679
sam0 flashpage: make ready check inline, add wait also after PBC
2019-01-30 04:29:23 +01:00
Martine Lenders
1481239bdf
Merge pull request #10896 from miri64/sock_dns/fix/too-small-msg-error
...
sock_dns: correctly report too short messages
2019-01-29 23:43:53 +01:00
Gunar Schorcht
57fdb23464
cpu/esp8266: fix compile problems
2019-01-29 23:25:31 +01:00
Cenk Gündoğan
b3843daeb8
Merge pull request #10817 from miri64/gnrc_netif/enh/i10723
...
gnrc_ipv6_nib: use generated EUI-64 for ARO build and check
2019-01-29 22:49:41 +01:00
Martine Lenders
b30cdb51a5
sock_dns: correctly report too short messages
2019-01-29 22:32:50 +01:00
Martine Lenders
d680aeae07
gnrc_ipv6_nib: use gnrc_netif_get_eui64() for ARO build and check
2019-01-29 21:52:53 +01:00
Martine Lenders
0fa8419c4a
gnrc_netif: wrap _ipv6_iid_from_addr() around _eui64_from_addr()
2019-01-29 21:52:53 +01:00
Martine Lenders
16e7fc8336
gnrc_netif: introduce L2 address to EUI-64 conversion
2019-01-29 21:52:53 +01:00
Martine Lenders
a2b2f96fe3
gnrc_netif: rename _create_iid_from_short() to emphesize EUI-64
2019-01-29 21:52:53 +01:00
Martine Lenders
9468342e44
eui48: wrap eui48_to_ipv6_iid() around eui48_to_eui64()
2019-01-29 21:52:53 +01:00
Martine Lenders
963b405312
eui48: introduce eui48_to_eui64() function
2019-01-29 21:52:53 +01:00
Federico Pellegrin
409d83e087
sam0 flashpage: minor code style fixes
2019-01-29 20:58:46 +01:00
Marian Buschsieweke
a81d39494f
drivers/w5100: Fix recv() with too small buffer
...
If netdev_driver_t::recv() is called and the provided buffer is smaller than
the frame then `-ENOBUFS` should be returned, the frame should be dropped, and
no data of the frame should be returned.
Addresses: https://github.com/RIOT-OS/RIOT/issues/10413
2019-01-29 20:38:56 +01:00
Marian Buschsieweke
ea3edef5c7
drivers/w5100: Added missing drop implementation
...
The netdev_driver_t::recv implementation of the w5100 does not provide the
drop feature. This commit adds it.
Fixes: https://github.com/RIOT-OS/RIOT/issues/10410
2019-01-29 20:36:37 +01:00
Gunar Schorcht
975fba8265
cpu/esp8266: check free heap before pbuf alloc
...
Checking by the send function that at least two maximum size Ethernet frames fit in the remaining heap before the LwIP packet buffer is allocated seems to increase stability. This can be caused by the fact that WLAN hardware interrupts allocate additional memory when receiving a frame during the send attempt.
2019-01-29 18:16:21 +01:00
82b2362bc3
core/msg: add assert for problem identified in #10881
2019-01-28 17:14:16 +01:00
62bb4cc526
cpu/native: fix race condition in thread_yield_higher()
...
Error case:
1. thread_yield_higher() stores the thread's ucontext
2. creates an "isr ucontext" for isr_thread_yield, switches to it
Case 1: no signals are pending, continues in isr_thread_yield()
3a. sched_run is called
4a. return to sched_active_thread ucontext
Case 2: signals pending (the crashing scenario), continues in native_irq_handler()
3b. handles signals
4b. if sched_context_switch_request is set, call sched_run
5b. return to sched_active_thread ucontext
4b misses the call to sched_run(), leading to a possible return into a
non-ready thread.
2019-01-28 17:12:01 +01:00
782b181b63
Merge pull request #10887 from aabadie/pr/make/distclean_cleanup
...
tests: remove leftover test targets in test application makefiles
2019-01-28 16:25:02 +01:00
Martine Lenders
caa1d0b8e5
Merge pull request #10755 from maribu/ltc4150-new
...
drivers/ltc4150: (Re-)implemented driver for the LTC4150 coulomb counter
2019-01-28 15:05:53 +01:00
Marian Buschsieweke
075ad47bb3
tests/driver_ltc4150: BOARD_INSUFFICIENT_MEMORY
2019-01-28 13:53:47 +01:00
Marian Buschsieweke
2ba57ac00c
tests/driver_ltc4150: Workarround for msp430
...
The msp430 toolchain is missing an `fputs()` implementation. This commit makes
them use the `printf("%s", str);` instead of `fputs(str, stdout);`, which is
semantically equivalent (but has more overhead).
2019-01-28 13:53:38 +01:00
Marian Buschsieweke
618e2e58d5
tests: Added test for ltc4150 driver
2019-01-28 13:50:42 +01:00
Marian Buschsieweke
db0c66e07f
drivers/ltc4150: Allow tracking last minute charge
...
Implemented an example `ltc4150_recorder_t` implementation as a proof of concept
for the recorder API.
2019-01-28 13:45:45 +01:00
Marian Buschsieweke
fa0d08a08b
boards/msba2: Added ltc4150 to saul_default
2019-01-28 13:45:08 +01:00
Marian Buschsieweke
c434c5cd3a
drivers/saul: Integrated ltc4150
2019-01-28 13:44:45 +01:00
Marian Buschsieweke
c00886ac39
drivers/ltc4150: (Re-)implemented LTC4150 driver
...
The LTC4150 is a coulomb counter (a.k.a. battery sensor or bidirectional
current sensor) that is used in the MSBA2 board and available for little money
as easy to use break out board.
2019-01-28 13:44:16 +01:00
Marian Buschsieweke
5acd87bf6f
tests/saul: Updated BOARD_INSUFFICIENT_MEMORY
2019-01-28 13:33:27 +01:00
Marian Buschsieweke
ac98c98a0d
drivers/saul: Added coulomb counter & ammeter
2019-01-28 13:33:18 +01:00
Marian Buschsieweke
cc0e6dc779
sys/phydat: Added unit Coulomb
2019-01-28 13:33:16 +01:00
Marian Buschsieweke
d180339e5a
sys/shell: Removed fragments of old driver
...
The shell handlers of the old, depreciated and removed LTC4150 driver are still
in place. This commit removes them
2019-01-28 13:33:14 +01:00
9bf82ecd16
tests/pkg_cmsis-dsp: remove useless test target
2019-01-28 10:26:36 +01:00
3ef9707e40
tests/cond_order: remove useless test target
2019-01-28 10:26:20 +01:00
Martine Lenders
579925b81d
Merge pull request #10879 from miri64/shell_commands/fix/nib-check-iface
...
sc_gnrc_ipv6_nib: check interface existence
2019-01-28 09:46:28 +01:00
Peter Kietzmann
7cd93e766b
Merge pull request #10885 from MrKevinWeiss/pr/copywrite
...
doc: Update copywrites it include HAW
2019-01-28 09:39:17 +01:00
Martine Lenders
28204e0a4f
sc_gnrc_ipv6_nib: check interface existence
...
Currently an interface's existence is not checked when it is supplied
by the user with the `nib` command. This can lead to assertion errors
as soon as the generated entry tries to resolve an address or route
generated with that command and the network interface not being found.
2019-01-28 09:16:51 +01:00