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

2232 Commits

Author SHA1 Message Date
benpicco
d0868bc997
Merge pull request #16918 from jia200x/pr/gnrc_netif/refactor_init
gnrc_netif: move netdev initialization to ops->init
2022-01-10 17:58:45 +01:00
Jose Alamos
49527fc994
pkg/nimble/netif: adapt ops->init to handle driver initialization 2022-01-10 13:59:25 +01:00
Jose Alamos
e7fac9f661
net/gnrc_netif: add return values to init 2022-01-10 13:59:01 +01:00
Jose Alamos
db815aa779
ieee802154/hal: migrate to request_op and confirm_op 2022-01-10 13:57:02 +01:00
795b71f7bf
Merge pull request #17480 from aabadie/pr/sys/crypto_aes_cipher_removal
sys/crypto: remove deprecated CIPHER_AES_128
2022-01-08 02:18:23 +01:00
a082d2dd7a
Merge pull request #17478 from benpicco/tests/pkg_fatfs-drop_whitelist
tests/pkg_fatfs{_vfs}: drop whitelist
2022-01-07 18:57:52 +01:00
cdeaf007fe
pkg/ndn-riot: add patch to fix CIPHER_AES_128 removal 2022-01-07 17:24:14 +01:00
26bf4ec6fb
pkg/lvgl: only swap byte when ili9341 is used 2022-01-07 14:32:24 +01:00
Benjamin Valentin
a8694571cf pkg/fatfs: fix build on AVR 2022-01-06 14:28:38 +01:00
Marian Buschsieweke
92d75695b5
pkg/fatfs: use static_assert() instead of BUILD_BUG_ON() 2022-01-05 15:09:09 +01:00
Marian Buschsieweke
906d73107a
pkg/littlefs2: use static_assert() instead of BUILD_BUG_ON() 2022-01-05 15:09:09 +01:00
Marian Buschsieweke
b76ba4bbfd
pkg/littlefs: use static_assert() instead of BUILD_BUG_ON() 2022-01-05 15:09:09 +01:00
Gunar Schorcht
81727fb1f1 pkg/esp32_sdk_libs: add ESP SDK libraries as package
The vendor binary libraries of ESP-IDF are provided as a separate GIT repository. These libraries are defined as separate package for two reasons: 1. RIOT packages don't support to clone GIT repositories recursively; 2. ESP-IDF pulls a lot of other GIT repositories that are not needed when it is cloned recursively.
2022-01-04 16:34:31 +01:00
Gunar Schorcht
d6c2926933 pkg/esp32_sdk: add ESP32 SDK without libraries as package
The vendor binary libraries of ESP-IDF are provided as a separate GIT repository. These libraries are defined as separate package for two reasons: 1. RIOT packages don't support to clone GIT repositories recursively; 2. ESP-IDF pulls a lot of other GIT repositories that are not needed when it is cloned recursively.
2022-01-04 16:34:31 +01:00
Gunar Schorcht
7addf3ae5b pkg/esp8266_sdk: small changes in doc and Kconfig
Some small changes to use a common document and naming style for all ESP SDK packages. The @defgroup command should start with the name to keep alphabetical order in doc as well as Kconfig
2022-01-04 16:34:31 +01:00
07e46cef0e
Merge pull request #16412 from benpicco/pkg/fatfs-r0.14b
pkg/fatfs: bump version to r0.14b
2022-01-03 19:09:37 +01:00
Benjamin Valentin
49e609a631 pkg/fatfs: bump version to r0.14b
R0.14b (April 17, 2021)
  Made FatFs uses standard library <string.h> for copy, compare and search instead of built-in string functions.
  Added support for long long integer and floating point to f_printf(). (FF_STRF_LLI and FF_STRF_FP)
  Made path name parser ignores the terminating separator to allow "dir/".
  Improved the compatibility in Unix style path name feature.
  Fixed the file gets dead-locked when f_open() failed with some conditions. (appeared at R0.12a)
  Fixed f_mkfs() can create wrong exFAT volume due to a timing dependent error. (appeared at R0.12)
  Fixed code page 855 cannot be set by f_setcp(). (appeared at R0.13)
  Fixed some compiler warnings.

  - http://elm-chan.org/fsw/ff/updates.txt
2022-01-03 17:23:46 +01:00
2191859dff
pkg/cifra: fix build error with redefined assert 2021-12-23 11:04:42 +01:00
9c71dd7566
Merge pull request #17342 from aabadie/pr/sysclk
sys: introduce sysclk function to retrieve core clock frequency
2021-12-15 15:41:34 +01:00
Francisco
fe850e8919
Merge pull request #17357 from kfessel/p-evtimer32
sys/evtimer,ztimer: do not depend on ztimer_now64
2021-12-15 13:24:44 +01:00
084e33d504
pkg/openwsn: use coreclk() instead of CLOCK_CORECLOCK 2021-12-15 13:14:19 +01:00
Francisco
7dc632de2e
Merge pull request #17397 from fjmolinas/pr_pkg_mynewt_core_align_cast
pkg/mynewt-core/patches: silence cast-align
2021-12-14 23:29:04 +01:00
Karl Fessel
af4381db07 pkg/tinydtls: depends on xtimer 2021-12-14 22:53:01 +01:00
Francisco Molina
d031552dc1 pkg/mynewt-core/patches: silence cast-align 2021-12-14 20:00:50 +01:00
Francisco
9361c9898c
Merge pull request #17377 from fjmolinas/pr_pkg_ztimer_migrate
pkg/ccn-ndn: migrate to ztimer
2021-12-14 14:10:33 +01:00
Marian Buschsieweke
5b86d65744
Merge pull request #14364 from gschorcht/fix_ndebug_compilation
Fix NDEBUG compilation problems
2021-12-12 14:39:42 +01:00
Gunar Schorcht
b044e8355d pkg/qr-code-generator: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
11d999b014 pkg/littlefs2: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
b6a2696e81 pkg/wakamaama: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
11a99889da pkg/u8g2: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Leandro Lanzieri
ab88c0fdb2
pkg/driver_bme680/kconfig: remove prompt and depend on driver module
The BME680 package cannot be used by itself, but is needed for RIOT
BME680 driver. The user should not select this directly, so we remove
the prompt and additionally add a dependency on the driver.
2021-12-12 11:33:04 +01:00
Leandro Lanzieri
e8c00d2b1c
pkg/esp8266_sdk: add Kconfig 2021-12-10 18:51:27 +01:00
Francisco Molina
b77b21ba13 pkg/ccn-lite: migrate to ztimer64 2021-12-10 17:04:57 +01:00
Francisco Molina
26d3fd0a1b pkg/ndn-riot: migrate to ztimer 2021-12-09 15:23:36 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
Francisco
de7df7201a
Merge pull request #17309 from aabadie/pr/pkg/ztimer
pkg: migrate some packages to ztimer
2021-12-07 09:13:39 +01:00
6bb78e544e
Merge pull request #17345 from fjmolinas/pr_pkg_uwb_core_dot_h
pkg/uwb-core: fix wrong header include
2021-12-06 18:28:45 +01:00
Francisco Molina
6bf244250f pkg/uwb-core: fix wrong header include 2021-12-06 17:20:43 +01:00
benpicco
1efc53b598
Merge pull request #17344 from haukepetersen/opt_nimble_statconnerrno
nimble/statconn: use errno return values
2021-12-06 14:11:23 +01:00
Hauke Petersen
d36879c6bc nimble/statconn: return errno values 2021-12-06 11:27:46 +01:00
Hauke Petersen
40579c6598 nimble/rpble: fix scanning 2021-12-06 09:48:32 +01:00
Hauke Petersen
ca98df258c nimble/autoconn: fix scanning 2021-12-06 09:48:32 +01:00
Hauke Petersen
2f70f17962 nimble/scanner: fix scan duration for HS_FOREVER 2021-12-06 09:48:32 +01:00
Francisco
3afa47d8f2
Merge pull request #14955 from maribu/cflags-cast-align
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 17:47:24 +01:00
Marian Buschsieweke
c67d86108e
pkg/libhydrogen: add -Wno-cast-align 2021-12-03 10:12:39 +01:00
Marian Buschsieweke
db41e3a58b
pkg/tensorflow-lite: add -Wno-cast-align 2021-12-03 10:12:38 +01:00
Marian Buschsieweke
b005e8fce6
pkg/flatbuffers: add -Wno-cast-align 2021-12-03 10:12:38 +01:00
Marian Buschsieweke
a6eaddb818
pkg/ucglib: silence -Wcast-align 2021-12-03 10:12:38 +01:00
Marian Buschsieweke
c50c5ea436
pkg/spifs: silence -Wcast-align 2021-12-03 10:12:38 +01:00
Marian Buschsieweke
724d4f6429
pkg/lvgl: add -Wno-cast-align 2021-12-03 10:12:38 +01:00
Marian Buschsieweke
1193785a11
pkg/cn-cbor: add -Wno-cast-align 2021-12-03 10:12:37 +01:00
Marian Buschsieweke
d91c2e95fc
pkg/libb2: add -Wno-cast-align 2021-12-03 10:12:37 +01:00
Marian Buschsieweke
c20c0b98ad
pkg/qdsa: add -Wno-cast-align 2021-12-03 10:12:37 +01:00
Marian Buschsieweke
1e088dcdd7
pkg/elk: add -Wno-cast-align 2021-12-03 10:12:37 +01:00
Marian Buschsieweke
d16f5366da
pkg/cryptoauthlib: add -Wno-cast-align
Also split compiler flags into individual lines and sort them
alphabetically.
2021-12-03 10:12:37 +01:00
Marian Buschsieweke
c4346f7db1
pkg/openwsn: add -Wno-cast-align
Also sort flags alphabetically
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
92d333a6b7
pkg/cmsis-nn: add -Wno-cast-align 2021-12-03 10:12:36 +01:00
Marian Buschsieweke
d41d2b4b22
pkg/wakaama: add -Wcast-align 2021-12-03 10:12:36 +01:00
Marian Buschsieweke
2cb06525d6
pkg/paho-mqtt: add -Wno-cast-align 2021-12-03 10:12:35 +01:00
Marian Buschsieweke
87c90322aa
pkg/uwb-dw1000: add -Wno-cast-align
Also sort disabled CFLAG warnings alphabetically.
2021-12-03 10:12:35 +01:00
Marian Buschsieweke
4e9121ef20
pkg/mynewt-core: add -Wno-cast-align 2021-12-03 10:12:35 +01:00
Marian Buschsieweke
7a6a7015cd
pkg/ndn-riot: add -Wno-cast-align 2021-12-03 10:12:34 +01:00
Marian Buschsieweke
1bbcb5ef6e
pkg/lua: add -Wno-cast-align 2021-12-03 10:12:34 +01:00
Marian Buschsieweke
196ba5e3ff
pkg/tlsf: add -Wno-cast-align 2021-12-03 10:12:34 +01:00
Marian Buschsieweke
4726e419c8
pkg/jerryscript: add -Wno-cast-align 2021-12-03 10:12:34 +01:00
Marian Buschsieweke
83f86d471b
pkg/fatfs/fatfs_vfs: silence -Wcast-align
The -Wcast-align warnings are false positives. Hence, document
the reason why unaligned accesses cannot occur and silence the
warning.
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
79103d3156
pkg/nimble: add -Wno-cast-align
Also brutally silence -Wcast-align warnings in OS_MBUF_PKTHDR()
and OS_MBUF_PKTHDR_TO_MBUF(), as those are used by nimble users.

It might make sense to check if the silenced / disabled warnings do
indeed point out unaligned memory accesses.
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
4ac6820860
pkg/wolfssl: add -Wno-cast-align 2021-12-03 10:12:33 +01:00
Marian Buschsieweke
939e206d58
pkg/cmsis-dsp: Disable -Wcast-align
We cannot debug vendor code.
2021-12-03 10:12:33 +01:00
Marian Buschsieweke
be09ba67a6
pkg/ccn-lite: suppress -Wcast-align 2021-12-03 10:12:32 +01:00
Marian Buschsieweke
c9eb0ae3de
pkg/gecko_sdk: Disable -Wcast-align 2021-12-03 10:12:32 +01:00
Hauke Petersen
ad8ddf5748 nimble/rpble: adapt to scanner API changes 2021-12-03 08:43:31 +01:00
Hauke Petersen
650445812a nimble/autoconn: adapt to scanner API changes 2021-12-03 08:43:14 +01:00
Hauke Petersen
d2c46e8a4b nimble/npl: add hfxo_request wrappers 2021-12-02 23:31:33 +01:00
Hauke Petersen
b65c80c37b nimble_netif: remove l2cap_ping from API
Upstream NimBLE removed the l2cap ping call from its L2CAP API,
as it was not standard conformant, so we can't use it for
nimble_netif...
2021-12-02 23:31:33 +01:00
Hauke Petersen
79eea21b77 pkg/nimble: version bump to include ext adv fixes 2021-12-02 23:31:33 +01:00
Hauke Petersen
4520fc67a5 pkg/nimble/scanlist: adapt to scanner changes 2021-12-02 23:31:33 +01:00
Hauke Petersen
586ba70c5b pkg/nimble/scanner: rework to enable BLE5 scanning 2021-12-02 23:31:32 +01:00
Hauke Petersen
34b009fcc1 pkg/nimble: add config options for BLE5 PHYs 2021-12-02 23:31:32 +01:00
Hauke Petersen
f5e7de2564 pkg/nimble: improve readablility in Makefile.dep 2021-12-02 23:31:32 +01:00
Leandro Lanzieri
004da59672
sys/ztimer/kconfig: enable xtimer compat only with timer backend
This also moves the selection of MODULE_ZTIMER_PERIPH_TIMER from
MODULE_ZTIMER_USEC to the visible symbol ZTIMER_USEC.
2021-12-02 09:38:06 +01:00
24ff8f7ece
pkg/ucglib: migrate to ztimer 2021-12-01 17:54:55 +01:00
4f3a61c7dc
pkg/u8g2: migrate to ztimer 2021-12-01 17:54:55 +01:00
25d1e2daa2
pkg/driver_bme680: migrate to ztimer 2021-12-01 17:54:55 +01:00
bb5aaa38ad
pkg/cryptoauthlib: migrate to ztimer 2021-12-01 17:54:54 +01:00
Marian Buschsieweke
48fc63e0ae
Merge pull request #17294 from benpicco/doc-ping
doc: replace ping6 with ping
2021-12-01 17:00:09 +01:00
Francisco
791c327127
Merge pull request #16970 from haukepetersen/opt_nimble_hostnetifpriooverride
nimble: allow to override host and netif thread priorities
2021-12-01 12:16:56 +01:00
Francisco Molina
92c3b0ffb0 pkg/u8g2: remove nanosleep 2021-11-30 09:32:42 +01:00
Hauke Petersen
1a570caacc nimble: allow to override netif thread priority 2021-11-30 08:21:27 +01:00
Hauke Petersen
d94b4af0d3 nimble: allow to override host thread priority 2021-11-30 08:21:27 +01:00
Benjamin Valentin
a23fa5253f doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
0149a860c9
Merge pull request #17264 from fjmolinas/pr_pkg_uwb_core_fixes
pkg/uwb-core: multiple cleanups
2021-11-25 10:21:17 +01:00
Francisco Molina
c860fc99bf pkg/uwb_core: configure and set autoack in init 2021-11-24 17:01:47 +01:00
Francisco Molina
1704c7e686 pkg/uwb-dw1000: enable frame filtering by default 2021-11-24 17:01:47 +01:00
Francisco Molina
d0e8d3aa24 pkg/uwb-core: allow using event-thread 2021-11-24 17:01:47 +01:00
c31dae311a
pkg/openthread: migrate to ztimer 2021-11-24 14:00:44 +01:00
Marian Buschsieweke
68e1d29e90
Merge pull request #16929 from leandrolanzieri/pr/cpu/avr8/model_kconfig
cpu/avr8: model kconfig
2021-11-23 09:24:03 +01:00
4b72bc0ddb
pkg/doc: update due to openthread package out-of-source build 2021-11-22 15:22:27 +01:00
421508dc64
pkg/openthread: bump to 20200818 2021-11-22 15:22:27 +01:00
Leandro Lanzieri
5abe0032cc
pkg/nanocbor/kconfig: remove architecture dependency 2021-11-22 12:25:58 +01:00
Leandro Lanzieri
37b0e30a71
pkg/qdsa: use pseudomodules to select implementation 2021-11-22 12:25:58 +01:00
Leandro Lanzieri
584052ec6e
pkg/libfixmath: add compile options to Kconfig
The option list has been taken from
https://code.google.com/archive/p/libfixmath/wikis/CompilationOptions.wiki.
The defaults are the current ones.
2021-11-22 12:25:57 +01:00
benpicco
9e8d718a43
Merge pull request #17178 from aabadie/pr/pkg/lz4
pkg/lz4: add support for LZ4 compression/decompression
2021-11-19 17:48:57 +01:00
03ea09b699
pkg: add support for lz4 fast compression library 2021-11-19 09:59:27 +01:00
73c286b472
Merge pull request #17179 from aabadie/pr/pkg/uzlib
pkg/uzlib: add support for zlib compression/decompression
2021-11-18 14:51:03 +01:00
Benjamin Valentin
fa2d9bde56 socket_zep: port to radio HAL 2021-11-18 11:51:14 +01:00
Leandro Lanzieri
2b20e66bc5
pkg/cmsis-dsp: model Kconfig 2021-11-18 09:03:07 +01:00
Leandro Lanzieri
0a3f603cf1
pkg/cmsis-dsp: use lowercase modules 2021-11-18 09:03:06 +01:00
Leandro Lanzieri
f1902b30ff
pkg/gecko_sdk: model Kconfig 2021-11-18 09:03:06 +01:00
9123095194
pkg: add uzlib package 2021-11-17 15:31:17 +01:00
Erik Ekman
7593bb0e40 pkg/lwip: Update netif_get_name implementation
Correctly refer to the struct netif inside the netif_t

Fix call to netif_get_name from lwIP ifconfig shell command
2021-11-16 22:04:44 +01:00
Erik Ekman
efeaac51ca pkg/lwip: Add lwip_netif_t struct
Extending netif_t struct from sys/net/netif to support the
stack-independent API.
2021-11-16 22:04:44 +01:00
chrysn
69dadf61e9
Merge pull request #17152 from maribu/sys/posix/sockets
sys/posix/socket: align struct sockaddr{,_storage}
2021-11-16 13:55:27 +01:00
Marian Buschsieweke
de2bd172f8
pkg/ccn-lite: use -std=c11 instead of -std=c99
RIOT switched to C11, so packages need to follow suit to use RIOT's
headers.
2021-11-11 09:55:24 +01:00
Martine S. Lenders
3c6e87c18f
lwip: bump to v2.1.3 2021-11-10 22:36:19 +01:00
Francisco
05593911bf
Merge pull request #16955 from haukepetersen/fix_nimble_scannereventtypes
pkg/nimble: fix scan event type define usage
2021-11-10 16:35:17 +01:00
e89eebc6bf
Merge pull request #17163 from maribu/pkg/libcoap
pkg/libcoap: remove
2021-11-10 13:42:59 +01:00
Francisco
0838ea392a
Merge pull request #17143 from aabadie/pr/pkg/paho_mqtt_ztimer
pkg/paho-mqtt: migrate to ztimer
2021-11-10 13:14:48 +01:00
Erik Ekman
1a73fee720
Merge pull request #17174 from yarrick/arp_build
pkg/lwip: Fix dualstack build when only using 6lowpan
2021-11-10 10:15:58 +01:00
Kevin "Tristate Tom" Weiss
ff8983c155
Merge pull request #17161 from kaspar030/update_pkg_relic
pkg/relic: bump to current master
2021-11-10 09:15:23 +01:00
Erik Ekman
02c840af2a pkg/lwip: Fix 6lowpan build when IPv4 is active 2021-11-09 23:16:33 +01:00
Erik Ekman
3aee2dde9d pkg/lwip: Only enable ARP if Ethernet is supported 2021-11-09 23:09:35 +01:00
Marian Buschsieweke
d52077207e
Merge pull request #17151 from maribu/pkg/littlefs2
pkg/littlefs{,2}: fix compilation with -Wcast-align
2021-11-09 15:24:07 +01:00
Marian Buschsieweke
d83d08f099
pkg/libcoap: remove
The pkg has not been updated in ages and upstream libcoap provides means
to build with RIOT. Users are better served using the upstream libcoap
approach to use RIOT + libcoap rather than this outdated pkg.
2021-11-09 13:47:11 +01:00
7151992b5c pkg/relic: bump to current master (e3f82e36 from 08.11.21) 2021-11-08 23:18:30 +01:00
Marian Buschsieweke
78810d736c
pkg/littlefs2/fs: fix compilation with -Wcast-align 2021-11-08 14:24:32 +01:00
Marian Buschsieweke
3a5a13e343
pkg/littlefs/fs: fix compilation with -Wcast-align 2021-11-08 14:24:18 +01:00
benpicco
1f11780c02
Merge pull request #17119 from spectraphilic/sdi12-remote
pkg/arduino_sdi_12: support the remote-revb board
2021-11-06 11:32:54 +01:00
52edeb3c09
pkg/paho-mqtt: migrate to ztimer 2021-11-05 16:50:46 +01:00
a281499082
Merge pull request #17131 from fjmolinas/pr_openwsn_update_doc
pkg/openwsn: update doc
2021-11-05 09:25:42 +01:00
Francisco Molina
89da5f0add pkg/openwsn: update doc 2021-11-04 17:25:09 +01:00
J. David Ibáñez
1d2ac15396 pkg/arduino_sdi_12: cpp11-compat for all but atmega
Doesn't work.
2021-11-04 16:05:06 +01:00
J. David Ibáñez
3e73c5f6e3 pkg/arduino_sdi_12: support the remote-revb board
Patch the library to use micros() for timing, when sending a command,
for boards not supported by the library.

Use cpp11-compat with the remote-revb board. This fixes the link error
"undefined reference to __dso_handle"
2021-11-04 16:05:06 +01:00
4989258ae1
pkg: add support for Elk tiny JS engine 2021-11-04 12:38:20 +01:00
6ec259533d
Merge pull request #17121 from aabadie/pr/pkg/wolfssl_minor_issues
pkg/wolfssl: fix minor issues
2021-11-04 09:47:48 +01:00
José Alamos
1218a635e7
Merge pull request #17117 from fjmolinas/pr_semtech_loramac_get_set_dr
pkg/semtech-loramac: fix get/set dr command
2021-11-04 09:16:48 +01:00
0c42c3690c
pkg/wolfssl: ignore array-parameter warning with gcc 11 2021-11-03 15:40:29 +01:00
fc9562bf25
pkg/wolfssl: remove unnecessary dependency to xtimer 2021-11-03 15:40:29 +01:00
Martine Lenders
67f67bfe62
Merge pull request #17076 from jenswet/feature/add-fff-package
pkg/fff: Add fake functions framework package
2021-11-03 11:00:56 +01:00
Francisco Molina
8177563f74 pkg/semtech-loramac: fix cppcheck comments 2021-11-03 10:05:46 +01:00
Francisco Molina
c29e900c42 pkg/semtech-loramac: fix get/set dr command 2021-11-02 22:03:16 +01:00
Jens Wetterich
14f90f3c5e pkg/fff: Add fake functions framework package 2021-11-02 18:01:21 +01:00
Leandro Lanzieri
5aa99c0337
pkg/wakaama: use ztimer 2021-11-02 13:15:35 +01:00
Leandro Lanzieri
4011bd9edf
Merge pull request #16780 from fjmolinas/pr_kconfig_uwb
pkg/uwb*: add Kconfig dependency modelling
2021-11-01 09:35:29 +01:00
Francisco Molina
cbd12772f3 pkg/uwb-dw1000: add Kconfig module dependency 2021-10-29 12:23:54 +02:00
J. David Ibáñez
5ce514a105 pkg/arduino_sdi_12: add new package
From https://github.com/EnviroDIY/Arduino-SDI-12
2021-10-28 16:19:28 +02:00
J. David Ibáñez
d70ffc69fb pkg/arduino_api: add new package
From https://github.com/arduino/ArduinoCore-API

Required by pkg/arduino_sdi_12
Improves compatibility with Arduino
2021-10-28 16:18:55 +02:00
dbbdc8590e
Merge pull request #17031 from fjmolinas/pr_lvgl_ztimer
pkg/lvgl: use ztimer instead of xtimer
2021-10-28 11:36:04 +02:00
Martine Lenders
5b88efa419
pkg/hacl: make compilable with GCC 11 2021-10-25 12:34:19 +02:00
iosabi
7b1f083cd8 esp8266: Download Espressif RTOS SDK as a new RIOT PKG
RIOT-OS uses part of Espressif ESP8266 RTOS SDK to build support for
this CPU. The SDK includes some vendor-provided closed source
pre-compiled libraries that we need to modify to adapt to RIOT-OS
usage. This library modifications was done once and uploaded to a fork
of the vendor repository and was provided as an environment variable.

This patch changes two things:

1. It installs the SDK as a RIOT PKG from the new pkg/esp8266_sdk
directory instead of requiring the user to download it separately.

2. It performs the library modifications (symbol renames) on the pkg
Makefile removing the need to use a fork with the modifications applied
and simplifying the SDK update and future modifications.

This change sets the SDK package version (git SHA) to the same one that
our fork was using as a parent in the vendor repository, meaning that
the output libraries are exactly the same as before.

Tested with
```
ESP8266_RTOS_SDK_DIR=/dev/null USEMODULE=esp_log_startup make -C tests/shell BOARD=esp8266-esp-12x flash
```

and verified that the program works. The boot message now includes:
```
ESP8266-RTOS-SDK Version v3.1-51-g913a06a9
```
confirming the SDK version used.

`/dev/null` in the test is just to make sure that no evaluation of
`ESP8266_RTOS_SDK_DIR` in make is affected by the environment variable
value which would be set to the SDK for people who followed the set up
instructions before this change.

Tested the checkout size:
```bash
$ du -hs build/pkg/esp8266_sdk/
124M	build/pkg/esp8266_sdk/
```
2021-10-23 11:13:38 +00:00
Francisco Molina
a4dd3c0147 pkg/lvgl: use ztimer instead of xtimer 2021-10-21 18:23:39 +02:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
sys/net: Add ipv4/ipv6 pseudomodules

to ease code unification
2021-10-20 11:58:26 +02:00
Francisco
1f00d7a89c
Merge pull request #16961 from jia200x/pr/semtech-loramac/fix_schedule_uplink
pkg/semtech-loramac: forward uplink schedule request to upper layer
2021-10-18 17:40:03 +02:00
Martine Lenders
44927b493f
Merge pull request #16967 from miri64/dsm/enh/peer-sync
dsm: rename DTLS_PEER_MAX and make it dependent on CONFIG_DTLS_PEER_MAX
2021-10-18 16:27:26 +02:00
Jose Alamos
b11e58f843 pkg/semtech-loramac: forward uplink schedule request to upper layer 2021-10-18 14:07:21 +02:00
4281d4b226
pkg: add support for FreeRTOS coreJSON library 2021-10-17 18:11:24 +02:00
Erik Ekman
9844953da4 sys/net: Add ipv4 pseudomodule
Enabled when lwIP uses IPv4.
2021-10-11 21:37:47 +02:00
Erik Ekman
ff7bf09313 sys/net/sock: Set SOCK_HAS_IPV6 in one place
Based on ipv6 pseudomodule
2021-10-11 21:37:39 +02:00
benpicco
105c57722d
Merge pull request #16960 from haukepetersen/fix_nimble_verbumpokt21
pkg/nimble: version bump to fix broken scanning
2021-10-11 13:49:00 +02:00
Martine Lenders
a2cd5ed903
dtls: set CONFIG_DTLS_PEER_MAX in dtls.h header 2021-10-08 12:10:28 +02:00
Erik Ekman
3df56d576f sys/net: Add ipv6 pseudomodule
Enabled when GNRC, lwIP or OpenWSN uses IPv6
2021-10-08 10:27:22 +02:00
Karl Fessel
423da42d1c
Merge pull request #16954 from kfessel/p-u8g2-test-sdl
test/pkg_u8g2: increase main stacksize for SDL
2021-10-07 10:43:25 +02:00
Hauke Petersen
8368a458bc pkg/nimble: version bump to fix broken scanning 2021-10-07 09:06:47 +02:00
Francisco Molina
a04b892df3 pkg/uwb-core: add Kconfig module dependency 2021-10-06 17:59:49 +02:00
Francisco Molina
b21191f9af pkg/mynewt-core: add Kconfig module dependency 2021-10-06 17:59:49 +02:00
Karl Fessel
bec5f52e4f test/pkg_u8g2: increase main stacksize for SDL 2021-10-06 17:52:26 +02:00
Hauke Petersen
bcec748911 nimble_autoconn: fix scan event type 2021-10-06 17:01:52 +02:00
Hauke Petersen
16f4c11178 nimble_rpble: fix scan event type 2021-10-06 17:01:52 +02:00
Hauke Petersen
52de7a8efa nimble_scanlist: fix scan event types 2021-10-06 17:01:51 +02:00
Hauke Petersen
2a7fcca9a0 nimble/scanner: fix scan event types 2021-10-06 16:55:03 +02:00
Hauke Petersen
3a080cd90d pkg/nimble: bump version to cddb7c4 2021-10-06 16:47:34 +02:00
Hauke Petersen
3878096cce pkg/nimble/netif: add nimble_netif_l2cap_ping() 2021-10-06 16:47:34 +02:00
benpicco
afde4b0e43
Merge pull request #16939 from aabadie/pr/pkg/qr_code_generator_1.7.0
pkg/qr-code-generator: bump to 1.7.0
2021-10-05 00:12:58 +02:00
benpicco
88b495906b
Merge pull request #16936 from mtausig/update_tinyasn1
Update tiny-asn1 package
2021-10-05 00:04:23 +02:00
chrysn
4673f2c89a
Merge pull request #16941 from chrysn-pull-requests/hacl-use-pkgmirror
hacl: Switch git address to RIOT-OS-pkgmirror
2021-10-04 16:10:50 +02:00
chrysn
5cded0df97 hacl: Switch git address to RIOT-OS-pkgmirror 2021-10-04 13:16:26 +02:00
8459b765c0
Merge pull request #16938 from aabadie/pr/pkg/jerryscript-2.4
pkg/jerryscript: bump to 2.4.0
2021-10-04 09:47:52 +02:00
Mathias Tausig
1cfd50abf2 pkg/tiny-asn1: Update tiny-asn1 package 2021-10-02 21:27:40 +02:00
46e842653e
pkg/qr-code-generator: bump to 1.7.0 2021-10-02 16:48:02 +02:00
9a289d40fa
pkg/jerryscript: bump to 2.4.0 2021-10-02 15:47:28 +02:00
17cbab00fd
pkg/emlearn: bump to 0.12 2021-10-02 14:45:10 +02:00
332a1a1221 pkg/yxml: add git mirror url 2021-10-01 14:44:10 +02:00
92ca97e31b pkg: support PKG_MIRROR_URL, use if PKG_USE_MIRROR=1 (default) 2021-10-01 13:14:03 +02:00
Francisco Molina
c5f0516114 pkg/mynewt-core: use irq_is_enabled() 2021-09-30 10:29:03 +02:00
Martine Lenders
8f5561d694
tinydtls: sock_dtls: only use ifindex with link-local addresses
For global addresses the out-going interface is typically decided by the
forwarding information base, so _requiring_ the user to set it with
`sock_dtls` is undesirable. This has the caveat, that now on
`sock_udp_send()` in the `_write()` method, the sock does not know via
which network interface to send a packet with a global address, but
again: this is really more a task for the underlying network stack, not
the sock layer.
2021-09-29 14:24:03 +02:00
Hauke Petersen
625d5544ad nimble/netif_conn: fix _conn_get_itvl_ms() 2021-09-24 17:28:09 +02:00
Martine Lenders
fb05da46e3
Merge pull request #16874 from leandrolanzieri/pkg/tinydtls/fix_kconfig_detection
pkg/tinydtls: fix detection of Kconfig usage
2021-09-21 13:07:23 +02:00
Leandro Lanzieri
450884acf5
pkg/tinydtls: fix detection of Kconfig usage 2021-09-21 11:57:31 +02:00
Francisco Molina
ea86dad7fd pkg/edhoc-c: ignore llvm flagged error 2021-09-20 11:34:30 +02:00
Martine Lenders
7bf1fad7cc
Merge pull request #16839 from haukepetersen/opt_nimble_scannererrno
nimble/scanner: migrate to errno return values
2021-09-17 16:22:29 +02:00
benpicco
bcb46460b7
Merge pull request #16859 from haukepetersen/fix_nimble_addr_byteorder
nimble/addr|scanlist: fix nimble_addr_sprint() and use in nimble_scanlist_print()
2021-09-17 14:53:26 +02:00
Hauke Petersen
2de3275c1e nimble/scanner: migrate to use errno return values 2021-09-17 14:46:05 +02:00
Hauke Petersen
8694af52c6 nimble/scanner: rename and optimize status func 2021-09-17 14:46:05 +02:00
Martine Lenders
e16925aab3
Merge pull request #16838 from haukepetersen/opt_nimblenetif_errno
pkg/nimble/netif: migrate to use errno return values
2021-09-16 16:53:43 +02:00
94e314c914 pkg/nimble: fix if(IS_ACTIVE(..) && CONSTANT) with llvm
Fixes

```
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                             ^  ~~~~~~~~~~~~~~~~~~~~~~~~
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: use '&' for a bitwise operation
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                             ^~
                                             &
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: remove constant to silence this warning
    if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
                                            ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2021-09-16 14:01:33 +02:00
Hauke Petersen
1486c419fa nimble/scanlist: use nimble_addr_print() 2021-09-16 10:29:04 +02:00
Hauke Petersen
0b8af3a3bc nimble/addr: fix byte-order and string termination 2021-09-16 10:23:43 +02:00
Hauke Petersen
dadd7028d3 nimble/autoconn: adapt to new return values 2021-09-10 21:11:30 +02:00
Hauke Petersen
819bc54aae nimble/rpble: adapt to new return values 2021-09-10 21:11:19 +02:00
Hauke Petersen
6ffbd2a046 pkg/nimble/netif: fix doxygen leftover 2021-09-10 21:10:16 +02:00
Hauke Petersen
8982fdb0fc pkg/nimble/netif_conn: fix doxygen 2021-09-10 21:08:57 +02:00
Hauke Petersen
2a65637853 pkg/nimble/netif: migrate return values to errno 2021-09-10 21:07:33 +02:00
Hauke Petersen
32212df463
Merge pull request #16603 from haukepetersen/add_nimble_diradv
pkg/nimble/netif: add nimble_netif_accept_direct()
2021-09-09 23:29:43 +02:00
Hauke Petersen
e4b76b2ac4
Merge pull request #16830 from fjmolinas/pr_nimble_bump_ver_cleanup
pkg/nimble: bump version, rmv patches
2021-09-09 18:48:41 +02:00
Hauke Petersen
5959d0de2c pkg/nimble/netif: add nimble_netif_accept_direct() 2021-09-09 15:19:10 +02:00
Francisco Molina
24a131ebe0 pkg/nimble: bump version, rmv patches 2021-09-09 13:48:52 +02:00
Benjamin Valentin
e80cedf6a8 pkg/nanocbor: bump version 2021-09-09 13:42:41 +02:00
Peter Kietzmann
b98fa6d9d0
Merge pull request #16489 from Ollrogge/fido2_pr
FIDO2 support in RIOT
2021-09-08 21:14:52 +02:00
benpicco
bcaaaec66f
Merge pull request #16814 from dylad/pr/cpu/nrf9160_add_twi_and_spi_support
cpu/nrf9160: add twi and spi support
2021-09-08 19:11:37 +02:00
Ollrogge
e127a4d865 FIDO2 support in RIOT 2021-09-08 15:22:40 +02:00
Francisco Molina
da0b06ddee pkg/edhoc-c: remove nimble blacklist 2021-09-07 09:35:12 +02:00
Francisco Molina
ca9198183d pkg/tinycryp: supress llvm warning 2021-09-07 09:35:00 +02:00
Francisco
a6f3bc9c3b
Merge pull request #16540 from fjmolinas/pr_nimble_tinycrypt
pkg/nimble: use tinycrypt pkg
2021-09-07 09:31:49 +02:00
Dylan Laduranty
633ddee360 pkg/uwb-core: don't pull unwanted dependencies for nRF9160
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:39 +02:00
Dylan Laduranty
ed655ab29b pkg/mynewt-core: don't pull unwanted dependencies for nRF9160
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:11 +02:00
Karl Fessel
672a34e2be
Merge pull request #16805 from kfessel/p-spelling-minor
doc: cleanup some minor spelling error found by codespell
2021-09-03 15:35:30 +02:00
Karl Fessel
42b191318a doc: cleanup some minor spelling error found by codespell 2021-09-03 13:02:08 +02:00
Martine Lenders
13cc189a8a
Revert "Remove which from shell invocations" 2021-09-03 11:27:03 +02:00
chrysn
6b50033766 makefiles: Replace which with command -v
As the POSIX documentation[1] of `command -v` guarantees that on error
there will be no output (and there will be output in the other cases),
the tests in Makefiles were simplified to test for output equality to
the empty string.

Redirects swallowing error outputs were removed, as the command produces
no error output there (as recommended at [2]).

Existing uses of `command` are simplified as well.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[2]: https://salsa.debian.org/debian/debianutils/-/blob/master/debian/NEWS
2021-09-02 16:30:46 +02:00
Francisco
65d717f5a0
Merge pull request #16623 from fjmolinas/pr_riot_initialize_timers
pkg/nimble: have RIOT always initialize nimble timers
2021-09-02 08:54:53 +02:00
Francisco Molina
f4a3af4c44 pkg/mynewt-core/contrib: use same initializaion as Nimble for timers 2021-09-01 09:26:28 +02:00
Francisco Molina
ba3567ade6 pkg/nimble: have RIOT always initialize nimble timers 2021-09-01 09:14:47 +02:00
chrysn
de768b5d23
Merge pull request #16775 from chrysn-pull-requests/shell-make-fixes
makefiles: Sort >/dev/null and 2>&1
2021-08-27 10:37:51 +02:00
benpicco
0b69747389
Merge pull request #16023 from maribu/max_pdu_size
sys/net/netopt: Drop deprecated NETOPT_MAX_PACKET_SIZE
2021-08-26 14:40:18 +02:00
benpicco
149de73160
Merge pull request #16741 from benpicco/net_lwip_netif_get_name
pkg/lwip: implement netif_get_name()
2021-08-26 14:37:58 +02:00
Benjamin Valentin
b6b48535fb pkg/lwip: implement netif_get_name() 2021-08-26 13:20:24 +02:00
Benjamin Valentin
b3cda605a5 pkg/paho-mqtt: remove workaround for stm32 2021-08-25 18:42:40 +02:00
Benjamin Valentin
7cc19d19a0 pkg/ccn-lite: bump version 2021-08-25 18:42:40 +02:00
Benjamin Valentin
a586d1ba4c pkg/pkg.mk: allow for custom patch dir 2021-08-25 15:35:50 +02:00
Martine Lenders
be6115447e
Merge pull request #16364 from haukepetersen/add_nimble_rpble_pr
net/BLE: add support for RPL-over-BLE
2021-08-24 18:30:32 +02:00
chrysn
648e014184 makefiles: Sort >/dev/null and 2>&1
Redirecting `2>&1 >/dev/null` moves stderr to stdout first and then
stdout to /dev/null; when checking for command existence or otherwise
silencing output, this is usually not desired (but only starts producing
errors when the actual command fails, which is often not tested).
2021-08-24 14:41:54 +02:00
benpicco
16f7c94875
Merge pull request #16761 from benpicco/pkg/lwip/init_devs
pkg/lwip: add auto-init for DOSE & at86rf215, cc2538_rf
2021-08-24 12:16:14 +02:00
Hauke Petersen
42f033afb9 pkg/nimble: add RPL-over-BLE impl. (nimble_rpble) 2021-08-24 11:33:13 +02:00
Francisco Molina
fb3860dd05 pkg/nimble/autoadv: make AD flag optionnal
These fields can be omitted if all other FLAGS are 0 and the advertising
packets is not connectable, allowing for 3 extra bytes for advertisement
payload.

Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-24 09:12:58 +02:00
Francisco
8ca1520342
Merge pull request #16701 from fjmolinas/pr_nimble_scanner_set_duration
pkg/nimble/scanner: add function to set scan duration
2021-08-23 10:07:31 +02:00
Francisco
b6475b5370
Merge pull request #16699 from fjmolinas/pr_nimble_autoconn_slave_abort
pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
2021-08-23 10:06:34 +02:00
Erik Ekman
adccbc9f2a pkg/lwip: Fix compilation without IPv6
RIOT/pkg/lwip/init_devs/init.c:65:61: error: 'tcpip_6lowpan_input' undeclared (first use in this function)
     return netif_add_noaddr(netif, state, lwip_netdev_init, tcpip_6lowpan_input);
                                                             ^
2021-08-20 17:52:37 +02:00
Benjamin Valentin
5b83475ffe pkg/lwip: add auto-init for cc2538_rf 2021-08-20 16:48:25 +02:00
Benjamin Valentin
6d468f8044 pkg/lwip: add auto-init for at86rf215 2021-08-20 16:48:25 +02:00
Benjamin Valentin
b39390ed93 pkg/lwip: add auto-init for DOSE 2021-08-20 16:37:53 +02:00
Erik Ekman
9459dfaf68 pkg/lwip: Use XFA to initialize network interfaces 2021-08-20 14:58:29 +02:00
Erik Ekman
11f8ba89ae pkg/lwip: Move ethos to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
06dfcdd3fa pkg/lwip: Move socket_zep to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
9002da3d80 pkg/lwip: Move nrf802154 to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
1897b57d8e pkg/lwip: Move at86rf2xx to netif auto init 2021-08-20 14:57:39 +02:00
Erik Ekman
fff95fc882 pkg/lwip: Add 6lowpan helper, do auto init for mrf24j40 2021-08-20 14:57:37 +02:00
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