1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

2570 Commits

Author SHA1 Message Date
benpicco
b16fd97514
Merge pull request #17768 from HendrikVE/pr/lwip_move_includes
pkg/lwip: move includes to the top of the file
2022-03-08 14:39:48 +01:00
Francisco Molina
d61256d8f2 pkg/mynewt-core: fix semaphore 2022-03-08 11:11:03 +01:00
Hendrik van Essen
850863c22f pkg/lwip: move includes to the top of the file 2022-03-07 17:19:04 +01:00
Francisco Molina
82cebfe15f pkg/lvlgl: allow cusomizing LV_MEM_SIZE 2022-03-07 09:36:05 +01:00
Jens Wetterich
01f502b753 pkg/etl: Add the embedded template library (etl) 2022-03-06 16:22:53 +01:00
Francisco Molina
64ff3d1d4f pkg/lwip: use ztimer_msec instead of xtimer 2022-03-03 15:54:22 +01:00
Marian Buschsieweke
a5b91362cb
Merge pull request #15329 from kfessel/p-add-wamr
pkg/wamr: add WAMR to provide WASM support in RIOT
2022-03-02 19:58:31 +01:00
Francisco Molina
26a04c31cc pkg/uwb-dw1000: add patch for rf_txctrl value 2022-03-01 15:02:47 +01:00
a17ff53ecf
Merge pull request #17485 from benpicco/sock_udp_sendv
sys/net/sock: add sock_udp_sendv() API
2022-03-01 14:05:21 +01:00
Karl Fessel
52116e1070
Merge pull request #17572 from kfessel/p-set-doxygen-example-path
doc: add RIOT root to doxygen example path
2022-02-28 15:42:25 +01:00
Francisco Molina
ec06163402 pkg/lvgl: adapt to SDL display and input driver 2022-02-28 10:23:06 +01:00
Francisco Molina
bab49e520d pkg/lv_drivers: initial commit 2022-02-28 10:23:06 +01:00
Francisco
3aeba84820
Merge pull request #17681 from aabadie/pr/pkg/lvgl-v8
pkg/lvgl: bump to 8.2.0
2022-02-28 09:41:37 +01:00
benpicco
d5f570c28b
Merge pull request #17703 from benpicco/pkg/nanors
pkg/nanors: add reed solomon codec implementation
2022-02-26 19:35:44 +01:00
Benjamin Valentin
11ab3e3aa4 pkg/nanors: add reed solomon codec implementation 2022-02-26 11:09:14 +01:00
Benjamin Valentin
6a54a39b0f pkg/fatfs: document some compile-time options 2022-02-25 16:31:44 +01:00
cc26dedf07
pkg/lvgl: add patch for lv_conf_internal 2022-02-25 14:24:29 +01:00
3c3dae36a0
pkg/lvgl: use lvgl minimal config, bind widget use to modules 2022-02-25 14:24:29 +01:00
0a33a08f21
pkg/lvgl: bump to v8.2.0
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
2022-02-25 14:24:28 +01:00
c190a87dce
pkg: move lvgl v7 to separate directory and deprecate 2022-02-25 14:24:28 +01:00
Benjamin Valentin
2aa41b1a44 pkg/fatfs: ensure volume is initialized before formatting 2022-02-22 15:13:22 +01:00
Benjamin Valentin
93cd0bcc57 pkg/fatfs: add config path to NATIVEINCLUDES
Since `ffconf.h` gets included by `vfs.h` which gets included by
`native` code, this header needs to be available to the `native` cpu
module too.
2022-02-22 15:03:55 +01:00
Benjamin Valentin
b822e8a5a9 pkg/lwip: implement sock_udp_sendv_aux() 2022-02-22 10:05:41 +01:00
Benjamin Valentin
aa6a3cfddd pkg/openwsn/sock: implement sock_udp_sendv_aux() 2022-02-22 10:05:41 +01:00
Francisco
3e2b6706b9
Merge pull request #17677 from fjmolinas/pr_tinydtls_ztimer_cleanup
pkg/tinydtls/sock_dtls: use ztimer_usec
2022-02-21 08:27:38 +01:00
Francisco Molina
a3d58c6dcd pkg/tinydtls/sock_dtls: use ztimer_usec 2022-02-18 13:33:36 +01:00
Francisco Molina
73e7eacf22 pkg/tinydtls/contrib: uncruistify 2022-02-18 13:17:23 +01:00
Jue
bdc827dd30 pkg/gecko_sdk: update to v4.0 2022-02-17 10:54:04 +01:00
Benjamin Valentin
5b246d02c0 pkg/fatfs: fatfs_vfs: wire up format() 2022-02-16 14:30:08 +01:00
Karl Fessel
fc1f44a28a pkg/wamr/doc: Why isn't iwasmt.c part of pkg/wamr? 2022-02-15 15:48:36 +01:00
chrysn
25882133f8
Merge pull request #17634 from benpicco/pkg/fatfs-statvfs
pkg/fatfs: implement statvfs()
2022-02-12 15:25:04 +01:00
chrysn
aae6c18cb1
Merge pull request #17645 from chrysn-pull-requests/all-stat-buffers
vfs: Initialize stat buffers so FSs don't have to
2022-02-12 15:12:47 +01:00
chrysn
2cb4b70458 vfs / treewide: Remove manual zeroing of vfs stat buffers 2022-02-12 12:31:38 +01:00
Benjamin Valentin
9982cf5c3e pkg/fatfs: implement statvfs()
This hooks up the statvfs() function to query file system properties.
2022-02-11 14:05:27 +01:00
Karl Fessel
227f57dbb3 pkg/wamr: remove support for architectures
* for which no working assembly invokeNative is provided
2022-02-11 13:29:40 +01:00
Karl Fessel
9e05357960 pkg/wamr: update wamr 2022-02-11 13:29:40 +01:00
Karl Fessel
1de3f65259 pkg/wamr: Makefile accept pedantic, filter Wcast-align 2022-02-11 13:29:40 +01:00
Karl Fessel
cf6e8825e2 pkg/wamr: update for ztimer(64) 2022-02-11 13:29:40 +01:00
Karl Fessel
57e380d173 pkg/wamr: improve makefile and doc 2022-02-11 13:29:40 +01:00
Karl Fessel
5198dc48c6 pkg/wamr: add WAMR to provide WASM support in RIOT
* config.cmake configures wamr build
* native thumb and mips
* riscv support
* switchable commit id
  defaults to main until PR:WIP is removed
2022-02-11 13:09:26 +01:00
Jens Wetterich
4dfeafcabd cpu/native/netdev_tap: Add to netdev_register 2022-02-11 07:54:11 +01:00
benpicco
be45400631
Merge pull request #17341 from benpicco/vfs-mtd_cleanup
sys/vfs: add file-system auto-mount
2022-02-09 21:50:34 +01:00
Benjamin Valentin
8f47684343 pkg/fatfs: ensure max sector size is not exceeded 2022-02-09 12:21:53 +01:00
Benjamin Valentin
ae06265de0 pkg/fatfs: VFS: internally handle fatfs_mtd_devs
This makes FAT behave more like the other file systems supported by VFS.
The `fatfs_mtd_devs` array is populated internally so the application does
not have to handle this.
2022-02-09 12:21:53 +01:00
Francisco
74741fb905
Merge pull request #17564 from fjmolinas/pr_tinydyls_migrate_to_ztimer
pkg/tinydtls: migrate to ztimer64_msec
2022-02-09 11:46:32 +01:00
Francisco Molina
e6822e01ca pkg/tinydtls: migrate to ztimer64_msec 2022-02-09 08:19:16 +01:00
ca6b273400
nimble: Use sysctl in docs 2022-02-08 19:50:05 +01:00
Benjamin Valentin
6a361795ee pkg/littlefs*: align readdir() with documentation
`readdir()` should only output the name of the file, but littleFS
adds a leading `/`.

Neither FAT nor Linux will exhibit this behavior.

        struct dirent *entry;
        DIR *dir = opendir(".");
        while ((entry = readdir(dir))) {
                printf("%s\n", entry->d_name);
        }

This results in surprising failures of code that expects filenames
to match that was tested on a different FS, when suddenly there is
a `/` in front of the filename.
2022-02-07 23:25:14 +01:00
benpicco
865df2056b
Merge pull request #17621 from benpicco/vfs_fsync
sys/vfs: provide vfs_fsync()
2022-02-07 18:11:28 +01:00
Benjamin Valentin
360e1a82d6 pkg/spiffs: hook up vfs_fsync() 2022-02-07 16:16:43 +01:00
Benjamin Valentin
d1cfec4a65 pkg/fatfs: hook up vfs_fsync() 2022-02-07 16:13:04 +01:00
Benjamin Valentin
0cd86e728d pkg/littlefs: hook up vfs_fsync() 2022-02-07 16:10:05 +01:00
Benjamin Valentin
c55b264428 pkg/littlefs2: hook up vfs_fsync() 2022-02-07 16:07:37 +01:00
Francisco
0d14b086d3
Merge pull request #17211 from NikLeberg/feature/external_pkg_dirs
buildsystem: add EXTERNAL_PKG_DIRS functionality
2022-02-07 14:46:08 +01:00
Francisco
dbae3ed706
Merge pull request #16860 from haukepetersen/add_nimble_netifextadv
nimble/netif: add support for BT5 PHY modes
2022-02-04 11:16:11 +01:00
Francisco
14f22c17aa
Merge pull request #12012 from HendrikVE/nimble_shell_module
sys/stdio_nimble: add new stdio module using nimble
2022-02-04 11:10:17 +01:00
Benjamin Valentin
6ef79ea9cd pkg/tinycbor: bump version 2022-02-02 14:44:50 +01:00
NikLeberg
ad8fad64ba buildsystem: document EXTERNAL_PKG_DIRS feature 2022-02-01 19:37:24 +00:00
Leandro Lanzieri
1e300a4959
Merge pull request #17435 from Ollrogge/fido2_kconfig
sys/fido2: model Kconfig
2022-02-01 12:03:11 +01:00
Ollrogge
1dde2cd3bc sys/fido2: remove unnecessary module import from Makefile.dep 2022-01-31 16:49:38 +01:00
NikLeberg
e5365adb93 pkg/esp32_sdk_libs: add requirements to PKG_PREPARE
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.

Packages are downloaded, patched, prepared before any module
is compiled. By adding the directory creation as a dependency
of `PKG_PREPARE` we make sure the rule is run before compilation
starts.
2022-01-30 20:00:09 +01:00
NikLeberg
18dca48510 pkg/esp32_sdk: add requirements to PKG_PREPARE
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.

This also includes header files such as `esp32_idf_version.h`.

Packages are downloaded, patched, prepared before any module
is compiled. By adding the directory creation and header as
a dependency of `PKG_PREPARE` we make sure the rules are ran
before compilation starts.
2022-01-30 19:59:35 +01:00
NikLeberg
044701d3cc pkg/esp8266_sdk: add requirements to PKG_PREPARE
The shared `build-libs` directory needs to be available for
modules/packages that depend on the SDK before that package
is eventually compiled.

Packages are downloaded, patched and prepared before any
module is compiled. By adding the directory creation and
header as a dependency of `PKG_PREPARE` we make sure the
rule is run before compilation starts.
2022-01-30 19:59:05 +01:00
Hendrik van Essen
e840b61091 pkg/nimble: configure nimble values for stdio_nimble 2022-01-28 19:26:38 +01:00
Hendrik van Essen
72a6ca6366 sys/stdio_nimble: add new stdio module using nimble
Implement a new module stdio_nimble, which uses nimble
for stdio. The characteristic for stdin is writable and
the characteristic for stdout uses the indicate mechanism
to publish the system's output to a connected device.
Data will be sent out asynchronously via callout functions.

The module can be enabled with "USEMODULE += stdio_nimble"

Co-authored-by: Francisco Molina <femolina@uc.cl>
2022-01-28 19:26:38 +01:00
Hauke Petersen
c7b3d8416d nimble/autoconn: allow to select PHY mode 2022-01-27 10:30:30 +01:00
Hauke Petersen
0a4585d4c8 nimble/rpble: allow to select PHY mode 2022-01-27 10:30:30 +01:00
Hauke Petersen
2634063f5f nimble/statconn: allow to define PHY mode 2022-01-27 10:30:29 +01:00
Hauke Petersen
0ea7bf33d0 nimble/netif: support ext adv and BLE 5 PHY modes 2022-01-27 10:30:29 +01:00
Hauke Petersen
56c4460785 nimble/scanner: include CODED PHY only if featured 2022-01-27 10:10:09 +01:00
Hauke Petersen
1b15b203cc pkt/nimble/contrib: add enum for PHY modes 2022-01-27 10:10:09 +01:00
Hauke Petersen
f5aba5301d pkg/nimble: cleanup dep resolution for PHY modes 2022-01-27 10:10:09 +01:00
Karl Fessel
f8191a03ff doc/pkg: include some Readme.md within doc.txt 2022-01-25 17:41:40 +01:00
benpicco
c18f1c2a9b
Merge pull request #17455 from gschorcht/cpu/esp32/sdk-as-package
cpu/esp32: download Espressif SDK ESP-IDF as package
2022-01-24 16:13:04 +01:00
c21730a765
Merge pull request #17406 from fjmolinas/pr_twr_aloha_rework
examples/twr_aloha: refactor
2022-01-21 10:08:46 +01:00
f511a64302
Merge pull request #17538 from leandrolanzieri/pr/doc/pkg_includes
pkg: fix documentation on includes
2022-01-19 16:50:14 +01:00
Benjamin Valentin
023ef291c6 pkg/mbedtls: bump version to v2.28.0
https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0
2022-01-19 11:24:20 +01:00
Francisco Molina
849c800e28 pkg/uwb-core: fix dependencies add uwb-core_uwb_rng_trx_info 2022-01-19 10:32:33 +01:00
Leandro Lanzieri
e470a9ab57
pkg/doc: Fix documentation on package header files 2022-01-19 10:15:52 +01:00
benpicco
2542195cdf
Merge pull request #15671 from PeterKietzmann/pr_add_pkg_mbedtls
pkg/mbedtls: initial pkg import to use entropy module
2022-01-18 08:22:50 +01:00
PeterKietzmann
b05f93405e pkg/mbedtls:initial port of the entropy module 2022-01-17 23:22:14 +01:00
75f5048b68
Merge pull request #17497 from jia200x/pr/lora/fix_rssi_val
[treewide] lora: use int16_t for RSSI value
2022-01-17 18:57:37 +01:00
Jose Alamos
9955a35c63
[treewide] lora: use int16_t for RSSI value
The RSSI values reported by LoRa transceiver can be less than -127.
Therefore, `int8_t` is not enough. This commit defines the RSSI of
`netdev_lora_rx_info` as `int16_t` and adapt the drivers accordingly
(sx126x, sx127x).
2022-01-17 17:54:18 +01:00
Marian Buschsieweke
8549ff2f7d
Merge pull request #17479 from gschorcht/cxxexflags_cpp+14
makefiles: use C++14 standard by default for C++ compilations
2022-01-17 13:42:41 +01:00
4f9c28eee8
pkg/semtech-loramac: use CONFIG_LORAMAC_DEFAULT_PRIVATE_NETWORK 2022-01-14 10:21:20 +01:00
Gunar Schorcht
aa44c8ab78 pkg: remove -std=c++11 2022-01-13 17:50:59 +01:00
Marian Buschsieweke
6a138cc5c4
pkg/paho-mqtt: fix memory corruption
This fixes instances where a pointer to an enum (possibly sized one
byte) is casted to a pointer to int (which is at least two and in most
cases four bytes in size). As result, out-of-bounds memory accesses
are bound to happen.

This was detected by GCC 11.2.0 with -Wstringop-overflow.
2022-01-11 18:23:06 +01:00
J. David Ibáñez
a2e989369d pkg/arduino_sdi_12: fix for the feather-m0 board
Use RIOT's API.
2022-01-11 13:16:08 +01:00
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
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
Akshai M
3c5c429541 net/lorawan : Move 'LORAMAC_DEFAULT_NETID' to 'CONFIG_' 2021-01-26 16:52:58 +01:00
Akshai M
e46c4401a9 net/lorawan : Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_'
Move 'LORAMAC_DEFAULT_DEVICE_CLASS' to 'CONFIG_' and added
additional symbols for Kconfig exposure.
2021-01-26 16:52:57 +01:00
Benjamin Valentin
60eb75da3c mtd: rename mtd_write_page() -> mtd_write_page_raw()
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa socket_zep: register with netdev 2021-01-25 22:59:01 +01:00
Martine Lenders
879fbc179e
Merge pull request #15755 from janosbrodbeck/pr/dtls/get_event_session
sock/async: add function to retrieve session object of current DTLS event
2021-01-22 10:51:51 +01:00
János Brodbeck
04d95d1c5e
pkg/tinydtls: implement sock_dtls_get_event_session 2021-01-21 19:03:40 +01:00
benpicco
ac4bd3abf8
Merge pull request #15819 from bergzand/pr/littlefs2/bump_2.4
littlefs2: Bump to v2.4
2021-01-20 18:41:26 +01:00
fd4f3f829d
littlefs2: Bump to v2.4 2021-01-20 15:03:15 +01:00
Benjamin Valentin
da7cbf3e4c pkg/openthread: bump version to 20191113 2021-01-19 00:05:43 +01:00
6143fdc912
pkg/monocypher: bump to version 3.1.2 2021-01-18 15:06:11 +01:00
José Alamos
2bf10413d0
Merge pull request #15397 from fjmolinas/pr_ieee802154_crc_error
sys/net/iee802154/radio: add IEEE802154_RADIO_INDICATION_CRC_ERROR
2021-01-14 10:29:17 +01:00
Francisco Molina
83fbe6d100
pkg/openwsn: use IEEE802154_RADIO_INDICATION_CRC_ERROR 2021-01-13 23:42:43 +01:00
Francisco Molina
49c90cd517
pkg/openwsn/contrib/radio_hal: fix rssi conversion 2021-01-13 19:45:13 +01:00
a0d4f599d8
pkg/wakaama: use ARRAY_SIZE macro 2021-01-08 14:37:33 +01:00
f4523140f1
pkg/lwip: fix typo (semaphor => semaphore) 2021-01-08 10:15:33 +01:00
János Brodbeck
34a15b6540
pkg/tinydtls: implement sock_dtls_session_set_udp_ep 2021-01-04 20:22:57 +01:00
János Brodbeck
4be161c3e7
pkg/tinydtls: implement sock_dtls_session_get_udp_ep 2020-12-21 18:24:22 +01:00
Martine Lenders
eb6056d469
pkg/tweetnacl: remove trailing whitespaces from doc.txt 2020-12-19 10:00:20 +01:00
Martine Lenders
0770293552
pkg/relic: remove trailing whitespaces from doc.txt 2020-12-19 10:00:08 +01:00
Martine Lenders
15a3365b16
pkg/minmea: remove trailing whitespaces from doc.txt 2020-12-19 09:59:46 +01:00
Martine Lenders
ce9050f2a6
pkg/micro-ecc: remove trailing whitespaces from doc.txt 2020-12-19 09:59:32 +01:00
Martine Lenders
b6a5c533d9
pkg/heatshrink: remove trailing whitespaces from doc.txt 2020-12-19 09:59:06 +01:00
János Brodbeck
387acdfdb5
pkg/tinydtls: remove sock_udp_ep_t from sock_dtls_session_t 2020-12-18 16:41:58 +01:00
Martine Lenders
6dfc33edcc
pkg/openwsn/sock: fix doxygen group doc 2020-12-11 11:27:34 +01:00
Martine Lenders
b6bf67114b
Merge pull request #15536 from fjmolinas/pr_openwsn_sock_selfhosted
pkg/openwsn: add sock_udp
2020-12-11 11:22:50 +01:00
Francisco Molina
e64c91190a
pkg/openwsn: add OPENWSN_NETIF_ID 2020-12-11 09:07:55 +01:00
Francisco Molina
223c952586
pkg/openwsn/Makefile.dep: allow to mock the scheduler 2020-12-11 09:07:53 +01:00
Francisco Molina
5c26f53828
pkg/openwsn: add openwsn_sock_udp module
Co-authored-by: Timothy Claeys <timothy.claeys@inria.fr>
2020-12-11 09:07:48 +01:00
0a96c71053
littlefs2: Bump to v2.3 2020-12-08 16:32:08 +01:00
Marian Buschsieweke
f222a3f2e9
pkg/tinydtls: Implement sock_aux_local 2020-12-04 16:00:32 +01:00
Marian Buschsieweke
77b39c5550
pkg/lwip: Implement sock_aux_local
Provide address the IP packet / UDP datagram was received on in the auxiliary
data, if module sock_aux_local is used.
2020-12-04 12:51:48 +01:00
Marian Buschsieweke
9d46bc7d7f
Merge pull request #14703 from maribu/sock-aux-api
net/sock: Add access to auxiliary data (API only)
2020-12-03 12:08:49 +01:00
Marian Buschsieweke
152ffe6db9
net/sock_dtls: Extend API for auxiliary data 2020-12-02 17:56:14 +01:00
Marian Buschsieweke
893bfd13d0
net/sock_udp: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Marian Buschsieweke
ebcf1c0ab4
net/sock_ip: Extend API for auxiliary data 2020-12-02 17:56:13 +01:00
Francisco
0a064806e3
Merge pull request #15443 from benpicco/l2util_addr
replace netif_addr_to/from_str() with l2util_addr_to/from_str()
2020-12-02 09:21:16 +01:00
Fabian Hüßler
c526a34770 sx127x: make use of netdev_register()
Call netdev_register() in sx127x_setup()
and pass the index in auto_init_sx127x()
and semtech_loramac_init()
2020-12-01 16:34:11 +01:00
Francisco
f23c616eb1
Merge pull request #15422 from benpicco/pkg/fatfs-r0.14
pkg/fatfs: bump version to r0.14
2020-12-01 10:46:54 +01:00
c3fa38d9d6
pkg/libb2: blacklist 8bit architectures 2020-11-26 16:13:14 +01:00
b1a05b8c89
pkg/libb2: remove useless define
HAVE_ALIGNED_ACCESS_REQUIRED is not used anymore in libb2
2020-11-26 16:13:13 +01:00
01d2201f4d
pkg/libb2: bump to 0.98.1 2020-11-26 16:13:12 +01:00
Francisco
522e9ebc71
Merge pull request #15500 from benpicco/tests/pkg_jsmn-bump
pkg/jsmn: bump version
2020-11-26 10:47:15 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
bc34c85226 pkg/lwip: add mips32 ssize_t fix 2020-11-25 17:52:34 +01:00
1936c43689 pkg/ndn-riot: update kernel_pid_t location patch 2020-11-25 17:52:34 +01:00
46737bcdf3 pkg/ccn-lite: add patch for changed kernel_pid_t location 2020-11-25 17:52:34 +01:00
Leandro Lanzieri
18c937ab69
{drivers/pkg}: add bm680 to Kconfig 2020-11-25 12:00:13 +01:00
Benjamin Valentin
77aa5cbf6c pkg/jsmn: bump version
Only fixes for typos and warnings, but good to keep up to date.
2020-11-23 20:19:47 +01:00
ff5a60396f pkg/ndn-riot: add patch for changed kernel_pid_t location 2020-11-23 16:56:34 +01:00
0b801c4de0 all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
Martine Lenders
ef5e0344ef
tinydtls_sock_dtls: use new mbox_avail() function 2020-11-20 13:09:59 +01:00
Martine Lenders
71224b4b1e
lwip_sock: use new mbox_avail() function 2020-11-20 13:09:42 +01:00
benpicco
a17e9ce8a3
Merge pull request #15401 from chrysn-pull-requests/hacl-provide-prix64
hacl: Patch to fix building where PRIx64 is absent
2020-11-19 16:37:53 +01:00
benpicco
d1ccd53c43
Merge pull request #15450 from janosbrodbeck/pr/tinydtls_fix_handshake_session
pkg/tinydtls: set endpoint of session after complete handshake
2020-11-17 14:21:37 +01:00
Benjamin Valentin
33449a4409 pkg/fatfs: bump version to r0.14 2020-11-17 11:29:28 +01:00
Benjamin Valentin
dbf6b1e25c sys/net: replace netif_addr_to/from_str with l2util_addr… 2020-11-17 10:51:22 +01:00
Benjamin Valentin
4c9a3c0434 pkg/hacl: switch upstream to backup copy
The https://github.com/mitls/hacl-c repo was deleted.
Getting the new upstream (https://github.com/project-everest/hacl-star)
to work nicely as a package requires some non-trivial work and in the
meantime all CI jobs will fail.

As a short-term solution, switch the upstream to a backup version of
the original repository.
2020-11-16 16:34:41 +01:00
János Brodbeck
2538e72625
pkg/tinydtls: set endpoint of session after complete handshake 2020-11-16 13:50:15 +01:00
57116e737b
Merge pull request #14691 from gdoffe/mp1_dev
Port of RIOT-OS to stm32mp1
2020-11-13 12:34:19 +01:00
eaf410592b
Merge pull request #15428 from btcven/2020_11_11-lvgl-preemption
pkg/lvgl: set LVGL thread priority higher than main
2020-11-13 11:58:06 +01:00
Gilles DOFFE
1e57778584 pkg/paho-mqtt: fix patches for STM32MP157Cxx line
As the STM32MP157Cxx has no CMSIS header repositories, SUCCESS enum
is not defined.
Thus STM32MP157Cxx line must be specifically handled as the
STM32F030x4 line to create missing enums.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
153c52754d
Merge pull request #15070 from fjmolinas/pr_uwb_core
pkg/uwb_core: initial support
2020-11-12 14:04:51 +01:00
Francisco Molina
3622c2da07
pkg/uwb-core: initial import 2020-11-12 12:54:54 +01:00
Francisco Molina
cc0d8a83f1
pkg/uwb-dw1000: initial import 2020-11-12 12:07:20 +01:00
Jean Pierre Dudey
7092c455f9 pkg/lvgl: set LVGL thread priority higher than main
Using a lower priority than of the main thread would make
the LVGL thread to preempt the main thread, for example,
if you do a `xtimer_msleep(200);` on the main thread
giving any chance for the LVGL thread to preempt it
while working with LVGL on the main thread would
make the CPU crash.

To reproduce the bug just create various widgets, and fill
them with data from a sensor that "waits" for data to be ready.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-11 09:46:21 +01:00
Bas Stottelaar
f55c033681 pkg/cryptoauthlib: disable for efm32
Some CPUs define AES_COUNT, which is also defined by this package.
2020-11-10 23:03:08 +01:00
benpicco
2a60406ae0
Merge pull request #15292 from fjmolinas/pr_openwsn_defs
boards cpu: move OpenWSN defintions to openwsn_defs.h
2020-11-10 10:07:55 +01:00
Francisco Molina
c4edff3a59
boards cpu: move OpenWSN defintions to openwsn_defs.h 2020-11-10 07:46:35 +01:00
János Brodbeck
958d604775
pkg/tinydtls: set address family of session endpoint on sock_dtls_recv 2020-11-10 03:11:20 +01:00
3a292087b7
pkg/lvgl: update defaults in lv_conf.h 2020-11-08 17:04:55 +01:00
408c2b534d
pkg/lvgl: bump to v7.7.1 2020-11-08 16:19:55 +01:00
chrysn
54078be409 hacl: Patch to fix building where PRIx64 is absent
Quoting the inner commit:

> Not all RIOT platforms provide a PRIx64 or even 64-bit printing.
>
> As the debug routines that actually use this definition are unlikely to
> be used with RIOT, providing a definition that builds (and, depending on
> platform support, may or may not produce correct output) is a suitable
> fix.
2020-11-08 06:44:45 +01:00
benpicco
f702a95880
Merge pull request #15385 from benpicco/xtimer_msleep-convert
drivers, tests: use xtimer_msleep()
2020-11-05 16:46:39 +01:00
Martine Lenders
cc10d31391
Merge pull request #15305 from aabadie/pr/sys/posix_sleep
sys/posix: rename posix_time to posix_sleep
2020-11-05 16:36:25 +01:00
Benjamin Valentin
1c61d36173 pkg/paho-mqtt: convert to xtimer_msleep() 2020-11-05 11:32:41 +01:00
Benjamin Valentin
de2f576437 pkg/driver_bme680/contrib: convert to xtimer_msleep() 2020-11-05 11:32:41 +01:00
Hendrik van Essen
fe4f0a69ee sys/nimble_autoadv: add new module
module for automated bluetooth advertising
2020-11-05 10:53:21 +01:00
Bas Stottelaar
9dd3b7a3ec pkg/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
benpicco
2198598c50
Merge pull request #15355 from a-podshivalov/loramac-crc-bugfix
Fixed a critical bug, allowing to crash the whole system with a specially crafted LoRa frame
2020-11-02 13:05:00 +01:00
Alexander Podshivalov
a82318d4ec pkg/semtech-loramac: reduce scope of radio_payload and make CI happy 2020-10-31 18:09:51 +03:00
benpicco
e77d12da26
Merge pull request #15188 from benpicco/drivers/kw41zrf-register
drivers/kw41zrf: register with netdev
2020-10-31 14:30:00 +01:00
Alexander Podshivalov
4d5812eded pkg/semtech-loramac: check return value of recv() in NETDEV_EVENT_RX_COMPLETE 2020-10-31 00:22:11 +03:00
cf823da856
pkg/tinydtls: remove deprecation message about some CFLAGS 2020-10-30 10:15:18 +01:00
c8e40fc690
pkg: remove deprecated nordic softdevice package 2020-10-29 09:02:05 +01:00
68a2a5dab0
sys: tests: rename posix_time to posix_sleep 2020-10-27 15:20:33 +01:00
Bas Stottelaar
785b646298 pkg/gecko_sdk: update to v2.7.7 2020-10-26 20:29:42 +01:00
chrysn
b6392d63ef vfs: Provide generic stat implementation (and use in fatfs)
When a file system has `fstat` and `open` implemented, `stat` can still
be missing. The new function is a generic implementation, and used in
fatfs to provide a `stat`.
2020-10-25 17:39:57 +01:00
José Alamos
e8721ce415
Merge pull request #15145 from fjmolinas/pr_openwsn_radio_hal
pkg/openwsn: add ieee802154_hal based radio
2020-10-23 21:26:21 +02:00
Francisco Molina
0e0f385f3f
pkg/openwsn/sctimer_rtt: account for counters < uint32 2020-10-23 15:31:57 +02:00
Francisco Molina
0731fdbbaa
pkg/openwsn/scheduler: fix debugpins ordering 2020-10-23 15:31:57 +02:00
Francisco Molina
82e06ef8f4
pkg/openwsn: add ieee802154 hal based radio 2020-10-23 15:31:55 +02:00
Francisco Molina
75eee27c72
pkg/openwsn: move setting RTT_FREQUENCY 2020-10-23 15:31:53 +02:00
Francisco Molina
f5b587c130
pkg/openwsn: allow overiding led pins 2020-10-23 09:13:32 +02:00
Bas Stottelaar
38a5ff7d4b pkg/*: realign ENABLE_DEBUG 2020-10-23 02:43:10 +02:00
benpicco
d078488be3
Merge pull request #14979 from jia200x/pr/openthread/cc2538_rf
openthread: add support for radios compatible with SubMAC
2020-10-22 18:11:11 +02:00
Jose Alamos
383e1b1aaf openthread/nrf802154: add support for NRF802154 radios 2020-10-22 16:56:11 +02:00
Jose Alamos
48a65d2617 openthread/cc2538_rf: add support for CC2538 radios 2020-10-22 16:56:07 +02:00
benpicco
f933bbd4cd
Merge pull request #15267 from basilfx/feature/missing_assert_header
treewide: cleanup assert.h includes
2020-10-22 16:41:49 +02:00
benpicco
6931667cfb
Merge pull request #15253 from benpicco/pkg/micro-ecc-bump
pkg/micro-ecc: bump version
2020-10-22 12:04:21 +02:00
Bas Stottelaar
7088db3636 pkg/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
970c72a0cb pkg/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
Benjamin Valentin
d7e68d1d01 pkg/micro-ecc: bump version
micro-ecc now has upstream RIOT support, we can drop the patch.
2020-10-22 09:44:04 +02:00
Bas Stottelaar
ae8c700e6f pkg/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
Benjamin Valentin
57ad2fd47c pkg/libhydrogen: bump version 2020-10-20 16:42:33 +02:00
Jose Alamos
246acb311f lwip: adapt bootstrap for nrf802154 2020-10-19 15:18:35 +02:00
Marian Buschsieweke
8fcafb89d0
Merge pull request #15242 from maribu/tinycrypt
pkg/tinycrypt: Fix dependencies
2020-10-19 10:11:10 +02:00
Marian Buschsieweke
ffc4277b9f
pkg/tinycrypt: Fix dependencies
According to tests/pkg_tinycrypt, this package only works on 32 bit archs. So
add this as a required feature.
2020-10-19 09:29:37 +02:00
Benjamin Valentin
c5e309a15d pkg/tinycrypt: bump version
Bump the snapshot of TinyCrypt that we are using.
2020-10-18 23:12:15 +02:00
8ca1c65f79
pkg/lua: blacklist picolibc feature 2020-10-15 18:52:51 +02:00
Martine Lenders
45144fb4a4
treewide: use new gnrc_pkt API functions instead of utlist.h macros 2020-10-13 13:32:53 +02:00
János Brodbeck
ffb80ab6b6
tinydtls: fix minor typo in comment 2020-10-10 13:05:46 +02:00
Benjamin Valentin
b32bc3dbd1 drivers/kw41zrf: register with netdev 2020-10-08 16:19:23 +02:00
Benjamin Valentin
1afe72a5e5 drivers/enc28j60: register with netdev 2020-10-08 10:36:56 +02:00
Benjamin Valentin
988ee1648f drivers/mrf24j40: register with netdev 2020-10-07 16:39:39 +02:00
Karl Fessel
9a89b84c2c Makefile.dep: sort dependencies
move most dependencies from <RIOTBASE>/Makefile.dep to the Makefile.dep where
dependant module resides
2020-10-05 18:27:58 +02:00
Francisco
df3ab9f161
Merge pull request #15138 from aabadie/pr/dist/codespell_fixes
dist/codespell: update the list of ignored words and fix all typos
2020-10-02 12:27:12 +02:00