Michael Richardson
44cb7f1bc8
psa_crypto: shorten @brief description, (not wrappable)
2025-03-19 13:24:42 +07:00
Michael Richardson
3dccb6c58c
psa_crypto: fold some long lines
2025-03-19 13:24:42 +07:00
Detlef Justen
3c322eb1a7
sys/malloc_monitor: Fix documentation
...
In the description the compiler switch -D is missing for setting the
corresponding macro.
2025-03-19 13:24:42 +07:00
KSKNico
cccce720e3
drivers/tm1637: driver for the tm1637 7-segment display
2025-03-18 16:53:36 +01:00
mguetschow
a9508f0e56
Merge pull request #21302 from mguetschow/xiao-nrf52840-saul-led
...
boards/seeedstudio-xiao-nrf52840: configure SAUL LEDs as inverted
2025-03-18 11:38:35 +00:00
mguetschow
6dc9c18efe
Merge pull request #21301 from krzysztof-cabaj/tests_Relic_Paillier
...
tests/pkg/relic: add Paillier encryption tests
2025-03-18 08:09:22 +00:00
krzysztof-cabaj
c1ec586e1a
tests/pkg/relic: add Paillier encrypted data addition test
2025-03-17 17:06:28 +01:00
krzysztof-cabaj
326fbd6bf2
tests/pkg/relic: add Paillier encryption test
2025-03-17 17:06:28 +01:00
Mikolai Gütschow
edc0b6b7d8
boards/seeedstudio-xiao-nrf52840: configure SAUL LEDs as inverted
2025-03-17 11:43:21 +01:00
crasbe
1aa1062926
boards/feather-nrf52840*: move doc.txt to doc.md
2025-03-14 22:04:16 +01:00
crasbe
15afdcf9c7
boards/feather-nrf52840*: update documentation for common bootloader
2025-03-14 22:04:16 +01:00
crasbe
250b3bdc81
boards/feather-nrf52840*: move common files to bootloader folder
2025-03-14 22:04:16 +01:00
Marian Buschsieweke
f54d012534
Merge pull request #21225 from DeJusten/patch-2
...
sys/malloc_monitor: Fix documentation
2025-03-14 13:03:22 +00:00
Marian Buschsieweke
785faa77f7
Merge pull request #21253 from DeJusten/2025-02.thread
...
core/thread: error in thread.c corrected
2025-03-14 12:26:57 +00:00
Detlef Justen
e7e39a6fd4
sys/malloc_monitor: Fix documentation
...
In the description the compiler switch -D is missing for setting the
corresponding macro.
2025-03-14 13:15:33 +01:00
DeJusten
2eeb0f7f96
core/thread: document thread_add_to_list()
...
Adding the task to the linked list is graphically commented
2025-03-14 13:11:09 +01:00
DeJusten
a4ec8e1ebb
core/thread: fix thread_state_to_string()
...
In thread_state_to_string() it is not checked whether state is within
the valid range, so that in the event of an error an invalid memory
address is returned, which in turn leads to further invalid memory
accesses when the string is output. thread_state_to_string() is used
in particular by ps(). In the case of a corrupt thread context, which
often occurred in my case due to the stack size being too small,
thread_state_to_string() is called with an invalid status.
2025-03-14 13:11:09 +01:00
Marian Buschsieweke
f4d74ff9dd
Merge pull request #21267 from dpproto/21266-add-board-esp32c3-seeedstudio-xiao
...
Add support for Seeed Studio ESP32C3 Xiao
2025-03-14 12:09:07 +00:00
David Picard
daf854b89a
boards/seeedstudio-xiao-esp32c3: add support
...
Port the Seeed Studio Xiao ESP32C3 to RIOT.
2025-03-14 11:44:05 +01:00
DeJusten
48f8e618ca
core/thread: fix incorrect thread status after wake up
...
In thread_wakeup() the status of the function to be woken up is
incorrectly set to TASK_RUNNING. Instead the task should be set
to STATUS_PENDING here, as only sched_run() is allowed to set a
task to TASK_RUNNING.
2025-03-14 11:04:16 +01:00
DeJusten
3cbde6a2ee
core/thread: thread_create(): improve error handling
...
Return `-EINVAL` when stack is too small in addition to warn when
`ENABLE_DEBUG` is set.
2025-03-14 11:03:58 +01:00
Benjamin Valentin
87922c1b35
makefiles/stdio.inc.mk: don't count the same stdio twice
2025-03-14 00:20:34 +01:00
Marian Buschsieweke
685acb9a35
Merge pull request #21293 from MrKevinWeiss/pr/fixsplling
...
Fix spelling found by codespell
2025-03-13 13:07:53 +00:00
MrKevinWeiss
adc2549c6f
dist/tools/codespell: Ignore EMAC and joo
...
Here is the error for joo at the time of this commit
dist/tools/esptools/esptool_v3.2.py:4590: JoO ==> you
2025-03-13 14:00:44 +01:00
MrKevinWeiss
f770f72202
treewide: Fix spelling mistakes
2025-03-13 13:59:07 +01:00
benpicco
5bcddc0fbf
Merge pull request #19002 from benpicco/cpu/native-read_preempt
...
cpu/native: use async read for stdio_read()
2025-03-13 09:22:09 +00:00
Benjamin Valentin
3ce2264c3a
tests/pkg/lua_loader: disable test on native32
2025-03-13 09:58:48 +01:00
Benjamin Valentin
7a5cd93bf7
sys/net/telnet: align API with stdio API
2025-03-13 09:58:48 +01:00
Benjamin Valentin
4889bb57d9
cpu/native: port stdio to new interface
2025-03-13 00:50:46 +01:00
benpicco
e3e6992fde
Merge pull request #21290 from crasbe/pr/fix_uwb_markdown
...
pkg/uwb-dw1000: Move `doc.txt` to `doc.md`, use the correct include type
2025-03-12 23:29:54 +00:00
Benjamin Valentin
7c3637a62d
tests/shell: drop test that only ever worked on native
...
It's no longer working on native, but native behaves more like a
real board now.
2025-03-13 00:24:09 +01:00
Benjamin Valentin
4232eb35ae
cpu/native: async_read: make sure not to close stdin on reboot
2025-03-13 00:24:09 +01:00
Benjamin Valentin
333e1ea97d
cpu/native: bump ASYNC_READ_NUMOF
2025-03-13 00:24:07 +01:00
Benjamin Valentin
bfe42ad20a
cpu/native: use async read for stdio_read()
...
The real_read() function will block the thread but won't preempt it.
That means all other thereads on the same (or higher) priority level
are blocked as RIOT still consideres the thread that called stdio_read()
as running.
Use async_read/isrpipe to properly block the thread when reading from
stdin.
2025-03-13 00:23:40 +01:00
crasbe
b14140aab9
pkg/uwb-dw1000: move doc.txt to doc.md, fix Markdown include
2025-03-12 23:14:01 +01:00
benpicco
a042d66e68
Merge pull request #21283 from carl-tud/native-gardening
...
cpu/native: Gardening/QoL
2025-03-12 17:54:07 +00:00
Marian Buschsieweke
0bf5c8fc77
Merge pull request #21287 from maribu/cpu/samd5x/can-enable-pin
...
cpu/samd5x: add enable pin to CAN configuration
2025-03-12 17:44:34 +00:00
Marian Buschsieweke
571a87358d
cpu/samd5x/periph_can: fix use of format specifiers
...
Use correct format specifiers to make clangd happy.
2025-03-12 16:05:41 +01:00
Marian Buschsieweke
a9ff36d68e
tests/drivers/candev: Drop SAME54-XPRO hack
...
Now that power management of the CAN transceiver is done by the driver,
we do no longer need a per-board hack in the app.
2025-03-12 16:05:40 +01:00
Marian Buschsieweke
785e2909c4
boards/same54-xpro: enable CAN transceiver config
...
This adds the CAN transceiver configuration to the CAN config for
automatic power management.
Co-authored-by: benpicco <benpicco@googlemail.com>
2025-03-12 16:05:23 +01:00
Marian Buschsieweke
66c488bb2e
Merge pull request #21155 from maribu/sys/net/nanocoap/coap_build_reply
...
sys/net/nanocoap: improve `coap_build_reply()`
2025-03-12 14:44:29 +00:00
crasbe
05eda72e96
cpu/stm32{f0,g0,c0}: fix ADC initialization sequence
2025-03-12 13:49:45 +01:00
crasbe
768989ca6f
cpu/stm32{f3,l4,wb,wl}: replace ztimer w/ busy_wait for uncrit. delay
2025-03-12 13:20:33 +01:00
Marian Buschsieweke
ea5df2ef7e
Merge pull request #20980 from mguetschow/board-xiao-nrf52840
...
boards/seeedstudio-xiao-nrf52840: initial board support
2025-03-12 11:52:50 +00:00
Mikolai Gütschow
a0678a7a55
boards/seeedstudio-xiao-nrf52840: Arduino pin map
2025-03-12 12:39:56 +01:00
Mikolai Gütschow
7c768131e0
boards/seeedstudio-xiao-nrf52840: initial board support
2025-03-12 12:39:53 +01:00
Marian Buschsieweke
da0218323b
sys/net/nanocoap: improve coap_build_reply
...
- The responsibility for handling matching CoAP No-Response Options
has been split:
- `coap_build_reply()` only needs to report this and return
`-ECANCLED`
- `coap_handle_req()` does generate the empty ACK is needed.
==> As a result, writing CoAP request handlers correctly becomes a
lost easier. Correct error handling to be present is now
sufficient for correct handling of No-Response options.
==> This change is backward compatible with existing code.
- The API doc has been cleaned up and straightened
Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-03-12 08:56:20 +01:00
Marian Buschsieweke
05289a7d1f
sys/include/net/coap.h: Add COAP_PAYLOAD_MARKER_SIZE
...
Using a constant is easier than explaining where the magic 1 came from
in size estimations.
2025-03-12 08:33:58 +01:00
Marian Buschsieweke
1c8beb6f44
Merge pull request #21248 from mguetschow/tests-suit-flashpage
...
tests/sys/suit_manifest: remove unnecessary custom native board
2025-03-11 20:45:54 +00:00
Marian Buschsieweke
d9ab9585d9
cpu/samd5x: add enable pin to CAN configuration
...
This extends the `can_conf_t` CAN configuration to allow power
management of the CAN transceiver to be done by the CAN driver.
2025-03-11 21:17:05 +01:00