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

1617 Commits

Author SHA1 Message Date
Francisco Molina
3e4e664071
ztimer: remove duplicate dependencies 2021-06-16 11:18:25 +02:00
Kevin "Tristate Tom" Weiss
0c06948373
Merge pull request #16552 from MrKevinWeiss/pr/fix/kconfigqdsa
pkg/qdsa: force qdsa to lowercase
2021-06-15 15:21:26 +02:00
MrKevinWeiss
0345f97962 pkg/qdsa: force qdsa to lowercase 2021-06-15 12:06:10 +02:00
Kevin "Tristate Tom" Weiss
adf228ae7c
Merge pull request #15664 from jia200x/pr/openthread/deprecate_jobs
pkg/openthread: deprecate ot_command related functions
2021-06-14 16:44:35 +02:00
Jose Alamos
6b6eb1cbd8
pkg/openthread: add doxygen documentation for calling OT API 2021-06-14 16:00:12 +02:00
Jose Alamos
d9c5d0a5cc
pkg/openthread: remove unused prototype 2021-06-14 16:00:12 +02:00
Jose Alamos
36c793ec52
pkg/openthread: deprecate ot_command related functions 2021-06-14 16:00:11 +02:00
benpicco
13eb3f05c5
Merge pull request #16542 from fjmolinas/pr_bump_libcose
pkg/libcose: bump version
2021-06-10 14:31:25 +02:00
Francisco Molina
9ca773ef11
pkg/libcose: fixup backend ducomentation 2021-06-10 12:36:16 +02:00
Hauke Petersen
4ab3827ce0 pkg/nimble/netif: fix buffer sizes 2021-06-10 10:02:10 +02:00
Francisco Molina
24e3330752
pkg/libcose: bump version 2021-06-10 08:36:41 +02:00
90dd3deb21
Merge pull request #16295 from fjmolinas/pr_edhoc_c
pkg/edhoc-c: initial commit
2021-06-08 17:23:52 +02:00
Francisco Molina
bbe3d3acf8
pkg/tinycrypt: use version with hkdf implementation 2021-06-08 14:34:33 +02:00
Francisco Molina
4cef100781
pkg/edhoc-c: initial commit
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2021-06-08 14:34:31 +02:00
Benjamin Valentin
b4e2711db4 pkg/nanocbor: bump version
- add support for decimal fractions
 - fix underflow in nanocbor_leave_container()
 - make return values consistent with documentation
2021-06-07 23:39:29 +02:00
025e5db592
pkg/pkg.mk: avoid git fetch if version is already there 2021-05-31 09:46:10 +02:00
Sebastiaan de Schaetzen
b6d649e344 nanopb: add dependency for C++ files 2021-05-27 16:13:38 +02:00
37bb39bcb9
pkg/lvgl: remove unnecessary dependency to auto_init_screen 2021-05-25 14:21:58 +02:00
5a393c64d6
pkg/lvgl: improve lvgl_run documentation 2021-05-21 10:05:17 +02:00
41a185cb92
pkg/lvgl: remove internal background thread 2021-05-20 12:38:55 +02:00
chrysn
a5d1639a25 pkg/libcose: Update version
introducing an optional dependency on tinycrypt
2021-05-10 17:35:03 +02:00
chrysn
f65a9e1306 pkg/tinycrypt: Avoid pulling in default_CSPRNG
... which would be provided through ecc_platform_specific.c but would
only so happen to work on native -- and conflicts with any
default_CSPRNG provided in the future (eg. through a newer libcose
packet).
2021-05-10 17:31:17 +02:00
4b6a5abc47
pkg: add qrcode generator package 2021-05-09 17:19:13 +02:00
43103a65d5
Merge pull request #16438 from maribu/bad_alloc
pkg/tlsf,cpu/esp_common: fix possible overflow in calloc implementations
2021-05-05 09:53:00 +02:00
Leandro Lanzieri
d36628d37e
Merge pull request #16183 from Ollrogge/aes_pr
sys/crypto: Enable support for AES-192, AES-256
2021-05-05 09:19:12 +02:00
Marian Buschsieweke
84169266b4
pkg/tlsf: fix possible overflow in calloc implementation 2021-05-05 08:58:31 +02:00
Ollrogge
b1a2d4787d sys/crypto: Remove leftover code related to deprecated 3DES block cipher 2021-05-03 17:34:53 +02:00
Ollrogge
427d2bd06e sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00
benpicco
11aa163509
Merge pull request #16352 from kfessel/p-doc-pkg
doc/pkg: provide a longer short description
2021-04-30 12:00:13 +02:00
benpicco
c5e0597c15
Merge pull request #16406 from benpicco/pkg/nanopb-0.4.5
pkg/nanopb: bump version to 0.4.5
2021-04-28 13:36:37 +02:00
Benjamin Valentin
dd172af6ee pkg/nanopb: bump version to 0.4.5 2021-04-28 12:56:17 +02:00
Leandro Lanzieri
a60b53005a
pkg/lvgl: model dependency resolution in Kconfig 2021-04-28 11:19:24 +02:00
1fd500478b
pkg/lvgl: reduce default font size 2021-04-28 11:19:23 +02:00
b55c1152b7
pkg: model lvgl configuration via Kconfig 2021-04-28 11:19:21 +02:00
be09c44bda
pkg/lvgl: split riot specific defines out of lv_conf.h 2021-04-28 11:19:21 +02:00
438753f285
pkg/lvgl: prepare config variables for Kconfig 2021-04-28 11:19:20 +02:00
f30065e61f
pkg/lvgl: bump to v7.11.0 2021-04-28 11:19:05 +02:00
Francisco Molina
7749368608
pkg/nanocbor: bump version 2021-04-21 09:25:55 +02:00
Karl Fessel
a329c456fc doc/pkg: provide a longer short description 2021-04-20 14:57:11 +02:00
Francisco
922611b224
Merge pull request #16338 from haukepetersen/fix_nimble_tmpfixrandseed
pkg/nimble: temporary fix to NimBLE PRNG seed issue
2021-04-16 09:32:15 +02:00
Hauke Petersen
05f0105a90 pkg/nimble: switch back to upstream master 2021-04-15 14:49:36 +02:00
Hauke Petersen
8213e6ca4b pkg/nimble: temporary fix to NimBLE PRNG seed issue 2021-04-15 12:50:09 +02:00
Hauke Petersen
ec8d8703ab pkg/nimble/scanlist: fix missing stdio.h include 2021-04-15 08:21:56 +02:00
Hauke Petersen
c94f61596e pkg/nimble/scanlist: switch to ZTIMER_USEC 2021-04-15 08:21:56 +02:00
Hauke Petersen
b4ff5aae3a pkg/nimble: switch from xtimer to ztimer 2021-04-15 08:21:56 +02:00
Hauke Petersen
7e22f644da pkg/nimble: update to temporary upstream branch 2021-04-15 08:21:56 +02:00
Leandro Lanzieri
58ec967cc6
Merge pull request #16264 from MrKevinWeiss/pr/pkgupdate/kconfig
pkg/*/Kconfig: Model simple pkgs in Kconfig
2021-04-12 19:01:18 +02:00
Hauke Petersen
6a8b6ca3f5 pkg/nimble/netif: use global MSYS memory pool 2021-04-12 16:26:23 +02:00
José Alamos
a4c479ca53
Merge pull request #16313 from fjmolinas/riot-loramac-system-aes
[TAKEOVER]: pkg/semtech-loramac: switch to RIOT AES
2021-04-12 13:06:39 +02:00
Oleg Artamonov
a3cbeee9ce
pkg/semtech-loramac: switch to RIOT AES 2021-04-12 11:13:50 +02:00
iosabi
e469f2dea4 lwip_sock: Make sock_tcp_read return data if available
When reading from the socket with `sock_tcp_read()` it would only return
data from at most one internal connection buffer, even if the buffer
passed to `sock_tcp_read()` is larger and there is more data available
in the connection. This patch makes `sock_tcp_read` process all the
available data so long as there's more data to read available
immediately.
2021-04-10 18:45:57 +02:00
MrKevinWeiss
6bd6091938 pkg/*/Kconfig: Add simple kconfig pkgs
This adds many basic `PACKAGE_*` to Kconfig:
- pkg/Kconfig
- pkg/c25519/Kconfig
- pkg/cayenne-lpp/Kconfig
- pkg/cifra/Kconfig
- pkg/cn-cbor/Kconfig
- pkg/driver_atwinc15x0/Kconfig
- pkg/driver_bme680/Kconfig
- pkg/emlearn/Kconfig
- pkg/gemmlowp/Kconfig
- pkg/hacl/Kconfig
- pkg/heatshrink/Kconfig
- pkg/jsmn/Kconfig
- pkg/libb2/Kconfig
- pkg/libcose/Kconfig
- pkg/libfixmath/Kconfig
- pkg/libhydrogen/Kconfig
- pkg/lora-serialization/Kconfig
- pkg/micro-ecc/Kconfig
- pkg/microcoap/Kconfig
- pkg/minmea/Kconfig
- pkg/monocypher/Kconfig
- pkg/nanocbor/Kconfig
- pkg/nanopb/Kconfig
- pkg/qDSA/Kconfig
- pkg/qcbor/Kconfig
- pkg/relic/Kconfig
- pkg/talking_leds/Kconfig
- pkg/tiny-asn1/Kconfig
- pkg/tinycbor/Kconfig
- pkg/tinycrypt/Kconfig
- pkg/tlsf/Kconfig
- pkg/tweetnacl/Kconfig
- pkg/u8g2/Kconfig
- pkg/ubasic/Kconfig
- pkg/ucglib/Kconfig
- pkg/utensor/Kconfig
- pkg/yxml/Kconfig
2021-04-08 16:34:36 +02:00
Martine Lenders
a433cb9fbe
Merge pull request #16278 from iosabi/lwip_sock_tcp
lwip_sock: Fix computation of last_offset on partial reads.
2021-04-07 13:06:45 +02:00
iosabi
afddb46c51 lwip_sock: Fix computation of last_offset on partial reads.
lwip receives network buffers that are made available to lwip_sock_tcp
calling `netconn_recv_tcp_pbuf`. The size of these buffers depends on
the size of the network packets. An application calling `sock_tcp_read`
can pass any arbitrary buffer size to read (copy) from these internal
network buffers, which may be smaller. lwip_sock_tcp keeps around the
last network buffer (`struct pbuf last_buf`) and the offset into this
buffer already consumed by the application (`last_offset`).

However, when multiple application reads from the same `pbuf` buffer
occur, the `last_offset` must be updated incrementing it. The code had
a bug that would work only when `last_offset` was either 0 (no previous
partial read) or when the current read was consuming all the remaining
data (when `buf_len == copylen`).

This patch fixes the issue an allows multiple reads from the same
buffer.
2021-04-04 12:45:54 +02:00
Leandro Lanzieri
6428505017
net/sock/dtls: allow CREDMAN_TAG_EMPTY on sock creation 2021-04-01 09:47:39 +02:00
Leandro Lanzieri
bccfb6e990
pkg/tinydtls/sock: allow multiple RPK credentials 2021-04-01 09:47:38 +02:00
Leandro Lanzieri
1c1c5f1d36
pkg/tinydtls/sock: allow multiple PSK credentials 2021-04-01 09:47:38 +02:00
Leandro Lanzieri
8b57b87258
net/sock/dtls: add RPK callback for credential selection 2021-04-01 09:47:37 +02:00
Leandro Lanzieri
81892ee389
net/sock/dtls: add client PSK callback for credential selection 2021-04-01 09:47:37 +02:00
Leandro Lanzieri
62fb9ad69f
net/sock/dtls: allow to register multiple credentials into a sock 2021-04-01 09:47:36 +02:00
Leandro Lanzieri
d7440ce1e3
net/sock/dtls: allow to set PSK Identity hint 2021-04-01 09:47:36 +02:00
Hauke Petersen
91bf7bc376
Merge pull request #15920 from haukepetersen/add_nimble_netifscchanmap
pkg/nimble/netif: allow to read used channel map
2021-03-31 10:10:35 +02:00
18a0889bc4
Merge pull request #16177 from aabadie/driver_llcc68
drivers: add support for sx1261/2 and llcc68 radio devices
2021-03-30 19:02:27 +02:00
10ab3c2134
drivers: register sx126x in Kconfig net list 2021-03-30 16:12:40 +02:00
300beb79aa
pkg: add driver_sx126x package driver 2021-03-30 16:12:39 +02:00
Francisco
7d2eb7efad
Merge pull request #16229 from yarrick/dhcp_start
pkg/lwip: Start DHCP early for all Ethernet interfaces
2021-03-30 15:54:11 +02:00
Francisco
3e32d55c33
Merge pull request #15922 from haukepetersen/opt_nimble_statconn_randconnitvl
pkg/nimble/statconn: allow random connection interval
2021-03-30 10:59:47 +02:00
Francisco
7b65dda691
Merge pull request #16190 from aabadie/pr/pkg/make_silent_ci_build
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-30 10:28:12 +02:00
Erik Ekman
6b89f4f34b pkg/lwip: Start DHCP early for all Ethernet netifs
Netifs without link status support will keep sending discover
messages with increasing time between.

Netifs that support link status will wait for the link to be up,
and then start sending.

Netifs that support link status but send no link status events
will continue to not work (unless link status is up from the
first check when setting it up).
2021-03-25 16:01:27 +01:00
benpicco
9cad382dc8
Merge pull request #16153 from yarrick/netif_add
pkg/lwip: Add netifs with netif_add_noaddr
2021-03-25 13:36:17 +01:00
benpicco
b0364941b5
Merge pull request #16082 from yarrick/link_state
pkg/lwip: Set netif link state properly when supported
2021-03-25 13:36:07 +01:00
José Alamos
21390849bf
Merge pull request #16188 from aabadie/semtech-loramac_netdev
pkg/semtech-loramac: refactor to use netdev API only
2021-03-18 13:11:32 +01:00
benpicco
3fabafa0d9
Merge pull request #16152 from yarrick/foreach_netif
pkg/lwip: Use NETIF_FOREACH macro in sock implementation
2021-03-18 11:49:19 +01:00
Karl Fessel
6588db6580 pkg/qcbor,wakaama,wolfssl: remove maybe-uninitialized warning
some variable seem uninitialized to gcc with -Og but aren't
https://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=may%20be%20used%20uninitialized
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145
especialy:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90710#c1
2021-03-16 12:14:43 +01:00
90b74104f2
pkg/semtech-loramac: use common time on air computation helper 2021-03-15 09:48:42 +01:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1 2021-03-12 16:05:18 +01:00
f337a9025a
pkg/semtech-loramac: only handle CAD/FHSS events with sx127x 2021-03-12 14:40:12 +01:00
5aff617512
pkg/semtech-loramac: rework to only use netdev interface 2021-03-12 14:40:12 +01:00
25a613ba93
pkg/semtech-loramac: use netdev interface to set sleep state 2021-03-12 11:38:14 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule 2021-03-10 14:18:13 +01:00
Leandro Lanzieri
fe5c982fa6
drivers/Makefile.dep: don't pull netdev on netdev_default
netdev_default should enable the network devices, which do not
necessarily use netdev.
2021-03-10 14:18:12 +01:00
Marian Buschsieweke
11ea9ee772
pkg/qDSA: fix backend selection log
qDSA as optimized implementations for AVR. The logic to select the optimized
backend predates the architecture features and uses some hand crafted logic.
This updates the logic to select the backend based on the boards architecture
using the feature system instead.
2021-03-08 15:45:50 +01:00
Erik Ekman
d3ba3117f2 pkg/lwip: Use NETIF_FOREACH macro in sock implementation
Decreases dependency on lwIP internals, and will handle LWIP_SINGLE_NETIF.
2021-03-06 11:27:14 +01:00
Erik Ekman
9b03b79a85 pkg/lwip: Add netifs with netif_add_noaddr
Makes 6lowpan netifs work even if dual stack is enabled,
and one less static method needed.
2021-03-05 00:17:17 +01:00
70055a5a19
pkg/lvgl: disable a warning on mips 2021-03-03 18:00:50 +01:00
4e09a54521
pkg/lvgl: add auto_init_screen by default + setup auto_init 2021-03-03 18:00:49 +01:00
40b5359096
pkg/lvgl: split task handler thread start from init 2021-03-02 17:35:32 +01:00
Erik Ekman
60d5d1aa74 pkg/lwip: Set link state properly when supported
Set link state correctly in lwIP for interfaces that support
the NETOPT_LINK option. Interfaces that do not support it
(like tap for native arch) remain up all the time.

Netdevs that support NETOPT_LINK but do not send NETDEV_EVENT_LINK_UP/DOWN
events will end up with a mismatched link state - but DHCP would
already not start for them either.

Use netifapi to signal lwIP to do the work in its own thread.
2021-03-01 23:55:08 +01:00
benpicco
3d85a2249e
Merge pull request #15666 from benpicco/pkg/openthread-20191113
pkg/openthread: bump version to 20191113
2021-03-01 11:35:50 +01:00
Benjamin Valentin
a57e58d6ef lwip: hook up sam0_eth support 2021-02-26 12:54:40 +01:00
Hauke Petersen
ef4cecae25 pkg/nimble/netif: add function to get used channels 2021-02-26 10:21:21 +01:00
Martine Lenders
afb027852d
Merge pull request #15992 from yarrick/more_lwip
Add lwIP ifconfig shell command
2021-02-23 16:59:41 +01:00
4b807c1f73
Merge pull request #16031 from benpicco/pkg/nanocbor-bump
pkg/nanocbor: bump version
2021-02-23 15:50:28 +01:00
7ead5b28f9
Merge pull request #15916 from benpicco/pkg/nanopb-0.4.4
pkg/nanopb: bump version to 0.4.4
2021-02-23 12:04:09 +01:00
Erik Ekman
ccd4c71110 pkg/lwip: Add patch for lowpan6 printf formatters 2021-02-23 11:48:13 +01:00
Erik Ekman
eab317749f sys/shell: Add lwIP ifconfig shell command
Lists state, link type, v4/v6 addresses.
Currently read-only.

Using lwIP debug system to print addresses, to limit dependencies
and work with dual stack setup. Most other code seems to only
allow either v4 or v6 networking. For that to compile I
had to change the `SZT_F` format string due to this error:
```
error: format '%lu' expects argument of type 'long unsigned int',
but argument 2 has type 'size_t {aka unsigned int}'
```
Switching to the lwIP default format string here.

Outputs the following on my ESP32 board with Ethernet,
when both v4 and v6 are enabled in examples/paho-mqtt:
```
> ifconfig
Iface ET0 HWaddr: 24:0a:c4:e6:0e:9f Link: up State: up
        Link type: wired
        inet addr: 10.4.4.81 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9f scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9f scope: global
Iface ET1 HWaddr: 24:0a:c4:e6:0e:9c Link: up State: up
        Link type: wireless
        inet addr: 10.4.4.82 mask: 255.255.254.0 gw: 10.4.4.1
        inet6 addr: fe80:0:0:0:260a:c4ff:fee6:e9c scope: link
        inet6 addr: 2001:db8:1000:0:260a:c4ff:fee6:e9c scope: global
>
```
2021-02-23 11:47:45 +01:00
Erik Ekman
9da7ea2dec pkg/lwip: Name sixlowpan netifs 2021-02-23 11:47:33 +01:00
Benjamin Valentin
07acd9c101 pkg/nanocbor: bump version
The package got relicensed to CC-0.
2021-02-23 11:24:52 +01:00
Benjamin Valentin
56bb4529be pkg/emlearn: bump version to 0.11.6 2021-02-22 17:23:36 +01:00
Leandro Lanzieri
9fb93af034
Merge pull request #15985 from MrKevinWeiss/pr/umorse/kconfig
pkg/umorse: Add Kconfig support
2021-02-22 09:37:12 +01:00