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

1786 Commits

Author SHA1 Message Date
Erik Ekman
cdc8c35e13 pkg/lwip: Move stm32_eth to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
c631c0fddd pkg/lwip: Move sam0_eth to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
e8c5ff162a pkg/lwip: Move enc28j60 to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
fea0c8d453 pkg/lwip: Move atwinc15x0 to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
a18b24c7ed pkg/lwip: Move esp_wifi to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
c9116f5570 pkg/lwip: Move esp_eth to netif auto init 2021-08-20 14:56:48 +02:00
Erik Ekman
9a089d412b pkg/lwip: Set first netif as default
Set at create time, as all netifs will no longer be in one array.
2021-08-20 14:56:48 +02:00
Erik Ekman
2816ade5f8 pkg/lwip: Start rework of netif initialisation
Use separate files with auto_init
Proof of concept with only moving netdev_tap
2021-08-20 14:56:46 +02:00
Francisco Molina
4d01b3815f pkg/nimble/scanner: add function to set scan duration
Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-19 12:44:24 +02:00
benpicco
71953c984c
Merge pull request #16534 from jia200x/pr/detach_radio_hal_descriptor
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 18:15:51 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver 2021-08-18 15:24:10 +02:00
benpicco
64aac3a2b2
Merge pull request #16700 from fjmolinas/pr_mynewt_core_log_level
pkg/mynewt-core: change task start log level
2021-08-17 00:00:44 +02:00
Francisco
c1d28d69a7
Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP
lwip_tcp: fix build with DEVELHELP=0
2021-08-16 08:37:14 +02:00
Benjamin Valentin
5117da1cb0 lwip_tcp: fix build with DEVELHELP=0
If DEVELHELP is not set `LOCK_TCPIP_CORE()`/`UNLOCK_TCPIP_CORE()`
are not defined, leading to a build failure.

Defining them to no-op leads to a run-time segmentation fault, so
better always use those functions.
2021-08-15 12:50:33 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Francisco
c4df2cca51
Merge pull request #16708 from fjmolinas/pr_edhoc_c_bump
pkg/edhoc: bump version
2021-08-06 09:26:28 +02:00
Benjamin Valentin
9bce87d6da pkg/wakaama: don't modify result of uri_parser 2021-08-05 14:05:31 +02:00
Francisco Molina
3cc4a8ed15 pkg/edhoc: bump version
Bumps EDHOC-C version to fix broken state due to Nanocbor return
code values change.
2021-08-04 17:09:02 +02:00
Francisco Molina
fd63142ea2 pkg/mynewt-core: change task start log level 2021-08-03 11:31:01 +02:00
Francisco Molina
3361f92202 pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
When a connection is aborted and the node in question is a slave
then it can be advertising/scanning at the time. The incoming
event triggers the state to be changed to IDLE but ongoing adv/scan
which will cause 'nimble_netif_conn_start_adv' to fail to allocate
a handle as the netif will still be busy. Therefore when
stop scan/stop before switching the state.
2021-08-03 09:21:47 +02:00
Leandro Lanzieri
1d74a0341b
pkg/wakaama/common: return length when reading strings and opaques
This fixes the API to be able to return the read length of string and
opaque resources.
2021-07-30 09:45:20 +02:00
Leandro Lanzieri
113ae64a55
pkg/wakaama/common: fix lwm2m_set_objlink_by_path 2021-07-30 09:44:21 +02:00
Erik Ekman
e04da0d828 pkg/lwip: Lock core before calling netif_get_ip6_addr_match in sock 2021-07-15 15:46:10 +02:00
Erik Ekman
c50604b63c pkg/lwip: Add assert on incorrect thread usage 2021-07-15 15:46:10 +02:00
Leandro Lanzieri
9ca9efd15b
Merge pull request #16640 from jia200x/pr/revert/rx_symbol
net/lorawan: Revert #16604 and fix NETOPT_RX_SYMBOL_TIMEOUT documentation
2021-07-14 16:42:38 +02:00
Jose Alamos
6ffecfe8d6
Revert "pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
This reverts commit 79e194783c.
2021-07-13 21:14:19 +02:00
benpicco
2e7b111c9e
Merge pull request #16636 from yarrick/lwip_nefif
pkg/lwip: Fix DHCP autostart
2021-07-13 17:23:30 +02:00
Erik Ekman
4e01900108 pkg/lwip: Start DHCP on correct interface
Fix for #16229
2021-07-13 13:45:16 +02:00
Erik Ekman
c7d24f7912 pkg/lwip: Add patch to fix netif_is_flag_set macro
Had spelling mistake: `nefif` instead of `netif`.
2021-07-13 13:07:38 +02:00
Leandro Lanzieri
327da03314
pkg/wakaama/client_connection: cleanup
Use URI parser and common resource access functions.
2021-07-13 08:11:23 +02:00
Leandro Lanzieri
e0896afddc
pkg/wakaama: add functions to interact with resources 2021-07-13 08:11:23 +02:00
Leandro Lanzieri
bfc81ae967
pkg/wakaama/contrib: remove unneeded reference to security object 2021-07-13 08:11:22 +02:00
Leandro Lanzieri
fcd582eff2
pkg/wakaama: move sock_udp dependency to package 2021-07-13 08:11:20 +02:00
José Alamos
934c875aba
Merge pull request #16579 from akshaim/pr/wl55jc_lorawan_final
drivers/sx126x: Add support for Nucleo -WL55JC
2021-07-09 14:48:11 +02:00
Jose Alamos
084bcf3ea6
semtech-loramac: avoid explicit cast to netdev 2021-07-09 11:35:20 +02:00
Jose Alamos
513b13b8de
openwsn: avoid explicit cast to netdev 2021-07-09 11:35:17 +02:00
Jose Alamos
6e12cf34f8
openthread: avoid explicit cast to netdev 2021-07-09 11:35:17 +02:00
Jose Alamos
4e6f299af0
lwip: avoid explicit cast to netdev 2021-07-09 11:35:16 +02:00
Akshai M
29c392d52d drivers/sx126x : Uncrustify 2021-07-09 11:16:41 +02:00
Akshai M
8870a885cb drivers/sx126x : Add stm32wl variant 2021-07-09 11:16:41 +02:00
benpicco
46323cdaf3
Merge pull request #16624 from benpicco/pkg/tinydtls-bump
pkg/tinydtls: bump version
2021-07-08 16:00:11 +02:00
Hauke Petersen
3cc6c68ec4
Merge pull request #16602 from haukepetersen/opt_nimble_slotsize
pkg/nimble: configure BLE_LL_INIT_SLOT_SIZE to 1
2021-07-07 19:38:14 +02:00
Benjamin Valentin
def6bf0c03 pkg/tinydtls: bump version
This snapshot is as good as the last one, but it contains some bugfixes.
2021-07-07 15:43:28 +02:00
fe22ba428d
Merge pull request #16348 from fjmolinas/pr_pkg_mynewt_core
pkg/mynewt-core: initial commit
2021-07-07 10:55:53 +02:00
Francisco Molina
701891e7e3
pkg/nimble: allow using mynewt-core pkg 2021-07-06 14:52:26 +02:00
Francisco Molina
eb74b3ace6
pkg/uwb-core: use mynewt-core pkg 2021-07-06 14:52:25 +02:00
Francisco Molina
7b2debcbd8
pkg/uwb-dw1000: use mynewt-core pkg 2021-07-06 14:52:25 +02:00
Francisco Molina
0cdc5826fd
pkg/mynewt-core: initial commit 2021-07-06 14:52:24 +02:00
Francisco
daeac91aea
Merge pull request #16604 from jia200x/pr/lora/fix_rx_timeout_size
netdev/lora: fix size of NETOPT_RX_SYMBOL_TIMEOUT
2021-07-06 12:15:00 +02:00
Martine Lenders
b034ccaaa3
Merge pull request #16422 from janosbrodbeck/pr/tinydtls/reset_session
pkg/tinydtls: handling of close_notify
2021-07-06 00:25:20 +02:00
János Brodbeck
c016b843d6
pkg/tinydtls: destroy session after sending close notification 2021-07-05 23:45:20 +02:00
Jose Alamos
79e194783c
pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT 2021-07-01 11:59:22 +02:00
Hauke Petersen
46f6bf1987 pkg/nimble/netif: fix randomized conn intervals 2021-07-01 09:38:11 +02:00
Hauke Petersen
a5369b1b38 pkg/nimble: configure BLE_LL_INIT_SLOT_SIZE to 1 2021-07-01 08:58:34 +02:00
benpicco
863badf5c3
Merge pull request #16580 from bergzand/pr/pkg/nanocbor_bump
NanoCBOR: Bump version
2021-06-23 12:12:25 +02:00
dc2e1eb4d9
NanoCBOR: Bump version
Fixes a nasty bug when decoding an indefinite container inside a fixed
length container
2021-06-23 10:42:48 +02:00
José Alamos
20a04f0412
Merge pull request #16563 from jia200x/pr/wakaama/netif
pkg/wakaama: remove gnrc dependency
2021-06-22 18:08:56 +02:00
Jose Alamos
c8dbdd2685
pkg/wakaama: remove gnrc dependency 2021-06-22 16:12:05 +02:00
1011af27a1
Merge pull request #16566 from aabadie/pr/pkg/semtech-loramac-no-force-periph_rtt
pkg/semtech-loramac: don't force ztimer rtt backend
2021-06-17 18:09:31 +02:00
Martine Lenders
7cad799afe
Merge pull request #15468 from jia200x/pr/rh/rev.13.11
ieee802154/hal: adapt frame filter and source address matching changes
2021-06-17 16:18:57 +02:00
Hauke Petersen
c3c4b64f83 pkg/nimble/autoconn: allow conn interval range 2021-06-17 14:10:16 +02:00
Hauke Petersen
2a0f1ac634 pkt/nimble/statconn: use netifs rand conn intervals 2021-06-17 14:10:16 +02:00
Hauke Petersen
402bd20ec9 pkg/nimble/netif: use random connection intervals 2021-06-17 14:10:16 +02:00
581d78561e
pkg/semtech-loramac: don't force ztimer periph_rtt backend 2021-06-17 13:06:15 +02:00
Jose Alamos
7d14fb3571
ieee802154/hal: remove set_rx_mode 2021-06-17 10:07:43 +02:00
Jose Alamos
6d64b537ef
ieee802154/hal: remove set_hw_addr_filter 2021-06-17 10:07:43 +02:00
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
Francisco Molina
5d627c5554
pkg/nimble: use tinycrypt pkg 2021-06-08 14:26:46 +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
Marian Buschsieweke
0d2c73d82c
pkg/ccn-lite: bump version 2021-02-25 16:49:34 +01:00
Marian Buschsieweke
0da0f3a32f
pkg/ndn-riot: use NETOPT_MAX_PDU_SIZE
Replace NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE via a patch
2021-02-25 16:49:34 +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
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
MrKevinWeiss
b53fbf081d pkg/umorse: Add Kconfig support 2021-02-19 15:32:20 +01:00
Marian Buschsieweke
645fee91ac
pkg/wakaama: fix compilation with 6lowpan-clicker
Drop included of unused header file that caused conflict with the new toolchain
2021-02-17 22:09:06 +01:00
2dd49a0737
Merge pull request #15966 from aabadie/pr/make/gcc_10_riscv_failures
make: silence a couple of warnings raised with gcc 10 on riscv
2021-02-16 12:05:42 +01:00
Benjamin Valentin
95f814b5da CODING_CONVENTIONS.md: default to C11
The standard is 9 years old now, it is well supported in all mayor compilers.
In fact, features of the 'new' standard are already used in RIOT (std_atomic).

Let's make it the default and adapt the Makefiles accordingly.
2021-02-14 14:28:13 +01:00
Erik Ekman
a29c835b2e lwip/esp: Support adding both netifs (eth/wifi) 2021-02-13 15:42:33 +01:00
a51df1fd30 pkg/cn-cbor: ignore return local address warning
This warning is triggered with gcc 10 on riscv and make the build to fail
2021-02-10 09:17:34 +01:00
Martine Lenders
4e9980c804
Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix
pkg/openwsn/sock: fix sock_udp_close handling
2021-02-10 08:28:43 +01:00
Francisco Molina
3d6d8b1872
pkg/openwsn/sock: drop messages in mbox on close 2021-02-09 21:28:22 +01:00
benpicco
6929577c76
Merge pull request #15845 from benpicco/boards/adafruit-itsybitsy-m4
boards: add adafruit-itsybitsy-m4
2021-02-09 19:41:43 +01:00
Francisco Molina
ca2e59d6a2
pkg/openwsn/sock: add mutex around linked list access
Fix possible race conditions when sock is closed while iterating
through the linked list.
2021-02-09 17:04:25 +01:00
Benjamin Valentin
735d22ea1b pkg/wolfssl: add SAMD51 to name collision hack
Fix this properly in the future by not pulling in all vendor files
through cpu_conf.h which gets included by several core headers.
2021-02-09 16:15:34 +01:00
Marian Buschsieweke
83fbde1e91
Merge pull request #15934 from leandrolanzieri/pr/pkg/wakaama_patch_native_exception
pkg/wakaama: add patch to cast macro to time_t
2021-02-06 13:12:37 +01:00
Leandro Lanzieri
0492cc5177
pkg/wakaama: cast macro to time_t
Currently on some toolchains the wakaama package is raising a floating
point exception on native. This seems to be fixing the issue.
2021-02-05 16:20:08 +01:00
Hauke Petersen
faf7a7dabc pkg/nimble/statconn: allow random conn interval 2021-02-04 09:55:23 +01:00
Hauke Petersen
ee9a573455 pkg/nimble/autoconn: add missing 'random' dep 2021-02-04 09:30:42 +01:00
Hauke Petersen
101bc6184c pkg/nimble/netif: improve _send() error return val 2021-02-03 12:30:58 +01:00
Benjamin Valentin
439947a845 pkg/nanopb: bump version to 0.4.4 2021-02-02 19:22:16 +01:00
Benjamin Valentin
f3780bb00c pkg/fatfs: bump version to r0.14a
R0.14a (December 05, 2020)
  Limited number of recursive calls in f_findnext().
  Fixed old floppy disks formatted with MS-DOS 2.x and 3.x cannot be mounted.
  Fixed some compiler warnings.

 - http://elm-chan.org/fsw/ff/updates.txt
2021-01-31 20:03:13 +01:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
df12cbbe5a
pkg/libfixmath: bump version to latest master 2021-01-27 14:19:52 +01:00
Akshai M
c7691035a6 pkg/semtech-loramac : Translate the configs
Translate Kconfigs and CFLAGS
2021-01-26 16:56:05 +01:00
Akshai M
42eb6c4097 net/lorawan : Update documentation
Marked as non-supported:
LORAMAC_DEFAULT_ADR_ACK_LIMIT
LORAMAC_DEFAULT_ADR_ACK_DELAY
LORAMAC_DEFAULT_ADR_TIMEOUT
2021-01-26 16:56:05 +01:00
Akshai M
9600ebf536 net/lorawan : Expose to Kconfig 2021-01-26 16:56:02 +01:00
Akshai M
a2f505f116 net/lorawan : Move 'LORAMAC_DEFAULT_MIN_RX_SYMBOLS' to 'CONFIG_' 2021-01-26 16:52:59 +01:00
Akshai M
216956d7b0 net/lorawan : Move 'LORAMAC_DEFAULT_SYSTEM_MAX_RX_ERROR' to 'CONFIG_' 2021-01-26 16:52:59 +01:00
Akshai M
97d873a5bd net/lorawan : Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_ADR' to 'CONFIG_' namespace and model
'CONFIG_LORAMAC_DEFAULT_ADR' as BOOL for Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
d2d90fbce5 net/lorawan : Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_TX_MODE' to 'CONFIG_' and added symbols
for Kconfig exposure
2021-01-26 16:52:58 +01:00
Akshai M
aa3b1da0c4 net/lorawan : Move 'LORAMAC_DEFAULT_TX_PORT' to 'CONFIG_' 2021-01-26 16:52:58 +01:00
Akshai M
55f196095d net/lorawan : Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_DR' to 'CONFIG_' and enable options for
Kconfig
2021-01-26 16:52:58 +01:00
Akshai M
1befae9022 net/lorawan : Invert 'LORAMAC_DEFAULT_PUBLIC_NETWORK'
Introduced a bool 'LORAMAC_DEFAULT_PRIVATE_NETWORK' to invert
the semantics of 'LORAMAC_DEFAULT_PUBLIC_NETWORK'. Move
'LORAMAC_DEFAULT_PRIVATE_NETWORK' to 'CONFIG_' namespace.
2021-01-26 16:52:58 +01:00