Benjamin Valentin
7b60214d94
unittests: add test for luid module
2019-11-04 21:08:33 +01:00
Benjamin Valentin
38e94d09db
sys/luid: provide luid_get_eui48() and luid_get_eui64()
...
The most common use case for luid is to generate those
addresses, so provide helper functions for it.
2019-11-04 21:08:23 +01:00
Benjamin Valentin
f6e7be9a06
sys/luid: allow to overwrite luid_base()
...
This allows to overwrite luid_base() with a function that reads an
ID from e.g. a EUI64MAC chip if no CPU ID is available.
2019-11-04 21:07:23 +01:00
Benjamin Valentin
9fb01b6d1c
eui64: Add address flag helper functions
2019-11-04 20:58:34 +01:00
Martine Lenders
ca37cde142
gnrc_sixlowpan_frag_fb: introduce function to get entry by tag
2019-11-04 20:04:39 +01:00
Martine Lenders
8c3dc66ad8
gnrc_sixlowpan_frag: factor-out and rename fragmentation buffer
...
The name `fragment_msg` or `frag_msg`/`msg_frag` always to me was a bit
misplaced, as it basically implements an asynchronous fragmentation
buffer and doesn't necessarily have anything to do with messages.
This change
1. changes the name to `fb` (for fragmentation buffer)
2. factors its code out to its own sub-module so it can be re-used by
other 6LoWPAN fragmentation schemes like [Selective Fragment
Recovery]
[Selective Fragment Recovery]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-05
2019-11-04 20:04:37 +01:00
Martine Lenders
79c8fc5405
Merge pull request #12599 from miri64/gnrc_sixlowpan_frag/enh/remove-code-dup
...
gnrc_sixlowpan_frag: various optimizations and clean-ups on sending
2019-11-04 19:54:33 +01:00
b8b7606a7c
Merge pull request #12608 from aabadie/pr/pkg/hacl_arch_32bit
...
pkg: tests: handle arch requirements at pkg level, remove useless board blacklist
2019-11-04 15:20:03 +01:00
Benjamin Valentin
5ec9f62a0b
cpu/lpc2387: add UART register map
2019-11-04 01:21:08 +01:00
Leandro Lanzieri
d8e39f1b37
Merge pull request #12635 from kb2ma/gcoap/obs_attribute_doc
...
net/gcoap: refine doc for 'obs' link attribute
2019-11-03 18:13:45 +01:00
Ken Bannister
b354b8bd1a
net/gcoap: refine doc for 'obs' link attribute
2019-11-03 09:28:02 -05:00
benpicco
9ca805b2d9
Merge pull request #12633 from gschorcht/boards/esp32-wroom-32/doc-fix
...
boards/esp32-wroom-32: fixes a broken image link
2019-11-03 14:33:25 +01:00
Gunar Schorcht
7d63158e06
boards/esp32-wroom-32: fixes a broken image link
2019-11-02 18:31:45 +01:00
benpicco
926bdc9a9f
Merge pull request #12579 from bergzand/pr/stm32/lpclk_en_dis
...
stm32/cpu: Add functions for low power mode clock config
2019-11-01 23:16:37 +01:00
799823b630
stm32/cpu: Add functions for low power mode clock config
2019-11-01 20:19:41 +01:00
Martine Lenders
2a1e002d6d
Merge pull request #12627 from miri64/gnrc_sixlowpan_iphc_nhc/enh/frag+iphc-payload_len
...
gnrc_sixlowpan_iphc_nhc: determine UDP hdr length from RB
2019-11-01 19:47:08 +01:00
Martine Lenders
1b02acf497
Merge pull request #12630 from miri64/gnrc_sixlowpan_iphc/cleanup/duplicate-netif-get
...
gnrc_sixlowpan_iphc: remove duplicate gnrc_netif_hdr_get_netif()
2019-11-01 19:46:52 +01:00
Martine S. Lenders
f33111a9c2
gnrc_sixlowpan_iphc: remove duplicate gnrc_netif_hdr_get_netif()
...
The interface is already fetched in the beginning of the function and
doesn't change during its run, so getting the interface again at this
point is just redundant.
2019-11-01 18:29:44 +01:00
benpicco
865059fc66
Merge pull request #11230 from maribu/xtimer_msg_deps
...
sys/xtimer: Remove dependency to core_msg
2019-11-01 15:22:10 +01:00
Martine S. Lenders
806f33fce4
gnrc_sixlowpan_iphc_nhc: determine UDP hdr length from RB
...
When decoding IPHC in a fragmented datagram, relying on the size of the
allocated space for the decoded packet is wrong when fragments are
forwarded and decoded on an intermediate node (for which the reassembly
buffer's space is used): Using the full datagram size for allocation in
this case would be wasteful, so the allocated space is only marginally
larger than the fragment's compressed form.
This in turn results in the wrong UDP payload size being chosen and
even worse being forwarded to the subsequent nodes.
This change uses the (virtual) reassembly buffer's `datagram_size`
instead of relying on the allocated space for the encoded
datagram/fragment.
2019-11-01 13:18:00 +01:00
benpicco
3a87e2d2e6
Merge pull request #12624 from miri64/sock_async/fix/compile-time-errors
...
sock_async: fix compile-time errors
2019-10-31 21:26:05 +01:00
Marian Buschsieweke
2c3712d55d
tests/xtimer_hang: Disabled module core_msg
...
Enforce that xtimer is usable without module core_msg
2019-10-31 19:55:50 +01:00
Marian Buschsieweke
cd1ce6b98d
sys/xtimer: Remove dependency to core_msg
...
When module `core_msg` is not used, `xtimer` now no longer provides the features
related to messages. This allows using `xtimer` without `core_msg`.
2019-10-31 19:55:50 +01:00
Sebastian Meiling
ca696f827b
Merge pull request #12193 from leandrolanzieri/pr/gcoap/obs
...
gcoap: Add 'obs' attribute in example and extend documentation
2019-10-31 18:14:23 +01:00
Martine S. Lenders
de47681d03
sock_async: fix compile-time errors
2019-10-31 16:01:49 +01:00
benpicco
6ba94b37f2
Merge pull request #12622 from jue89/bugfix/riotboot-slot-size
...
sys/riotboot: Fixed flashwrite_slotsize to return size of slot 1
2019-10-31 14:00:11 +01:00
Juergen Fitschen
e152b3e346
sys/riotboot: Fixed flashwrite_slotsize to return size of slot 1
2019-10-31 12:05:35 +01:00
Ken Bannister
85a392e503
Merge pull request #12598 from kb2ma/release_notes
...
release-notes.txt: add notes for 2019.10 release
2019-10-31 05:40:01 -04:00
benpicco
92b46cb335
Merge pull request #12614 from Bill0412/master
...
core/sched: remove duplicate include of irq.h
2019-10-30 20:06:12 +01:00
Ken Bannister
8f3f240b69
release-notes.txt: add notes for 2019.10 release
2019-10-30 13:41:04 -04:00
fenghe
d6227cbc4d
core/sched: remove duplicate include of irq.h
2019-10-31 01:28:32 +08:00
Martine Lenders
71ad10afa7
Merge pull request #12584 from aabadie/pr/net/nanocoap_scan_build
...
net/nanocoap: fix issues reported by scan-build
2019-10-30 17:26:42 +01:00
8b06560c02
sys/net/nanocoap: correctly initialize array
2019-10-30 17:03:06 +01:00
95da51bd7f
sys/net/nanocoap: fix potential use of uinitialized variable
2019-10-30 17:03:06 +01:00
5d1480a4b8
sys/net/nanocoap: fail when start data cannot be parsed
2019-10-30 17:03:06 +01:00
1aa1e2c8cc
sys/net/nanocoap: return ENOENT if parsing option failed
...
This fixes a potential use of uninitialized len in subsequent function calls.
This was reported by scan-build
2019-10-30 17:03:06 +01:00
Martine Lenders
5b4b12ed07
Merge pull request #11723 from miri64/sock/enh/async2
...
sock: initial definitions for asynchronous event handling
2019-10-30 16:59:11 +01:00
357eaba7cf
examples/lua*: update board blacklist
...
RISCV based boards are now blacklisted at package level
2019-10-30 16:15:41 +01:00
1055c6497e
pkg/lua: exclude RISCV
2019-10-30 16:15:41 +01:00
aaa662b9e0
examples/lua*: update board blacklist
...
MIPS based boards are now blacklisted at package level
2019-10-30 15:40:26 +01:00
01702df52d
pkg/lua: exclude MIPS
2019-10-30 15:40:09 +01:00
4eb7c29e06
examples/javascript: update board blacklist
...
MIPS based boards are now blacklisted at package level
2019-10-30 15:39:55 +01:00
219faf250e
pkg/jerryscript: exclude MIPS
2019-10-30 15:39:11 +01:00
Martine Lenders
bf5b53392c
Merge pull request #12603 from jia200x/pr/link_up
...
netopt: redefine NETOPT_LINK_CONNECTED
2019-10-30 15:19:07 +01:00
a0187caf88
examples/lua*: update board blacklist
...
Remove 8 bit and 16 bit based boards because they are automatically excluded by the 32 bit architecture requirement of the jerryscript package
2019-10-30 14:27:32 +01:00
c15c3ab8a2
pkg/lua: add arch 32bit requirement
2019-10-30 14:27:15 +01:00
c9304ab73b
examples/javascript: update board blacklist
...
Remove 8 bit and 16 bit based boards because they are automatically excluded by the 32 bit architecture requirement of the jerryscript package
2019-10-30 14:27:02 +01:00
04e8461460
pkg/jerryscript: add arch 32bit requirement
2019-10-30 14:25:41 +01:00
Jose Alamos
f77eba2e53
gnrc_ipv6_ext_frag: add board to insufficient memory list
2019-10-30 14:23:34 +01:00
9755694b56
examples/dtls-echo: remove useless board blacklist
...
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 14:12:40 +01:00