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

46797 Commits

Author SHA1 Message Date
Marian Buschsieweke
fbf5c66f78
Merge pull request #20983 from benpicco/gnrc_netif_netdev_new_api-leak
gnrc_netif: fix packet leak with gnrc_netif_pktq & netdev_new_api
2024-11-15 22:46:54 +00:00
Marian Buschsieweke
d2c52746b3
Merge pull request #20990 from mguetschow/tests-cpu-mpu
tests/cpu/mpu*: exclude boards using highlevel_stdio
2024-11-15 22:46:50 +00:00
Marian Buschsieweke
cfd313cd03
Merge pull request #20988 from mguetschow/tests-shell-skip-reboot
tests/sys/shell: skip reboot for boards using highlevel_stdio
2024-11-15 22:46:45 +00:00
Marian Buschsieweke
1bb3745376
Merge pull request #20413 from bergzand/pr/asking_for_help
README: Rephrase forum into more generic help
2024-11-15 22:46:40 +00:00
JulianHolzwarth
1ed2f36cd5 tests/cond_order/main.c: testing without waiting threads 2024-11-15 21:13:33 +01:00
Benjamin Valentin
300a936e42 gnrc: add comment about gnrc_pktbuf_hold() use 2024-11-15 16:59:08 +01:00
Benjamin Valentin
e8b3b4d3e4 gnrc_pktbuf: assert that user count does not exceed 255 2024-11-15 16:41:42 +01:00
Benjamin Valentin
08fc52b53a cpu/sam0_common: eth: collision should return -EBUSY 2024-11-15 14:18:58 +01:00
Benjamin Valentin
dbd52079e1 drivers/netdev: revise return values of .confirm_send() 2024-11-15 14:18:58 +01:00
Benjamin Valentin
8e915babc1 sys/test_utils: hide legacy events behind netdev_legacy_api 2024-11-15 14:09:18 +01:00
Benjamin Valentin
140c3afbcc drivers/at86rf215: don't use netdev events internally 2024-11-15 14:08:44 +01:00
c324ddfa83
README: 📝 Rephrase forum into more generic help 2024-11-15 10:22:24 +01:00
Marian Buschsieweke
a89c924682
cpu/sam0_common/periph_adc: add work around for errata 2.1.6
This adds a delay between enabling the ADC and starting to sample
on the SAMD5x MCUs when the internal bandgap reference is used.

Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-11-14 22:44:23 +01:00
Benjamin Valentin
db2f3bd3dd sys/net/gnrc/pkt: use uint8_t for user count
It's very unlikely that a pkt snip will have more than 255 users.
Use a uint8_t here to save 4 bytes per snip as this now fits into
the ununsed struct padding.
2024-11-14 18:48:55 +01:00
Benjamin Valentin
62eb2935c8 drivers/at86rf215 drop get for NETOPT_TX_END_IRQ
This is always true with netdev_new_api
2024-11-14 17:39:23 +01:00
Benjamin Valentin
f82c41e96f gnrc_netif: netdev_new_api implies TX end irq, no need to check it 2024-11-14 17:11:58 +01:00
Benjamin Valentin
fbd1ffe2f1 drivers/netdev: hide legacy events behind netdev_legacy_api 2024-11-14 17:11:28 +01:00
Mikolai Gütschow
af5e3d142d
tests/cpu/mpu*: exclude boards using highlevel_stdio 2024-11-14 14:45:30 +01:00
Mikolai Gütschow
1fece9008e
tests/sys/shell: skip reboot for boards using highlevel_stdio 2024-11-14 14:40:54 +01:00
benpicco
77c4a24bcf
Merge pull request #20938 from derMihai/mir/fix_runqueue_pop
core/sched.c: fix _runqueue_pop() removing wrong thread
2024-11-14 12:05:45 +00:00
Benjamin Valentin
1629a6aa41 drivers/at86rf215: properly implement netdev_new 2024-11-14 11:57:58 +01:00
Benjamin Valentin
8eef1c1170 sys/net/gnrc/netif: don't release snip with netdev_new_api 2024-11-14 11:57:58 +01:00
Mihai Renea
ba71ba72a3 core/sched.c: fix _runqueue_pop() removing wrong thread 2024-11-14 11:05:40 +01:00
Marian Buschsieweke
51d1ebe64a
Merge pull request #20967 from maribu/tests/no-sync-control
tests: no default interactive sync for native
2024-11-14 08:06:48 +00:00
benpicco
70aa1ec81f
Merge pull request #20986 from mguetschow/stdio-cdc-acm-miss
sys/usb_cdc_acm_stdio: only submit and flush for non-empty buffer
2024-11-14 06:13:32 +00:00
Mikolai Gütschow
67edd6c417
sys/usb_cdc_acm_stdio: only submit and flush for non-empty buffer 2024-11-13 20:08:34 +01:00
Marian Buschsieweke
fe621438dd
Merge pull request #20985 from benpicco/picolibc-endian.h
sys/endian: fix build with picolibc
2024-11-13 17:29:37 +00:00
Teufelchen
03b6122ada
Merge pull request #20957 from AnnsAnns/examples/readme
Examples: Add proper Table of Contents
2024-11-13 16:59:04 +00:00
Benjamin Valentin
3e8c7d0861 sys/endian: fix build with picolibc 2024-11-13 16:01:34 +01:00
AnnsAnn
6f19763ccb examples/readme: Add subfolders example to categories 2024-11-13 15:02:26 +01:00
Benjamin Valentin
b9b8c4a68f gnrc_netif: fix packet leak with gnrc_netif_pktq & netdev_new_api 2024-11-13 13:40:13 +01:00
Marian Buschsieweke
562f1f0210
tests: always use interactive sync for timing tests
Use `test_utils_interactive_sync` for the following tests explicitly:

- tests/periph/timer_periodic
- tests/sys/posix_sleep

This is needed for accurate timestamping of the stdio received. The
tests will not pass without on `native` / `native64`.
2024-11-13 12:37:37 +01:00
Marian Buschsieweke
2623762c16
Merge pull request #20977 from maribu/net/grnc/tcp/select-netif
sys/net/gnrc/tcp: fix gnrc_tcp_open() netif handling
2024-11-13 05:31:00 +00:00
Marian Buschsieweke
b9ba3ee0b2
Merge pull request #20964 from maribu/tests/rust_libs/improve-test-robustness
sys/shell: cmds_json builtin command
2024-11-13 05:30:13 +00:00
Marian Buschsieweke
5f661f424a
Merge pull request #20930 from moritzholzer/feature/wakaama_update
Feature/wakaama update on new version
2024-11-12 22:33:06 +00:00
AnnsAnn
cd076d431b examples/readme: switch to tableformat
examples: Remove whitespace to fix CI
2024-11-12 16:38:21 +01:00
AnnsAnn
83e93a5b73 ci: Add tests for examples folder
examples/readme: add missing entries

examples: document examples with no readme
2024-11-12 16:35:26 +01:00
AnnsAnn
10b63585ea examples/readme: Improve clarity and adjust categories
examples/readme: fix SAUL spelling mistake

examples/readme: Link to README.md instead of folder

examples/readme: increase title size

examples/readme: make networking category name a bit clearer

examples/readme: move nimble to own category within BLE

examples/readme: move dtls to own category

examples/readme: move heart rate sensor to nimble category

examples/readme: move arduino sketch to languages

examples/timer_periodic: fix file name issue

examples/readme: change level wording about nanocoap
2024-11-12 16:18:49 +01:00
AnnsAnn
237b71528c examples: Create a proper Table of Content
examples: ToC about all examples

examples: Fix whiteline issues

examples: Improve wording of Rust example

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>

examples: Reduce redundant wording

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>

examples: remove mention of repository

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>

examples: Improve wording of coap example text

Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>
2024-11-12 16:17:03 +01:00
Marian Buschsieweke
e714707b14
sys/net/gnrc/tcp: fix gnrc_tcp_open() netif handling
gnrc_tcp_open() previously would eventually fail with a timeout without
sending any data when no netif was specified and a link-local target
address was used. This fixes the behavior:

- If there is only one netif, we just pick that
- If there are multiple netifs, fail directly with `-EINVAL` rather than
  sending out nothing and waiting for a timeout.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-11-12 15:44:41 +01:00
mguetschow
ec9afd28eb
Merge pull request #20972 from IsikcanYilmaz/pr/esp32_usb_serial_jtag_isr_flag_reset
cpu/esp32/stdio_usb_serial_jtag: Fix to ESP32 stdio usb serial hanging if it receives data too quickly
2024-11-12 08:45:34 +00:00
Marian Buschsieweke
15086a2f55
Merge pull request #20024 from mguetschow/makefile-subfolders
Build system: support for application subfolders
2024-11-12 08:05:47 +00:00
Moritz Holzer
97acd2e562 examples/lwm2m: changes on example application 2024-11-12 08:47:13 +01:00
benpicco
1976e68177
Merge pull request #16739 from benpicco/examples/tcp_echo
examples: add TCP echo server & client from documentation
2024-11-12 05:28:07 +00:00
Benjamin Valentin
f2d5a4cad9 examples/sock_tcp_echo: add TCP echo client / server 2024-11-12 00:22:38 +01:00
benpicco
d141c170ba
Merge pull request #20975 from benpicco/drivers/slipdev-tx_done
drivers/slipdev: implement NETDEV_EVENT_TX_COMPLETE event
2024-11-11 23:11:30 +00:00
Marian Buschsieweke
0d4256fb06
Merge pull request #20976 from benpicco/gnrc_netif-double-free
gnrc_netif: fix double free with netdev_new_api & gnrc_netif_pktq
2024-11-11 22:43:11 +00:00
Marian Buschsieweke
b60534796a
tests/rust_libs: use shell_builtin_cmd_help_json
This increases the robustness of the test by not relying on the
order shell commands are printed in. At least for XFA based shell
commands, there is no guarantee in which order they will be shown in
the help.
2024-11-11 22:05:08 +01:00
Marian Buschsieweke
f0a88dcf56
sys/shell: add help_json builtin command
This command does the same as `help`, but provides a machine readable
JSON rather than a human readable table. It is only provided when the
(pseudo-)module `shell_builtin_cmd_help_json` is used.
2024-11-11 22:05:04 +01:00
Benjamin Valentin
0bed0c6bfe gnrc_netif: fix double free with netdev_new_api & gnrc_netif_pktq 2024-11-11 20:30:30 +01:00