Benjamin Valentin
9d22e46fa9
test/net/nanocoap_cli: fix buffer size for get_non
2024-11-22 19:50:20 +01:00
Benjamin Valentin
2a6b8a3fed
gnrc_netif: use different error messages for can't queue packet
2024-11-22 19:50:20 +01:00
Benjamin Valentin
a379658fa1
drivers/at86rf215: tx_frame_len is already set by at86rf215_tx_load()
2024-11-22 19:50:12 +01:00
Benjamin Valentin
ef639df76f
drivers/at86rf215: return ENETDOWN when interface is down
2024-11-22 19:44:12 +01:00
Marian Buschsieweke
8179312d06
Merge pull request #20978 from benpicco/drivers/slipdev-netdev_new
...
drivers/slipdev: port to netdev_new_api
2024-11-21 09:55:19 +00:00
Marian Buschsieweke
7832253f39
Merge pull request #20991 from benpicco/rivers/dose-new_api
...
drivers/dose: port to netdev_new_api
2024-11-21 05:49:32 +00:00
Marian Buschsieweke
d7d6a3653d
Merge pull request #21006 from maribu/tests/periph/selftest_shield/fix-timer_init
...
tests/periph/selftest_shield: fix invalid calls to timer_init() + GPIO IRQ tests
2024-11-21 05:44:12 +00:00
Benjamin Valentin
8e4bdca325
drivers/dose: port to netdev_new_api
2024-11-21 00:10:57 +01:00
Benjamin Valentin
82e5b19b86
drivers/slipdev: port to netdev_new_api
2024-11-21 00:06:25 +01:00
benpicco
2bce94a7c7
Merge pull request #21012 from benpicco/netdev_new_api-relax
...
netdev_new_api: allow `.send()` to return > 0 to signal synchronos send
2024-11-20 22:28:26 +00:00
Benjamin Valentin
4eb1c35fe3
cpu/sam0_eth: fix return values of sam0_eth_send()
2024-11-20 18:17:22 +01:00
benpicco
d169826005
Merge pull request #21007 from Enoch247/fix-stm32f429i-disc1-touch
...
boards/stm32f429i-disc1: fix touch screen axis
2024-11-20 16:25:03 +00:00
benpicco
1938002526
Merge pull request #20926 from Enoch247/fix-stm32-periph-timer-spurious-irq
...
cpu/stm32/periph/timer: prevent spurious IRQs
2024-11-20 16:24:49 +00:00
Benjamin Valentin
a86411b81e
drivers/netdev: allow .send() to return > 0 to signal synchronos send
2024-11-20 16:40:36 +01:00
Marian Buschsieweke
6e94c9c280
Merge pull request #21005 from maribu/drivers/periph_timer_query_freqs/fix-doc
...
drivers/periph_timer: fix timer_query_freqs() doc
2024-11-20 12:32:10 +00:00
Marian Buschsieweke
7c442283f4
Merge pull request #21009 from mguetschow/tests-uart-wait-for-rx
...
tests/periph/uart: minor improvements
2024-11-20 07:44:09 +00:00
Joshua DeWeese
f24fc69118
cpu/stm32/periph/timer: fix whitespace style
2024-11-19 21:50:23 -05:00
Joshua DeWeese
05bc4051a3
boards/stm32f429i-disc1: fix touch screen axis
...
This patch fixes a missmatch between the LCD and touch drivers'
coordinate systems.
2024-11-19 20:11:59 -05:00
Marian Buschsieweke
fd30434921
tests/periph/selftest_shield: fix GPIO IRQ testing
...
The GPIO IRQ tests had a side-effect that IRQs remained configured after
the test case was complete. This caused stray IRQs to trigger on
SAM0 MCUs and they consequently (and incorrectly) failed the test.
2024-11-19 22:25:20 +01:00
Marian Buschsieweke
d1c4b455fb
tests/periph/selftest_shield: fix invalid calls to timer_init()
...
Calling `timer_init()` with unsupported frequencies on some MCUs just
selects the closest possible frequency. But e.g. on SAM0, using an
unsupported frequency will cause `timer_init()` to fail; which probably
is the better option.
However, a failing calling to `timer_init()` results in a test failure.
This is now worked around by using timer_query_freq() to select a
suitable timer frequency that is supported.
2024-11-19 22:25:15 +01:00
Marian Buschsieweke
b02b23f018
Merge pull request #21000 from benpicco/gnrc_pktbuf-use_after_free
...
sys/net/gnrc_pktbuf: detect use after free if canary is in metadata
2024-11-19 19:13:38 +00:00
mguetschow
89b5169037
Merge pull request #21004 from maribu/boards/common/arduino-zero/arduino-iomap
...
boards/wemos-zero: fix Arduio I/O Map
2024-11-19 15:15:19 +00:00
Benjamin Valentin
83f5b261a8
sys/net/gnrc_pktbuf: detect use after free if canary is in metadata
2024-11-19 15:23:03 +01:00
Benjamin Valentin
ea1670ab0f
sys/net/gnrc_pktbuf: move CANARY to header file
2024-11-19 15:23:03 +01:00
Benjamin Valentin
278e8f53b7
sys/net/gnrc_pktbuf: fail assertion if illegal memory was freed
2024-11-19 15:23:03 +01:00
Mikolai Gütschow
d3133c5acc
tests/periph/uart: wait 1ms for HW to trigger RX irq during self-test
2024-11-19 14:47:02 +01:00
Mikolai Gütschow
a0164ff58c
tests/periph/uart: improve error handling and reporting
2024-11-19 14:46:50 +01:00
Marian Buschsieweke
fd233fe82a
boards/wemos-zero: add note for identification
...
The variant with HW-819 is easier to buy these days and identical to
the original wemos-zero variant including the swapped D2/D4 pins.
Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-11-19 13:12:03 +01:00
Marian Buschsieweke
5381b6187f
boards/wemos-zero: fix Arduio I/O Map
...
Two pins were incorrectly mapped because D2 and D4 are swapped on the
WeMos zero compared to the Arduino Zero. This takes the difference
into account.
2024-11-19 13:12:03 +01:00
Marian Buschsieweke
04f1597792
drivers/periph_timer: fix timer_query_freqs() doc
...
The code examples in the doc contained an obvious bug that this commit
fixes.
2024-11-18 21:27:41 +01:00
Marian Buschsieweke
387f970b50
Merge pull request #20999 from maribu/cpu/sam0_common/gpio_ll/fix-gpio_get_port
...
cpu/sam0_common/periph_gpio_ll: fix gpio_get_port() and gpio_ll_query_conf()
2024-11-18 19:10:44 +00:00
Marian Buschsieweke
0222b8c54c
cpu/sam0_common/periph_gpio_ll: fix gpio_query_conf()
...
For the other MCUs, we take the input register state instead of the
output register state when the pin is configured as input. Let's do
the same here, as this is a lot more useful and intuitive.
2024-11-18 14:27:14 +01:00
Marian Buschsieweke
72d0b2b180
cpu/sam0_common/periph_gpio_ll: fix gpio_get_port()
...
It turns out that the legacy GPIO API and GPIO LL may disagree on what
the GPIO base address is: GPIO LL will use the IOBUS as base address
no matter what, the legacy GPIO API will use the APB as base address
unless `periph_gpio_fast_read` is used.
If the APIs disagree, we need to do impedance matching.
2024-11-18 12:50:25 +01:00
Marian Buschsieweke
c636f34eac
Merge pull request #20998 from HavingaThijs/maskLengthByte
...
cpu/cc2538: mask length byte before checking CRC
2024-11-18 08:21:02 +00:00
HavingaThijs
0c72444f24
cpu/cc2538: mask length byte before checking CRC
2024-11-18 08:34:29 +01:00
benpicco
aee4c1ef9c
Merge pull request #20984 from benpicco/gnrc_pktsnip_t-shrink
...
sys/net/gnrc/pkt: use `uint8_t` for user count
2024-11-17 17:29:16 +00:00
Marian Buschsieweke
f5f6b41bf8
Merge pull request #20994 from maribu/cpu/sam0_common/periph_adc/errata-2.1.6
...
cpu/sam0_common/periph_adc: add work around for errata 2.1.6
2024-11-17 13:55:12 +00:00
Marian Buschsieweke
51f969d655
Merge pull request #20993 from benpicco/netdev_new_api-enhance
...
gnrc_netif: netdev_new_api implies TX end irq, no need to check it
2024-11-17 08:45:19 +00:00
Benjamin Valentin
cb554fd342
tests/unittests: use proper initializers for gnrc_pktsnip_t
2024-11-16 16:39:32 +01:00
Marian Buschsieweke
2adb4042b3
Merge pull request #20974 from benpicco/gnrc_pktbuf_static-double-free
...
sys/net/gnrc_pktbuf_static: add double free detection
2024-11-16 09:03:42 +00:00
Marian Buschsieweke
dedc8f950f
Merge pull request #20995 from benpicco/confirm_send-retval
...
drivers/netdev: revise return values of `.confirm_send()`
2024-11-15 22:46:58 +00:00
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
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