Benjamin Valentin
8f3d1eaf04
tests: reduce THREAD_STACKSIZE_DEFAULT for stm32f030f4-demo
2019-10-21 15:33:48 +02:00
Benjamin Valentin
31dbbff450
examples: add stm32f030f4-demo to Makefile.ci
2019-10-21 15:33:48 +02:00
Benjamin Valentin
58892fbbef
tests: add stm32f030f4-demo to Makefile.ci
2019-10-21 15:33:11 +02:00
Benjamin Valentin
a97e0543cb
boards: add stm32f030f4-demo
...
The board is a very cheap (< 1€) breakout board for the stm32f030f4 MCU.
2019-10-21 15:30:22 +02:00
Benjamin Valentin
6db9421057
cpu/stm32f0: add STM32F030x4
2019-10-21 15:30:22 +02:00
benpicco
80c00339a4
Merge pull request #12477 from francois-berder/mips-refactor
...
cpu: mips*: Reorganize headers
2019-10-21 15:26:45 +02:00
Martine Lenders
42968ccc6b
Merge pull request #12528 from benpicco/ifconfig_scope
...
shell_commands: gnrc_netif: print correct scope for IPv6 address
2019-10-21 15:16:47 +02:00
Benjamin Valentin
2ff7c474b7
shell_commands: gnrc_netif: print correct scope for IPv6 addr
...
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.
This is wrong for site-local and unique local addresses which were
also denoted as global.
So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
68922c49d9
Merge pull request #12401 from maribu/llvm-atomic-lib
...
makefiles: Disable `-Watomic-alignment` on LLVM
2019-10-21 14:39:54 +02:00
benpicco
a653f9fccd
Merge pull request #12478 from pokgak/pr/dtls_echo/handle_handshake_failure
...
examples/dtls-echo: handle handshake_failure alert
2019-10-21 13:43:35 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
...
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
4b06a11b93
Merge pull request #12470 from aabadie/pr/boards/kw41z_openocd
...
boards/frdm: update openocd version requirements
2019-10-21 13:30:54 +02:00
Aiman Ismail
1900563ec6
pkg/tinydtls: bump package version
...
This pulls in commit 865ca387cd9d05e52943e5641ad0eefafef218a3 which
fixes #12351 .
2019-10-21 13:24:35 +02:00
Aiman Ismail
296ed87e8a
examples/dtls-echo: handle handshake failure alert
2019-10-21 13:24:35 +02:00
Marian Buschsieweke
d0c50918f8
examples: Updated BOARD_BLACKLIST
...
Added atmega328p to BOARD_BLACKLIST where needed
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
6441e3c178
tests: Updated BOARD_BLACKLIST
...
- Added atmega328p to BOARD_BLACKLIST where needed
- Adapted special timer frequency selection in tests/periph_timer to also
select 25kHz for the atmega328p board
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
...
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
87380f309f
examples: Added atmega328p to Makefile.ci
...
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
f9c2f26dd0
boards: Added standalone ATmega328p
2019-10-21 12:54:46 +02:00
Martine Lenders
05bcdba02e
Merge pull request #10499 from miri64/gnrc_netif/enh/split-6lo-6ln
...
gnrc_netif: introduce distinction if an interface supports 6Lo or if it performs ND according to RFC 6775
2019-10-21 11:47:30 +02:00
benpicco
0aa63f84c7
Merge pull request #12515 from bergzand/pr/stmclk/fix_sai_shift
...
stmclk: Fix M-factor shift for SAI PLL
2019-10-21 11:37:07 +02:00
benpicco
ee68602b2b
Merge pull request #12525 from benpicco/make_sam0-typo
...
makefiles/sam0: fix typo
2019-10-21 11:35:25 +02:00
Benjamin Valentin
81fe1b9c9c
makefiles/sam0: fix typo
...
Somehow an additional parenthesis sneaked in. Remove it to fix the Makefile.
2019-10-21 11:04:13 +02:00
Martine Lenders
3564546a5e
Merge pull request #12502 from aabadie/pr/riscv_fix_build
...
riscv: fix tests/pkg_wolfssl and tests/lwip_gnrc_udp when building with default options
2019-10-21 10:37:23 +02:00
Martine Lenders
8b2f697f8c
Merge pull request #12512 from miri64/gnrc_ipv6/fix/i11980
...
gnrc_ipv6: fix SEGFAULT when multicasting with multiple interfaces
2019-10-21 09:44:44 +02:00
5578740fc4
Merge pull request #12397 from fjmolinas/pr_CPU_ARCH_FAM
...
makefiles/vars.inc.mk: move definition and export of CPU_FAM and CPU_ARCH to vars.inc.mk
2019-10-21 08:23:51 +02:00
02ff48751e
pkg/wolfssl: disable maybe-uninitialized warning with wolfcrypt
...
Only when building with riscv toolchain, because the default optimization used can lead to this problem.
2019-10-21 08:09:51 +02:00
300c3abf2b
tests/lwip_sock_udp: fix sizeof address param in mempcy
...
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2019-10-21 08:09:51 +02:00
Cenk Gündoğan
e66283f12a
Merge pull request #12513 from miri64/gnrc_ipv6_fix/fix/auto-config-with-no-slaac-but-6ln
...
gnrc_ipv6_nib: don't auto-configure IPv6 w/o SLAAC on non-6LN interface
2019-10-21 01:01:46 +02:00
Martine Lenders
7cba2fb63d
gnrc_ipv6_nib: don't auto-configure IPv6 w/o SLAAC on non-6LN interface
...
When the NIB is compiled for 6LN mode (but not a 6LBR), the Stateless
Address Autoconfiguration (SLAAC) functionality is disabled, as it is
typically not required; see `sys/include/net/gnrc/ipv6/nib/conf.h`, ll.
46 and 55. However, if a non-6LN interface is also compiled in (still
without making the node a border router) an auto-configured address will
be assigned in accordance with [RFC 6775] to the interface, just
assuming the interface is a 6LN interface. As it then only performs
duplicate address detection RFC-6775-style then, the address then never
becomes valid, as the duplicate address detection according to [RFC
4862] (part of the SLAAC functionality) is never performed.
As auto-configuring an address without SLAAC doesn't make sense, this
fix makes the interface skip it completely, but provides a warning to
the user, so they know what to do.
[RFC 6775]: https://tools.ietf.org/html/rfc6775#section-5.2
[RFC 4862]: https://tools.ietf.org/html/rfc4862#section-5.4
2019-10-21 00:17:12 +02:00
benpicco
c9e7fffbec
Merge pull request #12511 from benpicco/pthread-malloc_check
...
sys/pthread: check return value of malloc()
2019-10-20 20:40:28 +02:00
5eedd9c629
stmclk: Fix M-factor shift for SAI PLL
2019-10-20 18:22:18 +02:00
Dylan Laduranty
2b98b12e07
Merge pull request #12430 from bergzand/wip/cdcacm/assoc
...
CDCACM: Add interface association descriptor before CDC ACM control interface descriptor
2019-10-20 17:02:37 +02:00
80f9788324
cdc acm: add interface association descriptor
2019-10-20 15:55:23 +02:00
Dylan Laduranty
d9c240a2ff
Merge pull request #12429 from bergzand/pr/usbus/pre_descriptor
...
usbus: add descriptor prefix support
2019-10-20 15:52:29 +02:00
Martine Lenders
c93b30268b
tests/gnrc_ipv6_nib_6ln: add msb-430* to BOARD_INSUFFICIENT_MEMORY
...
The new fixed code paths with the 6LN/6Lo distinction make this
application too big for the given boards
2019-10-20 15:40:10 +02:00
Martine Lenders
6ad62b01a4
gnrc_netif: distinct is_6lo() and is_6ln()
...
The functions now are semantic distinct:
- gnrc_netif_is_6lo(): the interface is a 6Lo interface
- gnrc_netif_is_6ln(): the interface is using Neighbor Discovery
according to RFC 6775
2019-10-20 15:38:14 +02:00
Martine Lenders
363afa62ee
gnrc_netif: introduce 6LN flag
...
This makes it dynamically configurable if an interface actually want's
to use 6Lo ND (according to RFC 6775) or not.
2019-10-20 15:38:13 +02:00
Martine Lenders
fb0e9559a1
gnrc_ipv6: use is_6lo() instead of is_6ln()
...
We want to check if the interface is an interface requiring the 6Lo
adaptation layer, not if it is a 6LN according to RFC 6775 [[1]].
[1]: https://tools.ietf.org/html/rfc6775#section-2
2019-10-20 15:38:13 +02:00
Martine Lenders
8bcce5615e
gnrc_netif: use is_6lo() instead of is_6ln()
2019-10-20 15:38:13 +02:00
Martine Lenders
6d324bbb75
gnrc_netif: introduce is_6lo()
as alias to is_6ln()
...
Preparation step to introduce a semantic difference between an
interface being a 6Lo interface and a 6LN according to RFC 6775 [[1]]
(i.e. performs Neighbor Discovery as defined there).
[1]: https://tools.ietf.org/html/rfc6775#section-2
2019-10-20 15:38:13 +02:00
Martine Lenders
ce14ee1f77
gnrc_ipv6: fix SEGFAULT when multicasting with multiple interfaces
...
When writing to the IPv6 header the implementation currently doesn't
take the packet with the (potentially) duplicated header, but the
packet with the original one, which leads to the packet sent and then
released in `gnrc_netif_ethernet.c` first and then accessed again in
further iterations of the "writing to the IPv6 header" loop, which
causes access to an invalid pointer, causing a crash.
Fixes #11980
2019-10-20 14:25:40 +02:00
Benjamin Valentin
764a9e9f63
sys/pthread: check return value of malloc()
...
To prevent a NULL pointer dereference on a memory constrained system,
check if malloc() was actually successful.
2019-10-20 14:17:07 +02:00
5db4310b45
Merge pull request #12481 from aabadie/pr/driver/rn2xx3_fix_sleep
...
drivers/rn2xx3: fix sleep function
2019-10-20 08:00:40 +02:00
798d3170d5
Merge pull request #12510 from gschorcht/tests/log_color
...
tests/log_color: fix string literal error
2019-10-19 19:31:44 +02:00
Martine Lenders
267dd0b73d
Merge pull request #12349 from miri64/gnrc_sixlowpan_frag_rb/enh/new-functions
...
gnrc_sixlowpan_frag_rb: add new functions for SFR
2019-10-19 17:00:07 +02:00
Gunar Schorcht
41e31c516c
tests/log_color: fix string literal error
...
printf function requires a string literal as the format argument. Using a character pointer is not accepted as string literal by some compilers.
2019-10-19 16:59:11 +02:00
Martine Lenders
3cc8b912a2
tests/gnrc_sixlowpan_frag: fix comment typo
2019-10-19 16:30:45 +02:00
Martine Lenders
f228dedcf4
gnrc_sixlowpan_frag_rb: fix comment typo
2019-10-19 16:30:45 +02:00
Martine S. Lenders
b715aee81d
tests: add tests for new 6Lo reassembly buffer functions
2019-10-19 16:30:45 +02:00