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
benpicco
0d64cc2fa5
Merge pull request #19006 from gschorcht/pkg/tinyusb_board_reset
...
pkg/tinyusb: add usb_board_reset support
2022-12-06 17:16:18 +01:00
benpicco
b0da17b4ef
Merge pull request #19007 from gschorcht/pkg/tinyusb_stdio_kconfig
...
pkg/tinyusb: add Kconfig support for stdio_tinyusb_cdc_acm
2022-12-06 17:16:09 +01:00
Karl Fessel
4753ae382c
sys/puf_sram: cleanup header
2022-12-05 16:13:21 +01:00
Teufelchen1
cc6327bf1b
sys/uri_parser: fixing potential out of bounds read when consuming ports
2022-12-05 15:41:33 +01:00
Gunar Schorcht
d390b6c7f6
sys/usb_board_reset: add stdio_tinyusb_cdc_acm support
2022-12-04 16:56:19 +01:00
Gunar Schorcht
93215df868
sys/usb/usbus: enable USBUS stdio_cdc_acm only if tinyUSB is not used
2022-12-03 12:52:45 +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
Gunar Schorcht
09e94b3e15
sys/usb/usbus/dfu: check min sector size for STM32 F2/F4/F7
...
STM32F2/4/7 MCUs use sectors instead of pages, where the minimum sector size is defined by FLASHPAGE_MIN_SECTOR_SIZE, which is 16KB or 32KB (the first sector) depending on the CPU_MODEL. In this case SLOT0_OFFSET must be a multiple of the minimum sector size to cover a whole sector.
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
Marian Buschsieweke
747ee9d56f
sys/net/grnc/netreg: avoid freeing wild pointers
...
When freeing any stale pktsnips from stale messages in the mbox, make
sure that the messages actually contains a pktsnip before freeing.
2022-11-22 17:57:44 +01:00
Karl Fessel
d301de4365
shell/cmds: add missing includes for ARRAY_SIZE
2022-11-22 13:39:35 +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
Jue
96b7988511
ztimer/periodic: acquire resp. release used ztimer clock
2022-11-22 00:25:34 +01:00
Jue
bf5dd34deb
ztimer/overhead: acquire and release clocks
...
The start/stop overhead that might by introduced by ztimer_acquire() and ztimer_release() called during ztimer_set() resp. ztimer_handler() should not be mesured here. It has its own adjustment field.
Furthermore, the overhead mesaurement uses ztimer_now(). It is allowed to called it only after the clock has been acquired.
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
a1ee7a5e05
ztimer/periph_rtt: add start() and stop() ops
2022-11-22 00:25:34 +01:00
Juergen Fitschen
d22e078118
ztimer/periph_rtc: add start() and stop() ops
2022-11-22 00:25:34 +01:00
Jue
5818e5e452
ztimer/periph_timer: add start() and stop() ops
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
9fbb4d3391
ztimer/convert: only extend the clocks if ztimer_ondemand isn't used
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
Martine Lenders
3e689237a0
Merge pull request #18931 from benpicco/ping6-purge
...
sys/shell: drop ping6 alias
2022-11-19 14:51:14 +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
7e91d91cea
gnrc_tcp: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +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
b5339c61ce
sys/shell: drop ping6 alias
...
We don't need two names for the same command, ping is enough.
2022-11-18 12:54:12 +01:00
Marian Buschsieweke
f60141a5be
Merge pull request #18917 from maribu/sys/test_utils/print_stack_usage
...
sys/print_stack_usage: update MIN_SIZE
2022-11-17 13:45:08 +01:00
Marian Buschsieweke
095217516e
Merge pull request #18912 from maribu/sys/malloc_tracing
...
sys/malloc_tracing: add module to trace dyn memory management
2022-11-17 13:36:47 +01:00
Benjamin Valentin
95e654f232
sys/fmt: add print_bytes_hex()
2022-11-15 22:05:42 +01:00
Marian Buschsieweke
5b86848d77
sys/print_stack_usage: update MIN_SIZE
...
Since fmt no longer has a significant advantage in stack consumption,
we need to bump the `MIN_SIZE` guard that prevents causing stack
overflows due to the printing of the stack consumption.
2022-11-15 21:41:58 +01:00
Benjamin Valentin
442644ba93
gnrc_sock_udp: style fix in sock_udp_recv_buf_aux()
2022-11-15 20:35:20 +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