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

44670 Commits

Author SHA1 Message Date
Marian Buschsieweke
eca0bdd5aa
examples,tests: Update Makefile.cis 2023-12-10 13:51:04 +01:00
Marian Buschsieweke
b51ea4ca24
boards: clean up MSP430 board configuration
Move common configuration for MSP430 based boards to
`boards/common/msp430` and make use of that.
2023-12-10 09:11:24 +01:00
Marian Buschsieweke
e6154a04a1
cpu/msp430: aid optimizer
Declare functions retrieving the clock domains frequency as pure so
that common subexpressions can be eliminated more easily.
2023-12-10 09:11:23 +01:00
Marian Buschsieweke
7044699388
cpu/msp430: improve periph_timer
- add support for multiple timers
- add support for selecting clock source in the board's `periph_conf.h`
- add support for the prescaler
- implement `periph_timer_query_freqs`
- add a second timer to all MSP430 boards
    - the first timer is fast ticking, high-power
    - the second is slow ticking, low-power
2023-12-10 09:11:23 +01: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
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
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
848f3d1ade
Merge pull request #20137 from MrKevinWeiss/pr/fixlabler
Fix labeler action
2023-12-04 20:46:19 +01:00
MrKevinWeiss
18aa670b96
.github/workflows/labeler.yml: Fix version after breaking change 2023-12-04 16:29:27 +01:00
Marian Buschsieweke
d252eb7395
Merge pull request #19998 from fabian18/gnrc_static_messge_queues
gnrc: make message queues static
2023-12-04 11:21:08 +00:00
Fabian Hüßler
0cc2bdaf5b sys/include/net/gnrc: reduce stack by previously allocated message queue 2023-12-03 17:53:44 +01:00
benpicco
182700fef4
Merge pull request #20134 from benpicco/cpu/sam0_common-adc_continuous-fix
cpu/sam0_common: fix adc_continuous_sample()
2023-12-01 20:05:27 +00:00
Marian Buschsieweke
ac409ebf29
Merge pull request #19784 from nandojve/avr8/implement_pm
AVR-8: Implement Power Management
2023-12-01 18:54:44 +00:00
Benjamin Valentin
cd79dfb5a8 core/mutex: include cpu.h
This is needed for core_mutex_debug
2023-12-01 19:46:27 +01:00
Benjamin Valentin
1e9b1992df cpu/sam0_common: fix adc_continuous_sample() 2023-12-01 19:45:54 +01:00
Marian Buschsieweke
82d98ed377
examples, tests: update Makefile.ci for AVR8
Ran dist/tools/insufficient_memory for all AVR8 boards.
2023-12-01 19:37:05 +01:00
Marian Buschsieweke
550fef51ac
Merge pull request #20126 from maribu/roadmap/cleanup
doc: clean up roadmap
2023-12-01 18:06:54 +00:00
benpicco
4417a4b3e0
Merge pull request #20132 from FlapKap/master
Bumb nanopb to 0.4.8
2023-12-01 16:00:24 +00:00
kasper
8c0c447779 Bumb nanopb to 0.4.8 2023-12-01 15:06:17 +00:00
Gerson Fernando Budke
166ee62300
cpu/atxmega: Drop unnecessary test config
Co-authored-by: MrKevinWeiss <weiss.kevin604@gmail.com>
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-12-01 14:12:24 +01:00
Gerson Fernando Budke
ab70f20069
cpu/avr8_common: Fix PM and Common peripherals build
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-12-01 14:12:24 +01:00
Gerson Fernando Budke
859d587afd
boards/atmega328p-xplained-mini: Add BTN0 and LED0
The board have one user button and a user led but are not enabled.
This add necessary support to use the button and the led. It include
the configs to use with SAUL and button interrupt.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-12-01 14:12:24 +01:00
Gerson Fernando Budke
c64a64f549
cpu/atmega_common: Increase stack a little bit
This is necessary to allow run the thread_duel example.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-12-01 14:12:24 +01:00