Robin Nehls
326be16b90
gnrc_ipv6: fix possible NULL pointer dereference
...
When the payload length of an encapsulated IPv6 packet is 0, the
`_receive` function of IPv6 can be given a NULL pointer, causing the
IPv6 header checker to crash because of a NULL pointer dereference.
2018-04-03 14:46:12 +02:00
983bbba028
Merge pull request #8805 from miri64/ethos/fix/uart-dependency
...
ethos: add periph_uart as dependency
2018-03-27 21:18:43 +02:00
Sebastian Meiling
38b8be0d09
Merge pull request #8836 from miri64/gnrc_netreg/fix/netapi-pid-init-with-callbacks
...
gnrc_netreg: fix static PID initialize for gnrc_netapi_callbacks
2018-03-27 19:37:48 +02:00
Gaëtan Harter
21a9958323
Merge pull request #8822 from aabadie/pr/make_curly
...
make: replace curly braces with parenthesis
2018-03-27 15:44:36 +02:00
Joakim Nohlgård
7f454d659b
Merge pull request #8583 from gebart/pr/phydat-align
...
sys/phydat: align numbers, remove index if dim == 1
2018-03-27 14:34:41 +02:00
Dylan Laduranty
1e3cf7db08
Merge pull request #8810 from gebart/pr/samd21-tc-intflags
...
cpu/samd21: Avoid clearing interrupt bits unintentionally
2018-03-27 11:25:59 +02:00
be5ae87262
Merge pull request #8829 from ZetaR60/RIOT_xplained
...
cpu/atmega1284p: support and boards/mega-xplained: support
2018-03-27 10:03:15 +02:00
Joakim Nohlgård
dfa342b5f8
cpu/samd21: Avoid clearing interrupt bits unintentionally
...
The INTENSET, INTENCLR, INTFLAG registers are write-1-to-confirm
registers, so writing zeroes will not affect anything, on the other
hand, a compiler generated read-modify-write cycle may unintentionally
affect more bits than the one being set. Avoid by using direct
assignment instead of or-assignment (|=) or bitfield writes (.bit.xxx=).
2018-03-27 07:54:18 +02:00
Matthew Blue
6d96eaa491
examples/* : blacklisting for mega-xplained
2018-03-26 11:17:23 -04:00
Matthew Blue
9378d6c133
tests/* : blacklisting for mega-xplained
2018-03-26 11:17:23 -04:00
Matthew Blue
3794b76d46
boards/mega-xplained: Initial Mega1284P Xplained support
2018-03-26 11:17:15 -04:00
f0c3a648bb
Merge pull request #8834 from aabadie/pr/drivers/sx127x_paselect
...
drivers/sx127x: make paselect configurable in the driver params
2018-03-26 16:29:58 +02:00
Martine Lenders
31711a8560
gnrc_netreg: fix static PID initialize for gnrc_netapi_callbacks
2018-03-26 15:00:57 +02:00
9328a1f2a2
drivers/sx127x: make paselect configurable
2018-03-26 09:38:35 +02:00
Matthew Blue
d3dc49e2ab
cpu/atmega_common: Support for ATmega1284P
2018-03-25 14:24:40 -04:00
Matthew Blue
a55921394c
cpu/atmega1284p: Initial ATmega1284P support
2018-03-25 14:24:37 -04:00
719515a0c3
Merge pull request #8830 from gebart/pr/mutex-c++-fix
...
core/mutex: fix -fpermissive warning in C++ mode
2018-03-25 12:33:51 +02:00
Joakim Nohlgård
1fdfa6480d
core/mutex: fix -fpermissive warning in C++ mode
...
g++ gives the error message "error: invalid conversion from ‘void*’ to
‘list_node*’ [-fpermissive]"
2018-03-25 09:11:26 +02:00
Joakim Nohlgård
2125a438b4
sys/phydat: Align numbers, remove index if dim == 1
2018-03-23 14:51:08 +01:00
61f1b941ce
make: replace curly braces with parenthesis
2018-03-22 20:43:15 +01:00
Martine Lenders
690c36b3cf
Merge pull request #8652 from cladmi/pr/remove_nativeincludes
...
native: remove non required NATIVEINCLUDES
2018-03-22 15:57:38 +00:00
Gaëtan Harter
57c8b654dd
Merge pull request #8592 from gebart/pr/phydat-fit
...
sys/phydat: Add phydat_fit to rescale values for phydat_t
Fits larger values into the 16 bit integers used by phydat_t and update scale accordingly.
Including a minimal unit test.
2018-03-22 15:59:57 +01:00
Joakim Nohlgård
3e2214d29c
sys/phydat: Fix Doxygen group for phydat_str.c
2018-03-22 15:21:01 +01:00
Joakim Nohlgård
f4fce5b2d2
unittests: Add test for phydat (phydat_fit)
2018-03-22 15:21:01 +01:00
Joakim Nohlgård
63f49f22d8
sys/phydat: Add phydat_fit
...
Fits larger values into the 16 bit integers used by phydat and update
scale accordingly.
2018-03-22 15:21:01 +01:00
0f19bdd860
Merge pull request #8818 from cladmi/pr/ld/bindist_fix_application_module_duplicate
...
bindist: remove APPLICATION_MODULE duplicate
2018-03-22 14:51:04 +01:00
Joakim Nohlgård
2060492cf9
bindist: remove APPLICATION_MODULE duplicate
...
Fix APPLICATION_MODULE being duplicated in the command line during link.
This error is currently silently ignored by the linker.
2018-03-22 14:32:24 +01:00
7f91bfe96e
Merge pull request #8815 from aabadie/pr/pkg/cleanup_makefile
...
pkg*: replace curly braces by parenthesis in makefiles
2018-03-22 09:50:03 +01:00
328e2075e2
pkg*: replace curly braces by parenthesis in makefiles
2018-03-22 09:12:12 +01:00
0f07bccfc9
Merge pull request #8701 from aabadie/pr/drivers/params/cc2420
...
drivers/cc2420: apply unified driver params scheme
2018-03-21 07:27:50 +01:00
Martine Lenders
b6a4334210
Merge pull request #8425 from aabadie/pr/soft_spi_doxygen
...
drivers/soft_spi: move to drivers_periph group
2018-03-21 00:27:45 +00:00
8249ffadf4
drivers/soft_spi: add to drivers_soft_periph group
2018-03-20 20:09:55 +01:00
Francisco Acosta
a0017e3eb7
Merge pull request #8763 from aabadie/pr/boards/nucleo-l1-xtimer-backoff
...
boards/nucleo-l152: increase xtimer backoff
2018-03-20 18:33:48 +01:00
6e976ac2e5
drivers: add new drivers_soft_periph doxygen group
2018-03-20 18:33:35 +01:00
Martine Lenders
198e7cf1eb
ethos: add periph_uart as dependency
...
`ethos` should have `periph_uart` as a dependency.
2018-03-20 17:17:29 +00:00
Gaëtan Harter
93a521c501
native: remove non required NATIVEINCLUDES
...
Some modules used a 'NATIVEINCLUDES' with different include path and no other
included directories.
It was defining basic 'include' in a different order and not using other things
defined in INCLUDES.
After doing some checks with the given include path and possible conflicting
files, there should be no conflict when using the default one.
* No common headers between all the NATIVEINCLUDES directories
* No common headers files between board/native/include, cpu/native/include and
other files in the repository (except other boards/cpus of course).
2018-03-20 17:51:03 +01:00
Gaëtan Harter
b5554bcc1f
posix/osx: fix missing AF_LINK on OSX native
...
netdev_tap.c uses AF_LINK when compiled on OSX native.
Preparation to remove NATIVEINCLUDES.
2018-03-20 17:50:57 +01:00
Gaëtan Harter
dcebfb11bc
posix/osx: fix type conflict on OSX native
...
In another header file, `socklen_t` is defined to `__darwin_socklen_t` which is
an `uint32_t` and it conflicts.
Preparation to remove NATIVEINCLUDES.
2018-03-20 17:50:47 +01:00
Martine Lenders
39a755c345
Merge pull request #7198 from miri64/native/feat/trace-initial
...
trace: initial import of a stack backtrace function for native
2018-03-20 16:49:10 +00:00
Martine Lenders
87d45c1719
tests: provide tests for trace module
2018-03-20 15:14:07 +00:00
Martine Lenders
875a5c165d
trace: initial import of a stack backtrace function for native
...
Sometimes the debugger just isn't fast enough to debug that pesky race
conditions. This module provides at least a little help.
2018-03-20 15:12:48 +00:00
Martine Lenders
565341c9fd
Merge pull request #8799 from kaspar030/fix_tests_shell
...
tests/shell: disable DEVELHELP
2018-03-19 16:20:55 +00:00
Ken Bannister
b8e88703ec
Merge pull request #8800 from haukepetersen/opt_gcoap_noresponsehandler
...
net/gcoap: allow to not define a response handler
2018-03-19 14:57:56 +00:00
Hauke Petersen
a63f92a7a6
net/gcoap: allow to not define a response handler
2018-03-19 11:56:58 +01:00
0611be6b1b
tests/shell: disable DEVELHELP
...
Fixes tests assuming non-DEVELHELP ps output.
2018-03-19 10:53:16 +01:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
...
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
eb9e2dadf1
encx24j600: add link status support
2018-03-18 15:32:41 +01:00
8735adee7d
enc28j60: add link status support
2018-03-18 15:32:41 +01:00
9d61314c09
shell/netif: Add link status to interface status output
2018-03-18 15:32:40 +01:00
831e7635de
netopt: Add link status option
2018-03-18 15:32:36 +01:00