Benjamin Valentin
5986d8f371
sys/dns: select appropriate address family if AF_UNSPEC
2022-12-07 22:26:51 +01:00
Marian Buschsieweke
eea954cc22
Merge pull request #18995 from kfessel/p-cleanup-pufsram
...
sys/puf_sram: cleanup header
2022-12-07 20:39:17 +01:00
Juergen Fitschen
71a606a1db
Merge pull request #17607 from jue89/feature/ztimer-ondemand
...
ztimer: add ztimer_ondemand module for implicit power management
2022-12-06 18:30:16 +01:00
Karl Fessel
4753ae382c
sys/puf_sram: cleanup header
2022-12-05 16:13:21 +01:00
Gunar Schorcht
1d9e2cc4f6
sys/riotboot: use BTN0_MODE for default value of BTN_BOOTLOADER_INVERTED
2022-11-30 19:28:14 +01:00
benpicco
e18bc193fc
Merge pull request #18551 from benpicco/suit_worker_cleanup
...
suit: start worker thread on demand, make suit_handle_url() public
2022-11-30 11:42:25 +01:00
benpicco
388f9a2015
Merge pull request #18887 from kfessel/p-clean-header-kerneldef
...
sys/include: remove kernel_defines.h where not needed
2022-11-29 10:14:52 +01:00
benpicco
1a73fb0593
Merge pull request #18795 from benpicco/irq-track
...
debug_irq_disable: add module to debug time spent in irq_disable
2022-11-25 19:10:10 +01:00
Benjamin Valentin
59a3e613fe
cpu/cortexm_common: measure time spent with IRQ disabled
2022-11-24 21:27:20 +01:00
Benjamin Valentin
8145c42955
debug_irq_disable: add module to debug time spent in irq_disable
2022-11-24 21:27:20 +01:00
Juergen Fitschen
d9cde14669
treewide: fix typos found by recent codespell
2022-11-24 14:53:48 +01:00
benpicco
e6284ec244
Merge pull request #18816 from benpicco/nanocoap_handle_req-ctx
...
nanocoap: add request context to coap_handle_req()
2022-11-23 20:36:50 +01:00
Karl Fessel
af8589059e
sys/includes: replace kernel_defines.h
2022-11-22 13:39:35 +01:00
Karl Fessel
dd9c3ba362
includes/net: replace "kernel_defines.h"
2022-11-22 13:39:35 +01:00
Karl Fessel
b70d6c7fd7
gnrc/include: replace kernel_defines.h
2022-11-22 13:39:35 +01:00
Karl Fessel
768451bf09
sys/include: remove kernel_defines.h where not needed
2022-11-22 13:39:35 +01:00
Benjamin Valentin
8a11ca2f87
nanocoap: don't hide coap_request_ctx_t content
2022-11-22 10:41:32 +01:00
Jue
2b53f35a28
ztimer: warn users when calling ztimer_now() on inactive clocks
2022-11-22 00:25:34 +01:00
Juergen Fitschen
88a9f4b8f9
ztimer: add on_demand_strict
...
Enforce ztimer_clock_t to be active (i.e. clock->users > 0) before ztimer_now() can be called.
2022-11-22 00:25:34 +01:00
Juergen Fitschen
90b2f3158c
ztimer/convert: pass-thru start/stop ops to lower timer
2022-11-22 00:25:34 +01:00
Jue
4013dff1fd
ztimer: acquire and release clock for running timers
2022-11-22 00:25:34 +01:00
Jue
a228ca7548
ztimer: introduce ztimer_acquire() and ztimer_release()
2022-11-22 00:25:34 +01:00
Martine Lenders
2a0dad0982
Merge pull request #18936 from benpicco/RIOT_FILE_RELATIVE-purge
...
treewide: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 19:37:30 +01:00
3cd9f0d8fb
Merge pull request #18918 from benpicco/print_bytes_hex
...
sys/fmt: add print_bytes_hex()
2022-11-19 09:35:26 +01:00
Benjamin Valentin
74a8911597
sys/embUnit: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Benjamin Valentin
7bc115e326
sys/test_utils: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Marian Buschsieweke
e92a7164e3
sys/hash/pbkdf2: Accept passwd as void *
instead of uint8_t *
...
Having to cast a password provided as `const char *` to
`const uint8_t *` is a needless pain in the ass when using the API.
Hence, fix it by accepting passwords and salts as `const void *`
instead.
2022-11-18 13:51:32 +01:00
Benjamin Valentin
95e654f232
sys/fmt: add print_bytes_hex()
2022-11-15 22:05:42 +01:00
benpicco
e710b6f07c
Merge pull request #18854 from benpicco/gnrc_sock_udp-_remote_mismatch
...
gnrc_sock_udp: accept response from any address if remote is multicast
2022-11-15 20:33:58 +01:00
Benjamin Valentin
2b92e9ec59
gnrc_sock_udp: accept response from any address if remote is multicast
2022-11-15 11:26:31 +01:00
Marian Buschsieweke
bec46c55bd
Merge pull request #18879 from benpicco/bf_popcnt
...
sys/bitfield: add bf_popcnt()
2022-11-11 11:35:14 +01:00
Benjamin Valentin
4dd0594d09
sys/bitfield: add bf_popcnt()
2022-11-10 23:44:50 +01:00
Marian Buschsieweke
0d5bde0ce2
sys/net/gnrc/pkt: fix gnrc_pkt_delete()
...
The previous implementation used creative construct for impedance
mismatching between the core list API (which returns a ptr to the
removed element if found) and the GNRC pkt list API (which returns a
ptr to the new list head) that creates a temporary list head on the
stack.
I'm not entirely sure if the previous implementation is containing
undefined behavior that is used against us with GCC >= 12.x, or if this
is a compiler bug. In either case, not reusing the core list API here
and just having a textbook linked list delete function here is not much
less readable and fixes the issue for our users.
2022-11-10 17:25:34 +01:00
Karl Fessel
c354ab6285
Merge pull request #18846 from kfessel/p-pm-layerd-speedup1
...
sys/pm_layered: align pm_blocker_t for speed
2022-11-08 10:50:16 +01:00
benpicco
f8964c0149
Merge pull request #18827 from benpicco/nanocoap_block-fix
...
nanocoap_sock: don't store entire sock in coap_block_request_t
2022-11-08 10:49:39 +01:00
Marian Buschsieweke
7e0af3cd22
Merge pull request #18833 from benpicco/bitfield-ops
...
sys/bitfield: add bf_find_first_{set, unset}()
2022-11-07 20:27:48 +01:00
Karl Fessel
21973963c0
sys/pm_layered: align pm_blocker_t for speed
2022-11-04 16:50:52 +01:00
Benjamin Valentin
60ab2dbc95
sys/bitfield: add bf_set_all()
2022-11-04 16:48:48 +01:00
Jue
904dc0131f
ztimer: don't interact with pm_layered if ztimer_ondemand is used
2022-11-02 22:36:54 +01:00
Juergen Fitschen
84c89f9dd7
Merge pull request #18783 from jue89/fix/ztimer_lptimer_kconfig
...
sys/ztimer: model ztimer_periph_lptimer for Kconfig
2022-11-02 13:56:05 +01:00
Benjamin Valentin
8da267de72
sys/bitfield: add bf_find_first_{set, unset}()
...
At functions to get the first (un)set bit in a bitfield.
2022-11-02 13:06:06 +01:00
Benjamin Valentin
63c9dde3a4
nanocoap_sock: don't store entire sock in coap_block_request_t
2022-11-01 00:17:11 +01:00
Benjamin Valentin
55e13a9d61
nanocoap: add coap_request_ctx_init()
2022-10-28 15:24:23 +02:00
Benjamin Valentin
c6f9654461
nanocoap: request context to coap_handle_req()
2022-10-28 14:21:52 +02:00
Jue
159749e1f0
sys/ztimer: add defaults for ztimer_periph_lptimer
2022-10-27 19:44:57 +02:00
Martine Lenders
7b28794ee6
gnrc_udp: use small stack-size
2022-10-27 17:28:01 +02:00
Martine Lenders
9ae66beedf
Merge pull request #16156 from miri64/gnrc_sixlowpan_frag_sfr/feat/congure
...
gnrc_sixlowpan_frag_sfr: provide CongURE support
2022-10-27 15:01:07 +02:00
Martine Lenders
d485598b3a
Merge pull request #18744 from Teufelchen1/fix/clif_0
...
sys/clif: Fixing out of bounds read under certain conditions
2022-10-26 23:38:43 +02:00
Teufelchen1
499b635ae9
sys/clif: Fixing out of bounds read under certain conditions
2022-10-26 13:44:01 +02:00
Martine Lenders
b92e90f7b5
gnrc_sixlowpan_frag_sfr: make ARQ timer mockable
2022-10-25 18:38:37 +02:00