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

46807 Commits

Author SHA1 Message Date
Marian Buschsieweke
8e26024998
Merge pull request #21027 from maribu/cpu/sam0_common/bmp
cpu/sam0_common: Claim support for BlackMagic Probe
2024-11-21 18:33:57 +00:00
Marian Buschsieweke
08b7829093
Merge pull request #21026 from benpicco/boards/samr34-xpro_openocd.cfg
boards/samr34-xpro: add openocd.cfg
2024-11-21 18:32:29 +00:00
Benjamin Valentin
8cd85472c5 usbus/cdc_ecm: port to netdev_new_api 2024-11-21 19:14:16 +01:00
Marian Buschsieweke
d3b28442ba
Merge pull request #21003 from mguetschow/ztimer-overhead-adjust
sys/ztimer: mention ztimer_auto_adjust in relevant places
2024-11-21 16:40:25 +00:00
Marian Buschsieweke
33195d7965
cpu/sam{d21,d5x,l21}: Claim support for BlackMagic Probe
Using `PROGRAMMER=bmp` has been proven to work reliably at least on
SAMD21, SAMD5x and SAML21.

Since using unsupported programmers is treated as a warning, this change
only reduces the noise in the shell a bit and is not a functional
change.

[1]: https://black-magic.org/supported-targets.html
2024-11-21 17:20:48 +01:00
Benjamin Valentin
5955f7acc3 boards/samr34-xpro: add openocd.cfg 2024-11-21 16:48:42 +01:00
Benjamin Valentin
220d1008a0 drivers/periph_init: initialize watchdog first
We want to initialize the watchdog early so it can detect a hang in
later init functions.
2024-11-21 16:28:28 +01:00
Marian Buschsieweke
88839aef72
Merge pull request #21017 from miri64/feather-nrf52840/enh/ws281x
feather-nrf52840: add config for NeoPixel LED
2024-11-21 14:54:25 +00:00
Marian Buschsieweke
041e7658b3
Merge pull request #21021 from maribu/boards/adafruit-grand-central-m4-express
boards/adafruit-grand-central-m4-express: improve TTY detection
2024-11-21 14:34:47 +00:00
Benjamin Valentin
8ed05a68e1 tests/periph/pm: print some output on alarm 2024-11-21 14:55:57 +01:00
Benjamin Valentin
7c93da905f drivers/atwinc15x0: port to netdev_new_api 2024-11-21 13:59:58 +01:00
Marian Buschsieweke
ef4fa601eb
boards/adafruit-grand-central-m4-express: improve TTY detection
With `MOST_RECENT_PORT=1`, detect the board correctly also when running
the default bootloader and not a RIOT app flashed on it.
2024-11-21 13:59:18 +01:00
Martine S. Lenders
5dd5400ee1
feather-nrf52840: add config for NeoPixel LED 2024-11-21 13:27:38 +01:00
Benjamin Valentin
3ba131c0f2 netdev_tap: port to netdev_new_api 2024-11-21 11:45:33 +01:00
benpicco
27073eeab6
Merge pull request #21016 from benpicco/driver/ethos-netdev_new_api
drivers/ethos: port to netdev_new_api
2024-11-21 10:25:14 +00: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
fc72c76054 drivers/ethos: port to netdev_new_api 2024-11-21 00:14:16 +01: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
Marian Buschsieweke
d8304fa196
tests/build_system: drop warn_conflict app
This is no longer a warning but an error.

Also: This is already covered by the static tests via
`dist/tools/feature_resolution/check.sh`, which uses a lot less CPU
time in the CI.
2024-11-20 21:56:46 +01:00
Marian Buschsieweke
f166e74696
build system: error on conflicting features
When the build system is aware of an invalid configuration - such as
multiple C libs being used or a single piece of hardware being used in
two conflicting roles - this now is treated as an error rather than
a warning.
2024-11-20 21:51:34 +01: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
crasbe
0c89794145 dist/tools/nrf52_resetpin_cfg: add revision warning 2024-11-19 17:15:31 +01:00
crasbe
291bfeced6 buildsystem_sanity_check: add JLINK_POST_FLASH to unexported variables 2024-11-19 17:15:31 +01:00
crasbe
475b7bf5f4 boards/nrf52-based: configure pinreset after flashing 2024-11-19 17:15:11 +01: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
Mikolai Gütschow
a2ef45f252
doc: mention auto_adjust in relevant section of porting-boards.md 2024-11-18 17:41:36 +01:00
Mikolai Gütschow
28ec1c5d2e
tests/sys/ztimer_overhead: mention auto_adjust in README and fix typos 2024-11-18 17:28:48 +01:00