krzysztof-cabaj
633743240d
boards/nucleo-l4r5zi: add doxygen info about Vbat divider
2022-11-26 17:30:47 -05:00
f1a8e1f636
Merge pull request #18970 from maribu/cpu/nrf5x_common/periph_timer/fix_spurious_irqs
...
cpu/nrf5x_common/periph_timer: fix spurious IRQs
2022-11-25 08:23:34 +01:00
Marian Buschsieweke
c89c75dbc9
Merge pull request #18971 from maribu/cpu/esp
...
cpu/esp{32,8266}/periph_timer: allow changing callback or freq
2022-11-25 08:22:26 +01:00
Marian Buschsieweke
cf93e9e0e3
Merge pull request #18969 from maribu/cpu/stm32/periph_timer/fix_spurious_irqs
...
cpu/stm32/periph_timer: fix spurious IRQs and race conditions
2022-11-25 08:11:37 +01:00
Marian Buschsieweke
03b7fe8f0c
cpu/esp8266/periph_timer: allow changing callback or freq
...
Allow multiple calls to timer_init(), as this is the only way to
change the timer frequency or the callback function.
2022-11-24 22:39:49 +01:00
Marian Buschsieweke
e8fd65566a
cpu/esp32/periph_timer: allow changing callback or freq
...
Allow multiple calls to timer_init(), as this is the only way to
change the timer frequency or the callback function.
2022-11-24 22:38:15 +01:00
Marian Buschsieweke
fbd7b77331
cpu/nrf5x_common/periph_timer: fix spurious IRQs
2022-11-24 22:36:42 +01:00
Marian Buschsieweke
20fc71dd65
cpu/stm32/periph_timer: fix spurious IRQs
2022-11-24 22:34:10 +01:00
Marian Buschsieweke
93c5755649
cpu/stm32/periph_timer: fix race conditions
...
Allow two threads to share the same timer - provided they use distinct
sets of timer channels - without occasionally corrupting registers or
state flags.
2022-11-24 22:34:03 +01:00
Marian Buschsieweke
26d5b7ca0b
Merge pull request #18839 from chrysn-pull-requests/rust-use-stable
...
rust: Use stable Rust
2022-11-24 20:41:51 +01:00
Juergen Fitschen
6aa00b84a1
Merge pull request #18966 from jue89/fix/typos
...
treewide: fix typos found by recent codespell
2022-11-24 16:21:44 +01:00
Juergen Fitschen
d9cde14669
treewide: fix typos found by recent codespell
2022-11-24 14:53:48 +01:00
Marian Buschsieweke
020c6ff69c
Merge pull request #18954 from jue89/fix/nrf5x-uart-lowpower
...
cpu/nrf5x/uart: run STOPTX task after finished tx
2022-11-24 14:20:58 +01:00
Juergen Fitschen
a6ff838a4b
Merge pull request #18933 from jue89/feature/cpu_efm32_series_2_adc
...
cpu/efm32: add periph_adc support for Gecko Series 2
2022-11-24 11:32:56 +01:00
chrysn
75836268e6
doc/rust: Nightly is not needed any more
2022-11-24 11:07:45 +01:00
chrysn
05b4749ae7
rust: Run all examples on stable
...
This is possible starting with Rust 1.65.
2022-11-24 11:07:45 +01:00
Marian Buschsieweke
778f566210
Merge pull request #18958 from benpicco/boards/pwm-style
...
boards/sam*-xpro: fix style of PWM config
2022-11-24 07:32:40 +01:00
benpicco
ab342d02a2
Merge pull request #17870 from HendrikVE/pr/examples/gcoap/replace_by_sock_udp_name2ep
...
examples/gcoap: replace _parse_endpoint by sock_udp_name2ep
2022-11-23 20:37:30 +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
benpicco
86d72c7b85
Merge pull request #18940 from krzysztof-cabaj/nucleo-l496zg-ADC
...
boards/nucleo-l496zg: add ADC support
2022-11-23 20:34:08 +01:00
Marian Buschsieweke
74bafdf840
Merge pull request #18951 from maribu/sys/net/gnrc/netapi/fix-wild-pointer-freeing
...
sys/net/grnc/netreg: avoid freeing wild pointers
2022-11-23 18:59:33 +01:00
Marian Buschsieweke
cefef8fd1e
Merge pull request #18953 from jue89/fix/nrf5x-timer-lowpower
...
cpu/nrf5x/timer: fix high current consumption in powered off state
2022-11-23 17:03:33 +01:00
a87a066762
Merge pull request #18952 from maribu/tests/pkg_utensor
...
tests/pkg_utensor: increase main threads stack size
2022-11-23 14:54:34 +01:00
Benjamin Valentin
07b3ccbc6a
boards/samd21-xpro: fix style of PWM config
2022-11-23 14:06:30 +01:00
Benjamin Valentin
90b0607f18
boards/same54-xpro: fix style of PWM config
2022-11-23 13:53:46 +01:00
Benjamin Valentin
58e37a7c58
boards/saml21-xpro: fix style of PWM config
2022-11-23 13:53:32 +01:00
Benjamin Valentin
f878f11193
boards/samr21-xpro: fix style of PWM config
2022-11-23 13:53:14 +01:00
ad5f02d119
Merge pull request #18955 from maribu/core/mbox/fix-race
...
core/mbox: fix race condition
2022-11-23 13:09:13 +01:00
Marian Buschsieweke
232c70ba53
Merge pull request #18948 from maribu/boards/common/nrf52
...
boards/common/nrf52: fix timer config
2022-11-23 10:47:26 +01:00
Marian Buschsieweke
42b9334784
core/mbox: fix race condition
...
The mbox code contains a race condition in `mbox_put()`: When it
waits for a slot in the queue to become available, it is woken up with
IRQs enabled. It disables IRQs again as first thing, but by then
another thread may already have preempted the running thread and filled
the queue back up. In this case, a message in the queue would be
silently overwritten.
2022-11-22 22:35:13 +01:00
Jue
3da1faca90
cpu/nrf5x/uart: run STOPTX task after finished tx
...
This reduces power consumption for UARTs that are configured in tx-only mode.
2022-11-22 21:33:14 +01:00
Jue
a7e2182bb0
cpu/nrf5x/timer: run task SHUTDOWN instead of STOP
...
This is a workaround for errata 78 that causes increased current consumption even in the stopped state.
2022-11-22 19:15:31 +01:00
Marian Buschsieweke
22f882d335
tests/pkg_utensor: increase main threads stack size
...
The MPU based stack guard is very unpleased by the stack overflow
happening during the test. The increase in stack size makes the MPU
stack guard happy again.
2022-11-22 18:55:19 +01:00
Juergen Fitschen
97bc8252d9
Merge pull request #18920 from jue89/fix/sam0_rtt_rtc
...
sam0/rtc_rtt: optimizations to get around the painful long syncwaits
2022-11-22 18:12:06 +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
Juergen Fitschen
ab86198112
boards/xg23-pk6068a: add ADC lines
2022-11-22 14:44:56 +01:00
Juergen Fitschen
18e9167c73
cpu/efm32/adc: add support for Gecko Series 2
...
Series 2 features IADCs instead of ADCs.
2022-11-22 14:44:56 +01:00
Juergen Fitschen
35a84d29b2
Merge pull request #18946 from jue89/feature/efm32-uart-mode
...
cpu/efm32: add periph_uart_modecfg support for Gecko Series 2
2022-11-22 14:40:48 +01:00
Marian Buschsieweke
b533fcf543
cpu/nrf5x_common: improve doc on timer_conf_t::channels
2022-11-22 13:43:05 +01:00
Marian Buschsieweke
51b6379dee
boards/common/nrf52: fix timer config
...
The `channels` member should not be set to the number of hardware
channels *n*, but to *n* - 1 instead. The last channel is implicitly
used in `timer_read()`. Hence out of *n* hardware channels, only *n* - 1
are available to the application.
This fixes a bug introduced by 4d02e15247
which incorrectly set the channel number to *n* rather than to
*n* - 1.
2022-11-22 13:20:53 +01:00
benpicco
0621150bf0
Merge pull request #18884 from kfessel/p-macro-maybe-unused
...
core/lib: define MAYBE_UNUSED
2022-11-22 12:54:36 +01:00
benpicco
2be0276cd3
Merge pull request #18943 from maribu/tests/pbkdf2
...
tests/pbkdf2: remove unused #include
2022-11-22 12:53:52 +01:00
Benjamin Valentin
8a11ca2f87
nanocoap: don't hide coap_request_ctx_t content
2022-11-22 10:41:32 +01:00
Benjamin Valentin
fd42f72b20
tests/nanocoap_cli: provide coap_request_ctx_t
2022-11-22 10:41:32 +01:00
Marian Buschsieweke
54b0100c44
Merge pull request #18945 from dylad/pr/vscode_import_riot_styles
...
.vscode: import initial RIOT-OS style
2022-11-22 07:02:33 +01:00
Jue
2a81a2ab5c
cpu/efm32: provide periph_uart_modecfg feature for every board
2022-11-21 23:20:19 +01:00
Jue
80b491d7dd
cpu/efm32/uart: add modecfg support for Gecko Series 2
2022-11-21 23:17:52 +01:00
Dylan Laduranty
d99885496b
.vscode/settings.json: import initial RIOT-OS style
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-11-21 21:31:12 +01:00
Dylan Laduranty
069ad929c2
.gitignore: ignore all files within .vscode/ except user's settings
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-11-21 21:30:28 +01:00
Marian Buschsieweke
b1da8168b5
tests/pbkdf2: remove unused #include
2022-11-21 16:42:00 +01:00