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

40824 Commits

Author SHA1 Message Date
Gunar Schorcht
13770be456 pkg/esp32_sdk_lib_bt_esp32: add BLE library for ESP32 2022-08-24 09:03:38 +02:00
Gunar Schorcht
5b004f387d pkg/esp32_sdk: patch needed for ESP32 Bluetooth LE controller 2022-08-24 09:03:38 +02:00
Gunar Schorcht
0bef4c0c30 pkg/nimble: conditional compilation of nRF5x code
The package uses the nRFx SDK package `nrfx`. In addition, the `mynewt-nimble` repository contains some files (`porting/nimble/src/hal_timer.c` and `porting/npl/riot/src/nrf5x_isr.c`) that are compilable only for nRF MCUs. To allow the compilation for other platforms, the use of the `nrfx` package and the compilation of these files are now dependent on the use of any nRF5x MCU.
2022-08-24 09:03:38 +02:00
Gunar Schorcht
e3b2b75aff pkg/nimble: add module for HCI UART H4 transport protocol
If the package is used for a controller that supports the HCI UART H4 transport layer protocol, the functions implemented in `nimble/transport/common/hci_h4` are very useful to deal with H4 formatted packages. If required, they can be enabled by module `nimble_transport_hci_h4`.
2022-08-24 09:03:38 +02:00
benpicco
4b75725dd3
Merge pull request #18503 from gschorcht/cpu/esp32/add_esp32s2_support_in_makefiles
cpu/esp32: add ESP32-S2 support to makefiles
2022-08-23 20:06:52 +02:00
benpicco
b232deea9f
Merge pull request #18499 from mariemC/dist/tools/key_encryption
dist/tools/suit: encrypt an existing key
2022-08-23 19:23:22 +02:00
benpicco
05921bf6bf
Merge pull request #18502 from gschorcht/dist/tools/esptools/add_esp32s2_toolchain
dist/tools/esptools: add ESP32-S2 toolchain support to {install,export}.sh
2022-08-23 18:23:45 +02:00
Gunar Schorcht
fbdad5fe02 cpu/esp32: add ESP32-S2 support to ESP-IDF compilation 2022-08-23 17:34:38 +02:00
Gunar Schorcht
cd5c350e88 cpu/esp32: add ESP32-S2 support in makefiles 2022-08-23 17:34:25 +02:00
Gunar Schorcht
94a1792c32 dist/tools: add toolchain installtion for ESP32-S2 2022-08-23 17:33:31 +02:00
Marian Buschsieweke
0d555de986
Merge pull request #18479 from jia200x/pr/fix_lwip_concurrency
pkg/lwip: fix netdev concurrency issues
2022-08-23 16:34:43 +02:00
benpicco
bc82cf1cd6
Merge pull request #18497 from MrKevinWeiss/pr/fix/ieeehal
drivers/kw2xrd/Kconfig: fix kconfig model
2022-08-23 13:36:01 +02:00
Jose Alamos
a2bf203485
pkg/lwip: fix handling of netdev send return code 2022-08-23 11:57:11 +02:00
mariem.charrada
0e6ecd1350 dist/tools/suit: encrypt an existing key 2022-08-23 11:32:11 +02:00
MrKevinWeiss
6527408c98
.murdock: add pba-d-01-kw2x to kconfig tests 2022-08-23 10:04:47 +02:00
MrKevinWeiss
a4bc692148
drivers/kw2xrd/Kconfig: fix kconfig model
Nightlies are currently failing as there is a difference between make
and kconfig.
This tries to match the kconfig with the makefile dep.
The only issue is the
```
ifneq (,$(filter netdev,$(USEMODULE)))
  USEMODULE += netdev_ieee802154_submac
endif
```

which may have the same effect as select
HAVE_IEEE802154_RADIO_HAL_INTERFACE.
2022-08-23 10:04:44 +02:00
Martine Lenders
f15fbb3c15
Merge pull request #18441 from miri64/dns_cache/fix/ttl0
dns_cache: handle TTL=0 properly
2022-08-23 02:58:13 +02:00
José Alamos
39987817ce
Merge pull request #18496 from jia200x/pr/gnrc_netif_multi_queue
net/gnrc_netif: add support for priority queues
2022-08-22 22:54:55 +02:00
52351d11bf
Merge pull request #18491 from maribu/tests/ztimer_periodic
tests/ztimer_periodic: improve output and relax on native
2022-08-22 20:02:15 +02:00
Jose Alamos
5fd601ae97
gnrc/init_devs/kw2xrf: use high priority queue for drivers 2022-08-22 18:00:15 +02:00
Jose Alamos
2c9f3072fb
net/gnrc_netif: add support for priority queues 2022-08-22 18:00:14 +02:00
benpicco
00ede8f7d2
Merge pull request #18421 from gschorcht/cpu/esp32/add_esp32s3_cpu_support
cpu/esp32: add support for ESP32-S3
2022-08-22 17:33:05 +02:00
benpicco
6c6ebce118
Merge pull request #18470 from MrKevinWeiss/pr/fixmurdockloudness
makefiles: quiet messages on CI
2022-08-22 13:33:29 +02:00
MrKevinWeiss
0489630aa7
makefiles: quiet messages on CI
After introducing #18423 there are occasional messages that still happen.
These messages cause a diff output when testing with TEST_KCONFIG=1.
This then causes a failure when comparing make/kconfig modules and packages.
2022-08-22 11:35:56 +02:00
chrysn
777e148bc2
Merge pull request #18489 from nica-f/pr1
pkg/lvgl: remove version comment fixing build issue
2022-08-21 14:56:57 +02:00
Nicole Faerber
5e073797e6 pkg/lvgl: remove version comment fixing build issue 2022-08-21 13:51:01 +02:00
Marian Buschsieweke
7ea0cab22e
tests/ztimer_periodic: improve output and relax on native
- Explain the reason on why the test fails if it fails
- Relax offset for ZTIMER_USEC on native, as this depends on the jitter
  emitted by the non-realtime OS native is running on

fixes issue #18490
2022-08-21 13:12:43 +02:00
chrysn
36595fd366
Merge pull request #18483 from chrysn-pull-requests/ccn-lite-388
pkg/ccn-lite: patch to fix use-after-free
2022-08-21 12:51:00 +02:00
benpicco
ed3d680aa2
Merge pull request #18482 from benpicco/coap_timeout_avr
nanocoap: fix type of CONFIG_COAP_ACK_TIMEOUT_MS (for AVR)
2022-08-20 18:37:15 +02:00
chrysn
ee3b56fa08 pkg/ccn-lite: patch to fix use-after-free
Workaround-For: https://github.com/cn-uofbasel/ccn-lite/pull/388
2022-08-20 17:47:50 +02:00
benpicco
a4564df7a5
Merge pull request #18474 from gschorcht/pkg/nimble/fix_statconn_peer_type
pkg/nimble:derive peer address type from peer address
2022-08-20 17:17:27 +02:00
Benjamin Valentin
071ae2ccc0 nanocoap: fix type of CONFIG_COAP_ACK_TIMEOUT_MS 2022-08-20 16:32:20 +02:00
chrysn
0a4bd3d68f
Merge pull request #18389 from chrysn-pull-requests/rust-cstr-update
rust: Update cstr dependency
2022-08-20 15:43:44 +02:00
Jose Alamos
d0403fc32d
pkg/lwip: acquire and release device lock 2022-08-19 19:44:32 +02:00
Jose Alamos
705fd8d691
pkg/lwip: add device acquire/release 2022-08-19 19:42:45 +02:00
benpicco
0b5f270b15
Merge pull request #18464 from jia200x/pr/bhp_msg
sys/bhp_msg: add IPC based implementation of Bottom Half Processor
2022-08-19 14:28:15 +02:00
Jose Alamos
f6fd8fafd8
unittests/bhp_msg: add initial unittests 2022-08-19 12:01:31 +02:00
Jose Alamos
8cf53fc8ab
sys/bhp_msg: add IPC based Bottom Half Processor 2022-08-19 12:01:30 +02:00
Kevin "Tristate Tom" Weiss
848911e7c0
Merge pull request #18473 from maribu/pkg/littlefs
pkg/{littlefs,littlefs2}: fix unaligned memory accesses
2022-08-19 10:17:08 +02:00
Kevin "Tristate Tom" Weiss
63ee51f860
Merge pull request #18469 from jia200x/pr/kw2xrf/fix_kconfig
kw2xrf/Kconfig: remove netdev_ieee802154 from dependency resolution
2022-08-18 20:27:59 +02:00
Marian Buschsieweke
ca4afc4053
pkg/littlefs2: fix unaligned memory access
Previously `tests/pkg_littlefs2` crashed on the `samr21-xpro`. This
now aligns the buffers in `littlefs2_desc_t` to the alignment
requirement of `uint32_t`.

Specifically the issue causing the crash at hand was that
`struct lfs_free::buffer` is of type `uint32_t *`, so access are
expected to be aligned to `uint32_t`. After this commit, this
assumption is fulfilled.
2022-08-18 18:54:37 +02:00
Marian Buschsieweke
f87a401c87
pkg/littlefs: fix unaligned memory access
Previously `tests/pkg_littlefs` crashed on the `samr21-xpro`. This
now aligns the buffers in `littlefs_desc_t` to the alignment
requirement of `uint32_t`.

Specifically the issue causing the crash at hand was that
`lfs_free_t::buffer` is of type `uint32_t *`, so access are expected
to be aligned to `uint32_t`. After this commit, this assumption is
fulfilled.
2022-08-18 18:53:59 +02:00
Gunar Schorcht
8a5ff74dfc sys/shell: print address type in ble info command 2022-08-18 18:45:13 +02:00
Gunar Schorcht
367707a158 pkg/nimble: derive used address type in statconn from peer address
Using a `BLE_ADDR_RANDOM` as the peer address type allows connecting only to peers that have a static random address. Deriving the peer address type from the peer address is simple and allows connections to be established with peers that have either a public or
static random address.
2022-08-18 18:45:13 +02:00
benpicco
3a6dac4455
Merge pull request #18467 from gschorcht/pkg/nimble/fix_event_queue_size_adv_ext
pkg/nimble: fix the event queue size for nimble_adv_ext
2022-08-18 18:27:42 +02:00
Jose Alamos
2d4f239d18
sys/bhp: add missing event dependency 2022-08-18 17:04:46 +02:00
Jose Alamos
2138af65dc
kw2xrf/Kconfig: remove netdev_ieee802154 from dependency resolution 2022-08-18 14:17:53 +02:00
Kevin "Tristate Tom" Weiss
f820f94dcf
Merge pull request #18466 from benpicco/netdev_legacy_api-KConfig
cpu/{sam0_common, stm32}: select netdev_legacy_api in KConfig
2022-08-18 13:57:37 +02:00
Marian Buschsieweke
2873976d3d
drivers/sx1280: select netdev_legacy_api in KConfig 2022-08-18 09:35:16 +02:00
Gunar Schorcht
2635af9a20 pkg/nimble: fix event queue size for nimble_adv_ext
If the Bluetooth 5 Advertising Extension is enabled by the `nimble_adv_ext` module, up to 3 events come in from the controller during connection establishment before they are processed by the host. The default size of the event queue `MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT` with only 2 entries is therefore too small and the connection establishment fails.
2022-08-18 07:51:39 +02:00