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

44685 Commits

Author SHA1 Message Date
Marian Buschsieweke
03a4d31e02
Merge pull request #20141 from maribu/arch/riscv
makefiles/arch/riscv.inc.mk: Always provide TARGET_ARCH_LLVM
2023-12-08 14:45:51 +00:00
Marian Buschsieweke
481e3a95d4
Merge pull request #20142 from maribu/periph_timer_query_freq-atmega
cpu/atmega_common: implement periph_timer_query_freqs
2023-12-08 11:22:56 +00:00
Marian Buschsieweke
b0261f31ab
Merge pull request #20148 from maribu/periph_timer_query_freq-stm32
cpu/stm32: implement periph_timer_query_freqs
2023-12-07 21:57:49 +00:00
benpicco
81b5cf2e94
Merge pull request #20139 from benpicco/gnrc_sixloenc-fix
net/gnrc/netif: set 6LN flag for ethernet if gnrc_sixloenc is used
2023-12-07 20:06:13 +00:00
Marian Buschsieweke
eb2e6983d1
Merge pull request #20147 from maribu/periph_timer_query_freq-sam0
cpu/sam0_common: implement periph_timer_query_freqs
2023-12-07 16:24:32 +00:00
benpicco
67df59b0be
Merge pull request #20104 from gschorcht/drivers/mtd/mtddev_declarations
boards: remove `extern mtd_dev_t *mtd<n>` declarations from board definitions
2023-12-07 15:25:37 +00:00
Marian Buschsieweke
b6a7815b48
cpu/sam0_common: implement periph_timer_query_freqs 2023-12-07 16:18:09 +01:00
Marian Buschsieweke
e78630fc40
cpu/atmega_common: implement periph_timer_query_freqs 2023-12-07 16:15:22 +01:00
Marian Buschsieweke
3868a7fa10
cpu/stm32: implement periph_timer_query_freqs 2023-12-07 16:15:06 +01:00
Marian Buschsieweke
5dc3d9c743
Merge pull request #20161 from maribu/tests/periph/timer/bugfix
tests/periph/timer: fix timeout computation and overflow handling
2023-12-07 15:11:42 +00:00
Marian Buschsieweke
aa045d540f
tests/periph/timer: fix timeout computation and overflow handling
- the timeout computation for the spurious IRQ test confused numerator
  and denominator in a fraction
- the timeout offset between timer channels was hardcoded to 5000 from
  when the timer was only tested with 1 MHz as frequency
    - This resulted in slooooow test runs when running at slow
      frequencies
- fix overflow handling in the spinning wait
    - likely this would never overflow anyway assuming that
      `timer_init()` resets the counter value, but let's not rely on
      this and just fix the bug for good
2023-12-07 16:07:24 +01:00
Gunar Schorcht
c93f0a70d4 tests/pkg/fatfs_vfs: replace external mtd0 declaration
Since the `extern mtd_dev_t *` declarations were removed from board definitions, `mtd_dev_get` has to be used instead.
2023-12-07 15:32:49 +01:00
Gunar Schorcht
1ad92d458f tests/pkg/fatfs: replace external mtd0 declaration
Since the `extern mtd_dev_t *` declarations were removed from board definitions, `mtd_dev_get` has to be used instead.
2023-12-07 15:32:49 +01:00
Gunar Schorcht
cfc2232f11 tests/unittests: fix MTD unit test compilation 2023-12-07 15:32:49 +01:00
Gunar Schorcht
d59d48d58b cpu/native: replace external mtd0 declaration
Since the `extern mtd_dev_t *` declarations were removed from board definitions, `mtd_dev_get` has to be used instead.
2023-12-07 15:32:49 +01:00
Gunar Schorcht
26030e28af boards: remove extern mtd_dev_t* Declarations 2023-12-07 15:32:49 +01:00
Gunar Schorcht
9410ec705e drivers/mtd: replace checks by assert in mtd_dev_get
Assertions are used instead of returning a NULL pointer to detect errors in the MTD definition and access in the case that the return value is not evaluated.
2023-12-07 15:32:49 +01:00
Gunar Schorcht
4b6e13ce29 drivers/mtd_default: remove extern mtd_dev_t * declarations 2023-12-07 15:32:49 +01:00
Marian Buschsieweke
8e67ee31ef
tests/periph/timer: rename speed --> timer_freq 2023-12-07 15:02:36 +01:00
Marian Buschsieweke
3979b70f1a
Merge pull request #20136 from maribu/roadmap/periph
roadmap: extend peripheral drivers section
2023-12-07 08:25:21 +00:00
Marian Buschsieweke
25e3bcca3b
roadmap: extend peripheral drivers section 2023-12-07 09:22:40 +01:00
Marian Buschsieweke
4aa0097100
Merge pull request #20159 from benpicco/pkg/tinydtls-bump
pkg/tinydtls: bump version
2023-12-06 20:45:02 +00:00
benpicco
eea7820de6
Merge pull request #20157 from maribu/sys/net/gnrc_sock/assume_timeout
sys/net/gnrc_sock: assume timeout is feasible
2023-12-06 19:38:01 +00:00
Benjamin Valentin
dac5aec0c4 pkg/tinydtls: bump version 2023-12-06 19:07:59 +01:00
Gunar Schorcht
33727c4006
Merge pull request #20158 from maribu/cpu/msp430/naming
cpu/msp430: consistently use msp430 prefix in names
2023-12-06 16:30:24 +00:00
Marian Buschsieweke
dd88935f46
cpu/msp430: consistently use msp430 prefix in names
Previously sometimes `msp_` was used as prefix, sometimes `msp430_`.
This makes the naming consistent.
2023-12-06 17:10:11 +01:00
Marian Buschsieweke
d160a78ecc
sys/net/gnrc_sock: assume timeout is feasible
When not implementing the timeout feature, add an `assume()` that there
is no timeout. Otherwise things break at runtime and are hard to debug.
2023-12-06 13:48:27 +01:00
Gunar Schorcht
8f01dbfecb
Merge pull request #20153 from maribu/boards/esp32-ethernet-kit/board-filter
boards/esp32*: add TTY board filter
2023-12-06 10:41:29 +00:00
Teufelchen
e0e4936d73
Merge pull request #20156 from gschorcht/boards/esp32s3-usb-otg_fix_doc
boards/esp32s3-usb-otg: fix the table of contents in documentation
2023-12-06 10:29:55 +00:00
Marian Buschsieweke
f80f47ccf6
boards/esp32s2-lilygo-ttgo-t8: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now only consider plausible TTYs and select the most recently
connected one. The filter is a bit broad, though, and will match
any board with a CH430 UART2USB bridge. But depending on the boards
attached, it might be good enough to reliably tell it apart from
other boards.
2023-12-06 11:14:22 +01:00
Marian Buschsieweke
9dcbab218a
boards/esp32-olimex-evb,esp32-wemos-lolin-d32-pro: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now only consider plausible TTYs and select the most recently
connected one. The filter is a bit broad, though, and will match
any board with a CH430 USB 2.0 UART2USB bridge. But depending on the
boards attached, it might be good enough to reliably tell it apart from
other boards.
2023-12-06 11:14:22 +01:00
Marian Buschsieweke
9308a6f526
boards/esp32-mh-et-live-minikit,esp32-ttgo-t-beam: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now only consider plausible TTYs and select the most recently
connected one. The filter is a bit broad, though, and will match
any board with a CP2104 USB2UART bridge. But depending on the boards
attached, it might be good enough to reliably tell it apart from other
boards.
2023-12-06 11:14:21 +01:00
Marian Buschsieweke
7228cf1108
boards/esp32*-devkit: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now only consider plausible TTYs and select the most recently
connected one. The filter is a bit broad, though, and will match
any board with a CP2102N USB2UART bridge. But depending on the boards
attached, it might be good enough to reliably tell it apart from other
boards.
2023-12-06 11:14:21 +01:00
Marian Buschsieweke
03a1a02ec2
boards/esp32-wroom-32: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now only consider plausible TTYs and select the most recently
connected one. The filter is a bit broad, though, and will match
any board with a CP2102 USB2UART bridge. But depending on the boards
attached, it might be good enough to reliably tell it apart from other
boards.
2023-12-06 11:14:21 +01:00
Marian Buschsieweke
28a5ec3911
boards/esp32-*-kit*: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now select relatively robustly the most recently connected
ESP32 Ethernet Kit / ESP32 Wrover Kit board, even with other TTYs
present. This is because the FTDI Dual RS232-HS with two USB2UART
bridges in the chip would be an expensive overkill for most boards,
unless one is using the FTDI chip to big-bang JTAG as well - as done
on the Ethernet Kit and Wrover Kit boards.
2023-12-06 11:14:21 +01:00
Gunar Schorcht
6c1b93d2a7 boards/esp32s3-usb-otg: fix table of contents in doc 2023-12-06 08:02:48 +01:00
Marian Buschsieweke
0097692b80
Merge pull request #16349 from maribu/periph_timer_query_freq
drivers/periph_timer: add timer_query_freqs()
2023-12-05 17:16:23 +00:00
Marian Buschsieweke
c05388faf5
Merge pull request #20152 from maribu/tests/sys/psa_crypto_se_cipher
tests/sys/psa_crypto_se_cipher: disable test on esp32-wroom-32
2023-12-05 16:16:09 +00:00
Marian Buschsieweke
754bbe4e6d
tests/sys/psa_crypto_se_cipher: disable test on esp32-wroom-32
The test fails systematically on the CI and prevents merging PRs.
2023-12-05 16:49:30 +01:00
Martine Lenders
7d1d776b86
Merge pull request #20151 from maribu/tests/net/gnrc_sixlowpan_frag_sfr_congure_impl
tests/net/gnrc_sixlowpan_frag_sfr_congure_impl: disable test on native
2023-12-05 15:25:00 +00:00
Marian Buschsieweke
3bc6494004
tests/periph_timer: use periph_timer_query_freqs
If the feature periph_timer_query_freqs is provided, use the
corresponding function to iterate over all supported frequencies to
increase test coverage.
2023-12-05 16:07:27 +01:00
Marian Buschsieweke
b917807444
drivers/periph_timer: add periph_timer_query_freqs
Allow accessing supported timer frequencies with a dedicated API.
This API needs to be implemented per platform and is available with
the feature periph_timer_query_freqs.
2023-12-05 16:07:24 +01:00
Marian Buschsieweke
5b7a1bed2f
tests/net/gnrc_sixlowpan_frag_sfr_congure_impl: disable test on native
This test sporadically failed on multiple machines compiled with both
GNU and LLVM toolchains. To not waste more CI time by sporadically
failing unrelated CI runs, let's disable the test for now.
2023-12-05 15:48:26 +01:00
Marian Buschsieweke
9ed2da1d70
Merge pull request #20150 from maribu/tests/sys/psa_crypto_se
tests/sys/psa_crytpo_se: disable test on esp32-wroom-32
2023-12-05 14:37:45 +00:00
Marian Buschsieweke
167a70cd0f
tests/sys/psa_crytpo_se: disable test on esp32-wroom-32 2023-12-05 15:09:01 +01:00
Marian Buschsieweke
287280f882
makefiles/arch/riscv.inc.mk: Always provide TARGET_ARCH_LLVM
This fixes issues with `make compile-commands`, as this by default
generates clangd/LLVM compatible flags. Without `TARGET_ARCH_LLVM`
exported, this will fall back to `TARGET_ARCH`, which is different
for LLVM and GCC.
2023-12-05 11:03:01 +01:00
Marian Buschsieweke
b6de46de2e
Merge pull request #20135 from benpicco/drivers/sdmmc/sdmmc_sdhc-fix
drivers/sdmmc: fix placement of #endif
2023-12-05 09:10:06 +00:00
Benjamin Valentin
97ab5ef12e drivers/sdmmc: fix placement of #endif 2023-12-05 08:55:08 +01:00
Benjamin Valentin
bc2c95c833 net/gnrc/netif: set 6LN flag for ethernet if gnrc_sixloenc is used 2023-12-04 22:56:28 +01:00
848f3d1ade
Merge pull request #20137 from MrKevinWeiss/pr/fixlabler
Fix labeler action
2023-12-04 20:46:19 +01:00