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

2121 Commits

Author SHA1 Message Date
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