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

39907 Commits

Author SHA1 Message Date
Benjamin Valentin
d77724bf04 cpu/sam0_common: RTC: wait for syncbusy in rtc_get_time()
`rtt_get_counter()` already waits for syncbusy before reading the time,
but we also have to do this in RTC mode (`rtc_get_time()`) to avoid
reading old values.

Thus, always wait for syncbusy to clear when accessing the COUNT register.
2022-05-31 15:26:22 +02:00
ac524e69b8
Merge pull request #18149 from benpicco/pkg/nanopb-0.4.6
pkg/nanopb: bump version to 0.4.6
2022-05-31 14:29:01 +02:00
Benjamin Valentin
2652de8db0 pkg/nanopb: bump version
see https://github.com/nanopb/nanopb/blob/master/CHANGELOG.txt
2022-05-31 12:04:50 +02:00
benpicco
b94dd60978
Merge pull request #17912 from benpicco/pkg/fatfs-rtt_rtc
pkg/fatfs, shell: enable RTC support if rtt_rtc is used
2022-05-31 10:30:29 +02:00
Martine Lenders
78b8b6ad11
Merge pull request #18147 from benpicco/sock_udp_create-warn
sys/net/sock: add a word of warning to sock_udp_create()
2022-05-30 22:18:52 +02:00
Benjamin Valentin
01eba05ca1 sys/net/sock: add a word of warning to sock_udp_create()
If a socket is created we must also call sock_udp_recv() on it as
otherwise messages will get stuck in it's queue until the socket is
closed (which might be never).

If applications only want to send without receiving, they must use
sock_udp_send().
2022-05-30 20:21:13 +02:00
benpicco
b997820ffd
Merge pull request #18144 from miri64/gnrc/fix/fix-gnrc_netif_pktq-deps
gnrc: gnrc_netif etc. modules are not required by gnrc_netif_pktq
2022-05-30 13:03:38 +02:00
benpicco
3b0dd8a982
Merge pull request #18145 from maribu/makefiles/libc/picolibc.mk
makefiles/libc/picolibc.mk: Fix typo
2022-05-30 13:01:41 +02:00
Marian Buschsieweke
e796a7394e
makefiles/libc/picolibc.mk: Fix typo 2022-05-30 12:38:19 +02:00
Martine Lenders
e22fb6ef07
gnrc_netif_pktq: create dedicated Kconfig
Reflects dependency change in e5f93f856d
2022-05-30 11:13:52 +02:00
Martine Lenders
e5f93f856d
gnrc: gnrc_netif etc. modules are not required by gnrc_netif_pktq 2022-05-30 10:39:06 +02:00
Martine Lenders
a1a02a7838
Merge pull request #18143 from benpicco/gnrc_netreg_unregister-drain_mbox
gnrc_netreg: drain mbox on unregister
2022-05-30 10:05:12 +02:00
Benjamin Valentin
bf5926283b gnrc_netreg: drain mbox on unregister
If there are still messages in the mbox when gnrc_netreg_unregister()
is called, we must release the associated pktbuf snips, otherwise
they are leaked away forever.

E.g. `sock_udp_close()` was called without receiving all messages with
`sock_udp_recv()`.
2022-05-29 22:42:48 +02:00
chrysn
bf2d4808c4
Merge pull request #18140 from chrysn-pull-requests/workaround-c2rust-423
bitarithm: Move `extern const` out of static inline functions
2022-05-29 15:34:37 +02:00
chrysn
bdbde49753 bitarithm: Move extern const out of static inline functions
Workaround-For: https://github.com/immunant/c2rust/issues/423
2022-05-29 13:59:39 +02:00
Martine Lenders
2d67eaf7ef
Merge pull request #18105 from kfessel/p-deprecate-ztimer-now64-2
ztimer: add module removal information to doxygen and date it
2022-05-25 18:54:09 +02:00
Leandro Lanzieri
95716d4486
Merge pull request #18135 from leandrolanzieri/pr/driver/st7735/kconfig_add_feature
drivers/st7735/kconfig: add hardware feature symbol
2022-05-25 17:31:30 +02:00
Marian Buschsieweke
e79965e848
Merge pull request #18132 from maribu/makefiles/features_modules.inc.mk
build system: no periph_init for periph_gpio_ll*
2022-05-25 16:09:14 +02:00
benpicco
31b8518d20
Merge pull request #17965 from benpicco/coap_get_blockopt-uint8
nanocoap: use uint8_t for szx value
2022-05-25 14:00:04 +02:00
Martine Lenders
3e531801e6
Merge pull request #17678 from miri64/gnrc_netif/enh/optional-comp-ctx
gnrc_netif: make auto-config of compression context optional
2022-05-25 00:51:36 +02:00
Martine Lenders
a2ca69ac91
Merge pull request #17691 from miri64/gnrc_sock/enh/warn-about-async-timeout
gnrc_sock: warn about non-zero receive timeouts with sock_async
2022-05-24 23:20:42 +02:00
Marian Buschsieweke
3db80fa75e
Merge pull request #18130 from benpicco/suit-encrypted-key
dist/tools/suit: add support for password protected private keys
2022-05-24 18:47:35 +02:00
Leandro Lanzieri
ca85b4f5ad
drivers/st7735/kconfig: add hardware feature symbol 2022-05-24 17:45:58 +02:00
benpicco
85169fc220
Merge pull request #17937 from benpicco/nanocoap_vfs
nanocoap_vfs: add nanocoap_vfs_get()
2022-05-24 16:10:15 +02:00
Martine Lenders
a61c4b738c
Merge pull request #17547 from benpicco/gnrc_ipv6_auto_subnets-multi
gnrc/ipv6_auto_subnets: allow to join multiple subnets
2022-05-24 15:49:17 +02:00
Martine Lenders
4599c21b19
Merge pull request #18085 from benpicco/ipv6_auto_subnets-pio-flags
gnrc/ipv6_auto_subnets: only use prefixes meant for automatic address configuration
2022-05-24 14:23:53 +02:00
Martine Lenders
3d819ce707
gnrc_netif: make auto-config of compression context optional 2022-05-24 12:30:36 +02:00
Martine Lenders
4e88b7552b
gnrc_sock: warn about non-zero receive timeouts with sock_async 2022-05-24 12:29:13 +02:00
Marian Buschsieweke
dc47528dda
build system: no periph_init for periph_gpio_ll*
None of the periph_gpio_ll* features provides or requires a periph_init
hook. Hence, blacklist them for periph_init conversion.
2022-05-24 11:50:52 +02:00
benpicco
eb09fe21fd
Merge pull request #18025 from leandrolanzieri/pr/sys/random/change_kconfig_default_backend
sys/random/kconfig: remove HWRNG default in backend choice
2022-05-24 11:35:21 +02:00
benpicco
9b8f032c04
Merge pull request #17981 from maribu/gpio_ll/stm32
cpu/stm32: Implement periph/gpio_ll{,_irq} except for STM32F1
2022-05-24 11:34:53 +02:00
benpicco
874a7e1533
Merge pull request #18057 from krzysztof-cabaj/cpy2remed-new-boards
boards/nucleo-X: enable cpy2remed programmer
2022-05-24 11:34:33 +02:00
benpicco
c1b152ab39
Merge pull request #18128 from fabian18/drivers_mtd_assert_write_size_after_init
drivers/mtd: move write_size assertion after init call
2022-05-24 10:25:55 +02:00
Benjamin Valentin
5fde41e775 tests/nanocoap_cli: enable nget command 2022-05-24 09:35:04 +02:00
Benjamin Valentin
4dd971f749 sys/shell: add 'nget' shell command 2022-05-24 09:35:04 +02:00
Benjamin Valentin
87359bb70a nanocoap_vfs: add nanocoap_vfs_get() 2022-05-24 09:32:57 +02:00
Benjamin Valentin
ad7d974183 nanocoap: define default block size 2022-05-24 09:32:09 +02:00
Martine Lenders
078bced8e1
Merge pull request #16090 from maribu/gnrc_tx_sync_frag_sfr
sys/net/gnrc: add gnrc_tx_sync for gnrc_sixlowpan_frag_sfr
2022-05-24 03:38:38 +02:00
Benjamin Valentin
b3b8849f6b makefiles/suit: generate password-protected key file 2022-05-24 01:29:53 +02:00
Benjamin Valentin
4bc5505b08 tools/suit/manifest-generator: add support for loading encrypted keys 2022-05-24 01:29:53 +02:00
Benjamin Valentin
3734839b41 dist/tools/suit: generate password-protected private key 2022-05-24 01:29:53 +02:00
Martine Lenders
a5cc629fb8
Merge pull request #18127 from benpicco/gnrc/nib-no_default_router_from_wpan
gnrc/nib: don't add routers from WPAN as default router on the 6LBR
2022-05-24 00:38:43 +02:00
Benjamin Valentin
c6ba5d9180 gcoap_fileserver: use uint8_t for szx value 2022-05-23 23:43:21 +02:00
Benjamin Valentin
00221818b6 nanocoap: use uint8_t for szx value
The value is an exponent, 8 bits totally suffice here
2022-05-23 23:41:21 +02:00
benpicco
c72d4ccc0e
Merge pull request #18112 from fjmolinas/pr_vfs_rmount_mkdir
sys/shell/vfs: add umount, rmount and mkdir commands
2022-05-23 23:33:16 +02:00
benpicco
08e430bee7
Merge pull request #17956 from benpicco/coapfileserver
gcoap: Add file server
2022-05-23 22:10:49 +02:00
Marian Buschsieweke
adad17e2a9
tests/gnrc_tx_sync: spice out test application
Testing with SFR can controlled via `TEST_FRAG_SFR={0,1}`, just like
testing with 6LoWPAN was controlled via `TEST_6LO={0,1}`.
2022-05-23 20:10:26 +02:00
Fabian Hüßler
477a86022f drivers/mtd: move write_size assertion after init call 2022-05-23 19:46:46 +02:00
Martine Lenders
bbf0b3aeb7
Merge pull request #18126 from miri64/gnrc_ipv6_nib/fix/i17512
gnrc_ipv6_nib: fix inconsistent ABR valid lifetime representation
2022-05-23 17:07:00 +02:00
Benjamin Valentin
f544890056 gnrc/nib: don't add routers from WPAN as default router for 6LBR
This avoids a race condition where the default router slots for the 6LBR
are used up by router advertisements from the 6Lo network that arrived
before router advertisements from the upstream network.

The border router should ignore 'default routers' from the 6Lo network as
it consitutes the uplink for that network.
2022-05-23 16:44:58 +02:00