From db5ea456bda93d8ab0f7ebe52f229e8862be525f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 5 May 2023 10:27:00 +0200 Subject: [PATCH 1/3] makefiles/app_dirs.inc.mk: add tests/periphs subdirectory --- makefiles/app_dirs.inc.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/makefiles/app_dirs.inc.mk b/makefiles/app_dirs.inc.mk index 37df195626..4179f99f90 100644 --- a/makefiles/app_dirs.inc.mk +++ b/makefiles/app_dirs.inc.mk @@ -15,6 +15,7 @@ APPLICATION_DIRS := \ examples \ tests \ tests/drivers \ + tests/periph \ tests/pkg \ # From c51d5357e659c9286e23ecfd2bda71a12be41060 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 5 May 2023 10:26:35 +0200 Subject: [PATCH 2/3] tests: move periph_ applications to periphs subdirectory --- tests/periph/Makefile.periph_common | 2 ++ tests/{periph_adc => periph/adc}/Makefile | 2 +- tests/{periph_adc => periph/adc}/README.md | 0 tests/{periph_adc => periph/adc}/app.config.test | 0 tests/{periph_adc => periph/adc}/main.c | 0 tests/{periph_backup_ram => periph/backup_ram}/Kconfig | 0 tests/{periph_backup_ram => periph/backup_ram}/Makefile | 2 +- tests/{periph_backup_ram => periph/backup_ram}/Makefile.ci | 0 tests/{periph_backup_ram => periph/backup_ram}/README.md | 0 tests/{periph_backup_ram => periph/backup_ram}/app.config.test | 0 tests/{periph_backup_ram => periph/backup_ram}/main.c | 0 tests/{periph_cpuid => periph/cpuid}/Makefile | 2 +- tests/{periph_cpuid => periph/cpuid}/app.config.test | 0 tests/{periph_cpuid => periph/cpuid}/main.c | 0 tests/{periph_cpuid => periph/cpuid}/tests/01-run.py | 0 tests/{periph_dac => periph/dac}/Makefile | 2 +- tests/{periph_dac => periph/dac}/README.md | 0 tests/{periph_dac => periph/dac}/app.config.test | 0 tests/{periph_dac => periph/dac}/main.c | 0 tests/{periph_dma => periph/dma}/Makefile | 2 +- tests/{periph_dma => periph/dma}/app.config.test | 0 tests/{periph_dma => periph/dma}/main.c | 0 tests/{periph_dma => periph/dma}/tests/01-run.py | 0 tests/{periph_eeprom => periph/eeprom}/Makefile | 2 +- tests/{periph_eeprom => periph/eeprom}/Makefile.ci | 0 tests/{periph_eeprom => periph/eeprom}/README.md | 0 tests/{periph_eeprom => periph/eeprom}/app.config.test | 0 tests/{periph_eeprom => periph/eeprom}/main.c | 0 tests/{periph_eeprom => periph/eeprom}/tests/01-run.py | 0 tests/{periph_flashpage => periph/flashpage}/Kconfig | 0 tests/{periph_flashpage => periph/flashpage}/Makefile | 2 +- tests/{periph_flashpage => periph/flashpage}/Makefile.ci | 0 tests/{periph_flashpage => periph/flashpage}/README.md | 0 tests/{periph_flashpage => periph/flashpage}/app.config.test | 0 tests/{periph_flashpage => periph/flashpage}/main.c | 0 tests/{periph_flashpage => periph/flashpage}/tests/01-run.py | 0 .../flashpage_unittest}/Makefile | 2 +- .../flashpage_unittest}/app.config.test | 0 .../flashpage_unittest}/main.c | 0 .../flashpage_unittest}/tests/01-run.py | 0 tests/{periph_gpio => periph/gpio}/Kconfig | 0 tests/{periph_gpio => periph/gpio}/Makefile | 2 +- tests/{periph_gpio => periph/gpio}/Makefile.ci | 0 tests/{periph_gpio => periph/gpio}/app.config.test | 0 tests/{periph_gpio => periph/gpio}/app.config.test.native | 0 tests/{periph_gpio => periph/gpio}/main.c | 0 tests/{periph_gpio => periph/gpio}/tests/02-bench.py | 0 tests/{periph_gpio_arduino => periph/gpio_arduino}/Makefile | 2 +- tests/{periph_gpio_arduino => periph/gpio_arduino}/Makefile.ci | 0 tests/{periph_gpio_arduino => periph/gpio_arduino}/README.md | 0 .../gpio_arduino}/app.config.test | 0 tests/{periph_gpio_arduino => periph/gpio_arduino}/main.sketch | 0 tests/{periph_gpio_ll => periph/gpio_ll}/.gitignore | 0 tests/{periph_gpio_ll => periph/gpio_ll}/Makefile | 2 +- tests/{periph_gpio_ll => periph/gpio_ll}/README.md | 0 tests/{periph_gpio_ll => periph/gpio_ll}/main.c | 0 .../gpio_ll}/tests-with-config/01-run.py | 0 tests/{periph_hwrng => periph/hwrng}/Makefile | 2 +- tests/{periph_hwrng => periph/hwrng}/README.md | 0 tests/{periph_hwrng => periph/hwrng}/app.config.test | 0 tests/{periph_hwrng => periph/hwrng}/main.c | 0 tests/{periph_hwrng => periph/hwrng}/tests/01-run.py | 0 tests/{periph_i2c => periph/i2c}/Kconfig | 0 tests/{periph_i2c => periph/i2c}/Makefile | 2 +- tests/{periph_i2c => periph/i2c}/Makefile.ci | 0 tests/{periph_i2c => periph/i2c}/README.md | 0 tests/{periph_i2c => periph/i2c}/app.config.test | 0 tests/{periph_i2c => periph/i2c}/main.c | 0 tests/{periph_ltdc => periph/ltdc}/Makefile | 2 +- tests/{periph_ltdc => periph/ltdc}/main.c | 0 tests/{periph_pm => periph/pm}/Kconfig | 0 tests/{periph_pm => periph/pm}/Makefile | 2 +- tests/{periph_pm => periph/pm}/Makefile.board.dep | 0 tests/{periph_pm => periph/pm}/Makefile.ci | 0 tests/{periph_pm => periph/pm}/README.md | 0 tests/{periph_pm => periph/pm}/app.config.test | 0 tests/{periph_pm => periph/pm}/main.c | 0 tests/{periph_ptp_clock => periph/ptp_clock}/Makefile | 2 +- tests/{periph_ptp_clock => periph/ptp_clock}/README.md | 0 tests/{periph_ptp_clock => periph/ptp_clock}/main.c | 0 tests/{periph_ptp_clock => periph/ptp_clock}/tests/01-run.py | 0 tests/{periph_ptp_timer => periph/ptp_timer}/Makefile | 2 +- tests/{periph_ptp_timer => periph/ptp_timer}/README.md | 0 tests/{periph_ptp_timer => periph/ptp_timer}/main.c | 0 tests/{periph_ptp_timer => periph/ptp_timer}/tests/01-run.py | 0 tests/{periph_pwm => periph/pwm}/Makefile | 2 +- tests/{periph_pwm => periph/pwm}/Makefile.ci | 0 tests/{periph_pwm => periph/pwm}/README.md | 0 tests/{periph_pwm => periph/pwm}/app.config.test | 0 tests/{periph_pwm => periph/pwm}/main.c | 0 tests/{periph_qdec => periph/qdec}/Makefile | 2 +- tests/{periph_qdec => periph/qdec}/README.md | 0 tests/{periph_qdec => periph/qdec}/app.config.test | 0 .../qdec}/boards_modded/nrf52840dk_mod/Kconfig | 0 .../qdec}/boards_modded/nrf52840dk_mod/Makefile | 0 .../qdec}/boards_modded/nrf52840dk_mod/Makefile.dep | 0 .../qdec}/boards_modded/nrf52840dk_mod/Makefile.features | 0 .../qdec}/boards_modded/nrf52840dk_mod/Makefile.include | 0 tests/periph/qdec/boards_modded/nrf52840dk_mod/include/board.h | 1 + .../qdec}/boards_modded/nrf52840dk_mod/include/periph_conf.h | 0 tests/{periph_qdec => periph/qdec}/main.c | 0 tests/{periph_rtc => periph/rtc}/Kconfig | 0 tests/{periph_rtc => periph/rtc}/Makefile | 2 +- tests/{periph_rtc => periph/rtc}/README.md | 0 tests/{periph_rtc => periph/rtc}/app.config.test | 0 tests/{periph_rtc => periph/rtc}/main.c | 0 tests/{periph_rtc => periph/rtc}/tests/01-run.py | 0 tests/{periph_rtt => periph/rtt}/Kconfig | 0 tests/{periph_rtt => periph/rtt}/Makefile | 2 +- tests/{periph_rtt => periph/rtt}/README.md | 0 tests/{periph_rtt => periph/rtt}/app.config.test | 0 tests/{periph_rtt => periph/rtt}/main.c | 0 tests/{periph_rtt => periph/rtt}/tests/01-run.py | 0 tests/{periph_rtt_min => periph/rtt_min}/Makefile | 2 +- tests/{periph_rtt_min => periph/rtt_min}/README.md | 0 tests/{periph_rtt_min => periph/rtt_min}/app.config.test | 0 tests/{periph_rtt_min => periph/rtt_min}/main.c | 0 tests/{periph_rtt_min => periph/rtt_min}/tests/01-run.py | 0 tests/{periph_spi => periph/spi}/Kconfig | 0 tests/{periph_spi => periph/spi}/Makefile | 2 +- tests/{periph_spi => periph/spi}/Makefile.ci | 0 tests/{periph_spi => periph/spi}/README.md | 0 tests/{periph_spi => periph/spi}/app.config.test | 0 tests/{periph_spi => periph/spi}/main.c | 0 tests/{periph_spi_dma => periph/spi_dma}/Kconfig | 0 tests/{periph_spi_dma => periph/spi_dma}/Makefile | 2 +- tests/{periph_spi_dma => periph/spi_dma}/Makefile.ci | 2 +- tests/{periph_spi_dma => periph/spi_dma}/README.md | 0 tests/{periph_spi_dma => periph/spi_dma}/app.config.test | 0 tests/periph/spi_dma/main.c | 1 + tests/{periph_timer => periph/timer}/Makefile | 2 +- tests/{periph_timer => periph/timer}/README.md | 0 tests/{periph_timer => periph/timer}/app.config.test | 0 tests/{periph_timer => periph/timer}/main.c | 0 tests/{periph_timer => periph/timer}/tests/01-run.py | 0 tests/{periph_timer_periodic => periph/timer_periodic}/Makefile | 2 +- .../timer_periodic}/app.config.test | 0 tests/{periph_timer_periodic => periph/timer_periodic}/main.c | 0 .../timer_periodic}/tests/01-run.py | 0 .../timer_short_relative_set}/Makefile | 2 +- .../timer_short_relative_set}/README.md | 0 .../timer_short_relative_set}/app.config.test | 0 .../timer_short_relative_set}/main.c | 0 .../timer_short_relative_set}/tests/01-run.py | 0 tests/{periph_uart => periph/uart}/Kconfig | 0 tests/{periph_uart => periph/uart}/Makefile | 2 +- tests/{periph_uart => periph/uart}/Makefile.ci | 0 tests/{periph_uart => periph/uart}/README.md | 0 tests/{periph_uart => periph/uart}/app.config.test | 0 tests/{periph_uart => periph/uart}/main.c | 0 tests/{periph_uart_mode => periph/uart_mode}/Makefile | 2 +- tests/{periph_uart_mode => periph/uart_mode}/Makefile.board.dep | 0 tests/{periph_uart_mode => periph/uart_mode}/Makefile.ci | 0 tests/{periph_uart_mode => periph/uart_mode}/README.md | 0 tests/{periph_uart_mode => periph/uart_mode}/app.config.test | 0 tests/{periph_uart_mode => periph/uart_mode}/main.c | 0 .../uart_nonblocking}/Makefile | 2 +- .../uart_nonblocking}/app.config.test | 0 .../{periph_uart_nonblocking => periph/uart_nonblocking}/main.c | 0 .../uart_nonblocking}/tests/01-run.py | 0 tests/{periph_vbat => periph/vbat}/Makefile | 2 +- tests/{periph_vbat => periph/vbat}/README.md | 0 tests/{periph_vbat => periph/vbat}/app.config.test | 0 tests/{periph_vbat => periph/vbat}/main.c | 0 tests/{periph_wdt => periph/wdt}/Makefile | 2 +- tests/{periph_wdt => periph/wdt}/Makefile.ci | 0 tests/{periph_wdt => periph/wdt}/README.md | 0 tests/{periph_wdt => periph/wdt}/app.config.test | 0 tests/{periph_wdt => periph/wdt}/main.c | 0 tests/{periph_wdt => periph/wdt}/tests/01-run.py | 0 tests/periph_qdec/boards_modded/nrf52840dk_mod/include/board.h | 1 - tests/periph_spi_dma/main.c | 1 - 172 files changed, 37 insertions(+), 35 deletions(-) create mode 100644 tests/periph/Makefile.periph_common rename tests/{periph_adc => periph/adc}/Makefile (80%) rename tests/{periph_adc => periph/adc}/README.md (100%) rename tests/{periph_adc => periph/adc}/app.config.test (100%) rename tests/{periph_adc => periph/adc}/main.c (100%) rename tests/{periph_backup_ram => periph/backup_ram}/Kconfig (100%) rename tests/{periph_backup_ram => periph/backup_ram}/Makefile (90%) rename tests/{periph_backup_ram => periph/backup_ram}/Makefile.ci (100%) rename tests/{periph_backup_ram => periph/backup_ram}/README.md (100%) rename tests/{periph_backup_ram => periph/backup_ram}/app.config.test (100%) rename tests/{periph_backup_ram => periph/backup_ram}/main.c (100%) rename tests/{periph_cpuid => periph/cpuid}/Makefile (67%) rename tests/{periph_cpuid => periph/cpuid}/app.config.test (100%) rename tests/{periph_cpuid => periph/cpuid}/main.c (100%) rename tests/{periph_cpuid => periph/cpuid}/tests/01-run.py (100%) rename tests/{periph_dac => periph/dac}/Makefile (77%) rename tests/{periph_dac => periph/dac}/README.md (100%) rename tests/{periph_dac => periph/dac}/app.config.test (100%) rename tests/{periph_dac => periph/dac}/main.c (100%) rename tests/{periph_dma => periph/dma}/Makefile (73%) rename tests/{periph_dma => periph/dma}/app.config.test (100%) rename tests/{periph_dma => periph/dma}/main.c (100%) rename tests/{periph_dma => periph/dma}/tests/01-run.py (100%) rename tests/{periph_eeprom => periph/eeprom}/Makefile (79%) rename tests/{periph_eeprom => periph/eeprom}/Makefile.ci (100%) rename tests/{periph_eeprom => periph/eeprom}/README.md (100%) rename tests/{periph_eeprom => periph/eeprom}/app.config.test (100%) rename tests/{periph_eeprom => periph/eeprom}/main.c (100%) rename tests/{periph_eeprom => periph/eeprom}/tests/01-run.py (100%) rename tests/{periph_flashpage => periph/flashpage}/Kconfig (100%) rename tests/{periph_flashpage => periph/flashpage}/Makefile (92%) rename tests/{periph_flashpage => periph/flashpage}/Makefile.ci (100%) rename tests/{periph_flashpage => periph/flashpage}/README.md (100%) rename tests/{periph_flashpage => periph/flashpage}/app.config.test (100%) rename tests/{periph_flashpage => periph/flashpage}/main.c (100%) rename tests/{periph_flashpage => periph/flashpage}/tests/01-run.py (100%) rename tests/{periph_flashpage_unittest => periph/flashpage_unittest}/Makefile (84%) rename tests/{periph_flashpage_unittest => periph/flashpage_unittest}/app.config.test (100%) rename tests/{periph_flashpage_unittest => periph/flashpage_unittest}/main.c (100%) rename tests/{periph_flashpage_unittest => periph/flashpage_unittest}/tests/01-run.py (100%) rename tests/{periph_gpio => periph/gpio}/Kconfig (100%) rename tests/{periph_gpio => periph/gpio}/Makefile (96%) rename tests/{periph_gpio => periph/gpio}/Makefile.ci (100%) rename tests/{periph_gpio => periph/gpio}/app.config.test (100%) rename tests/{periph_gpio => periph/gpio}/app.config.test.native (100%) rename tests/{periph_gpio => periph/gpio}/main.c (100%) rename tests/{periph_gpio => periph/gpio}/tests/02-bench.py (100%) rename tests/{periph_gpio_arduino => periph/gpio_arduino}/Makefile (80%) rename tests/{periph_gpio_arduino => periph/gpio_arduino}/Makefile.ci (100%) rename tests/{periph_gpio_arduino => periph/gpio_arduino}/README.md (100%) rename tests/{periph_gpio_arduino => periph/gpio_arduino}/app.config.test (100%) rename tests/{periph_gpio_arduino => periph/gpio_arduino}/main.sketch (100%) rename tests/{periph_gpio_ll => periph/gpio_ll}/.gitignore (100%) rename tests/{periph_gpio_ll => periph/gpio_ll}/Makefile (97%) rename tests/{periph_gpio_ll => periph/gpio_ll}/README.md (100%) rename tests/{periph_gpio_ll => periph/gpio_ll}/main.c (100%) rename tests/{periph_gpio_ll => periph/gpio_ll}/tests-with-config/01-run.py (100%) rename tests/{periph_hwrng => periph/hwrng}/Makefile (73%) rename tests/{periph_hwrng => periph/hwrng}/README.md (100%) rename tests/{periph_hwrng => periph/hwrng}/app.config.test (100%) rename tests/{periph_hwrng => periph/hwrng}/main.c (100%) rename tests/{periph_hwrng => periph/hwrng}/tests/01-run.py (100%) rename tests/{periph_i2c => periph/i2c}/Kconfig (100%) rename tests/{periph_i2c => periph/i2c}/Makefile (91%) rename tests/{periph_i2c => periph/i2c}/Makefile.ci (100%) rename tests/{periph_i2c => periph/i2c}/README.md (100%) rename tests/{periph_i2c => periph/i2c}/app.config.test (100%) rename tests/{periph_i2c => periph/i2c}/main.c (100%) rename tests/{periph_ltdc => periph/ltdc}/Makefile (86%) rename tests/{periph_ltdc => periph/ltdc}/main.c (100%) rename tests/{periph_pm => periph/pm}/Kconfig (100%) rename tests/{periph_pm => periph/pm}/Makefile (86%) rename tests/{periph_pm => periph/pm}/Makefile.board.dep (100%) rename tests/{periph_pm => periph/pm}/Makefile.ci (100%) rename tests/{periph_pm => periph/pm}/README.md (100%) rename tests/{periph_pm => periph/pm}/app.config.test (100%) rename tests/{periph_pm => periph/pm}/main.c (100%) rename tests/{periph_ptp_clock => periph/ptp_clock}/Makefile (89%) rename tests/{periph_ptp_clock => periph/ptp_clock}/README.md (100%) rename tests/{periph_ptp_clock => periph/ptp_clock}/main.c (100%) rename tests/{periph_ptp_clock => periph/ptp_clock}/tests/01-run.py (100%) rename tests/{periph_ptp_timer => periph/ptp_timer}/Makefile (80%) rename tests/{periph_ptp_timer => periph/ptp_timer}/README.md (100%) rename tests/{periph_ptp_timer => periph/ptp_timer}/main.c (100%) rename tests/{periph_ptp_timer => periph/ptp_timer}/tests/01-run.py (100%) rename tests/{periph_pwm => periph/pwm}/Makefile (79%) rename tests/{periph_pwm => periph/pwm}/Makefile.ci (100%) rename tests/{periph_pwm => periph/pwm}/README.md (100%) rename tests/{periph_pwm => periph/pwm}/app.config.test (100%) rename tests/{periph_pwm => periph/pwm}/main.c (100%) rename tests/{periph_qdec => periph/qdec}/Makefile (86%) rename tests/{periph_qdec => periph/qdec}/README.md (100%) rename tests/{periph_qdec => periph/qdec}/app.config.test (100%) rename tests/{periph_qdec => periph/qdec}/boards_modded/nrf52840dk_mod/Kconfig (100%) rename tests/{periph_qdec => periph/qdec}/boards_modded/nrf52840dk_mod/Makefile (100%) rename tests/{periph_qdec => periph/qdec}/boards_modded/nrf52840dk_mod/Makefile.dep (100%) rename tests/{periph_qdec => periph/qdec}/boards_modded/nrf52840dk_mod/Makefile.features (100%) rename tests/{periph_qdec => periph/qdec}/boards_modded/nrf52840dk_mod/Makefile.include (100%) create mode 120000 tests/periph/qdec/boards_modded/nrf52840dk_mod/include/board.h rename tests/{periph_qdec => periph/qdec}/boards_modded/nrf52840dk_mod/include/periph_conf.h (100%) rename tests/{periph_qdec => periph/qdec}/main.c (100%) rename tests/{periph_rtc => periph/rtc}/Kconfig (100%) rename tests/{periph_rtc => periph/rtc}/Makefile (88%) rename tests/{periph_rtc => periph/rtc}/README.md (100%) rename tests/{periph_rtc => periph/rtc}/app.config.test (100%) rename tests/{periph_rtc => periph/rtc}/main.c (100%) rename tests/{periph_rtc => periph/rtc}/tests/01-run.py (100%) rename tests/{periph_rtt => periph/rtt}/Kconfig (100%) rename tests/{periph_rtt => periph/rtt}/Makefile (95%) rename tests/{periph_rtt => periph/rtt}/README.md (100%) rename tests/{periph_rtt => periph/rtt}/app.config.test (100%) rename tests/{periph_rtt => periph/rtt}/main.c (100%) rename tests/{periph_rtt => periph/rtt}/tests/01-run.py (100%) rename tests/{periph_rtt_min => periph/rtt_min}/Makefile (93%) rename tests/{periph_rtt_min => periph/rtt_min}/README.md (100%) rename tests/{periph_rtt_min => periph/rtt_min}/app.config.test (100%) rename tests/{periph_rtt_min => periph/rtt_min}/main.c (100%) rename tests/{periph_rtt_min => periph/rtt_min}/tests/01-run.py (100%) rename tests/{periph_spi => periph/spi}/Kconfig (100%) rename tests/{periph_spi => periph/spi}/Makefile (92%) rename tests/{periph_spi => periph/spi}/Makefile.ci (100%) rename tests/{periph_spi => periph/spi}/README.md (100%) rename tests/{periph_spi => periph/spi}/app.config.test (100%) rename tests/{periph_spi => periph/spi}/main.c (100%) rename tests/{periph_spi_dma => periph/spi_dma}/Kconfig (100%) rename tests/{periph_spi_dma => periph/spi_dma}/Makefile (72%) rename tests/{periph_spi_dma => periph/spi_dma}/Makefile.ci (81%) rename tests/{periph_spi_dma => periph/spi_dma}/README.md (100%) rename tests/{periph_spi_dma => periph/spi_dma}/app.config.test (100%) create mode 120000 tests/periph/spi_dma/main.c rename tests/{periph_timer => periph/timer}/Makefile (97%) rename tests/{periph_timer => periph/timer}/README.md (100%) rename tests/{periph_timer => periph/timer}/app.config.test (100%) rename tests/{periph_timer => periph/timer}/main.c (100%) rename tests/{periph_timer => periph/timer}/tests/01-run.py (100%) rename tests/{periph_timer_periodic => periph/timer_periodic}/Makefile (74%) rename tests/{periph_timer_periodic => periph/timer_periodic}/app.config.test (100%) rename tests/{periph_timer_periodic => periph/timer_periodic}/main.c (100%) rename tests/{periph_timer_periodic => periph/timer_periodic}/tests/01-run.py (100%) rename tests/{periph_timer_short_relative_set => periph/timer_short_relative_set}/Makefile (95%) rename tests/{periph_timer_short_relative_set => periph/timer_short_relative_set}/README.md (100%) rename tests/{periph_timer_short_relative_set => periph/timer_short_relative_set}/app.config.test (100%) rename tests/{periph_timer_short_relative_set => periph/timer_short_relative_set}/main.c (100%) rename tests/{periph_timer_short_relative_set => periph/timer_short_relative_set}/tests/01-run.py (100%) rename tests/{periph_uart => periph/uart}/Kconfig (100%) rename tests/{periph_uart => periph/uart}/Makefile (91%) rename tests/{periph_uart => periph/uart}/Makefile.ci (100%) rename tests/{periph_uart => periph/uart}/README.md (100%) rename tests/{periph_uart => periph/uart}/app.config.test (100%) rename tests/{periph_uart => periph/uart}/main.c (100%) rename tests/{periph_uart_mode => periph/uart_mode}/Makefile (88%) rename tests/{periph_uart_mode => periph/uart_mode}/Makefile.board.dep (100%) rename tests/{periph_uart_mode => periph/uart_mode}/Makefile.ci (100%) rename tests/{periph_uart_mode => periph/uart_mode}/README.md (100%) rename tests/{periph_uart_mode => periph/uart_mode}/app.config.test (100%) rename tests/{periph_uart_mode => periph/uart_mode}/main.c (100%) rename tests/{periph_uart_nonblocking => periph/uart_nonblocking}/Makefile (79%) rename tests/{periph_uart_nonblocking => periph/uart_nonblocking}/app.config.test (100%) rename tests/{periph_uart_nonblocking => periph/uart_nonblocking}/main.c (100%) rename tests/{periph_uart_nonblocking => periph/uart_nonblocking}/tests/01-run.py (100%) rename tests/{periph_vbat => periph/vbat}/Makefile (79%) rename tests/{periph_vbat => periph/vbat}/README.md (100%) rename tests/{periph_vbat => periph/vbat}/app.config.test (100%) rename tests/{periph_vbat => periph/vbat}/main.c (100%) rename tests/{periph_wdt => periph/wdt}/Makefile (85%) rename tests/{periph_wdt => periph/wdt}/Makefile.ci (100%) rename tests/{periph_wdt => periph/wdt}/README.md (100%) rename tests/{periph_wdt => periph/wdt}/app.config.test (100%) rename tests/{periph_wdt => periph/wdt}/main.c (100%) rename tests/{periph_wdt => periph/wdt}/tests/01-run.py (100%) delete mode 120000 tests/periph_qdec/boards_modded/nrf52840dk_mod/include/board.h delete mode 120000 tests/periph_spi_dma/main.c diff --git a/tests/periph/Makefile.periph_common b/tests/periph/Makefile.periph_common new file mode 100644 index 0000000000..ecfb7b7d01 --- /dev/null +++ b/tests/periph/Makefile.periph_common @@ -0,0 +1,2 @@ +RIOTBASE ?= $(CURDIR)/../../.. +include $(CURDIR)/../../Makefile.tests_common diff --git a/tests/periph_adc/Makefile b/tests/periph/adc/Makefile similarity index 80% rename from tests/periph_adc/Makefile rename to tests/periph/adc/Makefile index 50f2c9e963..5fd7d257f3 100644 --- a/tests/periph_adc/Makefile +++ b/tests/periph/adc/Makefile @@ -1,5 +1,5 @@ BOARD ?= pba-d-01-kw2x -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_adc USEMODULE += ztimer diff --git a/tests/periph_adc/README.md b/tests/periph/adc/README.md similarity index 100% rename from tests/periph_adc/README.md rename to tests/periph/adc/README.md diff --git a/tests/periph_adc/app.config.test b/tests/periph/adc/app.config.test similarity index 100% rename from tests/periph_adc/app.config.test rename to tests/periph/adc/app.config.test diff --git a/tests/periph_adc/main.c b/tests/periph/adc/main.c similarity index 100% rename from tests/periph_adc/main.c rename to tests/periph/adc/main.c diff --git a/tests/periph_backup_ram/Kconfig b/tests/periph/backup_ram/Kconfig similarity index 100% rename from tests/periph_backup_ram/Kconfig rename to tests/periph/backup_ram/Kconfig diff --git a/tests/periph_backup_ram/Makefile b/tests/periph/backup_ram/Makefile similarity index 90% rename from tests/periph_backup_ram/Makefile rename to tests/periph/backup_ram/Makefile index 9d938d0e98..26fad85cb8 100644 --- a/tests/periph_backup_ram/Makefile +++ b/tests/periph/backup_ram/Makefile @@ -1,6 +1,6 @@ BOARD ?= samr34-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += backup_ram FEATURES_REQUIRED += periph_rtc diff --git a/tests/periph_backup_ram/Makefile.ci b/tests/periph/backup_ram/Makefile.ci similarity index 100% rename from tests/periph_backup_ram/Makefile.ci rename to tests/periph/backup_ram/Makefile.ci diff --git a/tests/periph_backup_ram/README.md b/tests/periph/backup_ram/README.md similarity index 100% rename from tests/periph_backup_ram/README.md rename to tests/periph/backup_ram/README.md diff --git a/tests/periph_backup_ram/app.config.test b/tests/periph/backup_ram/app.config.test similarity index 100% rename from tests/periph_backup_ram/app.config.test rename to tests/periph/backup_ram/app.config.test diff --git a/tests/periph_backup_ram/main.c b/tests/periph/backup_ram/main.c similarity index 100% rename from tests/periph_backup_ram/main.c rename to tests/periph/backup_ram/main.c diff --git a/tests/periph_cpuid/Makefile b/tests/periph/cpuid/Makefile similarity index 67% rename from tests/periph_cpuid/Makefile rename to tests/periph/cpuid/Makefile index dadc77f857..dd172785af 100644 --- a/tests/periph_cpuid/Makefile +++ b/tests/periph/cpuid/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_cpuid diff --git a/tests/periph_cpuid/app.config.test b/tests/periph/cpuid/app.config.test similarity index 100% rename from tests/periph_cpuid/app.config.test rename to tests/periph/cpuid/app.config.test diff --git a/tests/periph_cpuid/main.c b/tests/periph/cpuid/main.c similarity index 100% rename from tests/periph_cpuid/main.c rename to tests/periph/cpuid/main.c diff --git a/tests/periph_cpuid/tests/01-run.py b/tests/periph/cpuid/tests/01-run.py similarity index 100% rename from tests/periph_cpuid/tests/01-run.py rename to tests/periph/cpuid/tests/01-run.py diff --git a/tests/periph_dac/Makefile b/tests/periph/dac/Makefile similarity index 77% rename from tests/periph_dac/Makefile rename to tests/periph/dac/Makefile index 9bdc7ac5d0..ec7683eef7 100644 --- a/tests/periph_dac/Makefile +++ b/tests/periph/dac/Makefile @@ -1,5 +1,5 @@ BOARD ?= stm32f4discovery -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_dac USEMODULE += xtimer diff --git a/tests/periph_dac/README.md b/tests/periph/dac/README.md similarity index 100% rename from tests/periph_dac/README.md rename to tests/periph/dac/README.md diff --git a/tests/periph_dac/app.config.test b/tests/periph/dac/app.config.test similarity index 100% rename from tests/periph_dac/app.config.test rename to tests/periph/dac/app.config.test diff --git a/tests/periph_dac/main.c b/tests/periph/dac/main.c similarity index 100% rename from tests/periph_dac/main.c rename to tests/periph/dac/main.c diff --git a/tests/periph_dma/Makefile b/tests/periph/dma/Makefile similarity index 73% rename from tests/periph_dma/Makefile rename to tests/periph/dma/Makefile index d7027c34b3..0f9803c50f 100644 --- a/tests/periph_dma/Makefile +++ b/tests/periph/dma/Makefile @@ -1,6 +1,6 @@ BOARD ?= samr34-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_dma diff --git a/tests/periph_dma/app.config.test b/tests/periph/dma/app.config.test similarity index 100% rename from tests/periph_dma/app.config.test rename to tests/periph/dma/app.config.test diff --git a/tests/periph_dma/main.c b/tests/periph/dma/main.c similarity index 100% rename from tests/periph_dma/main.c rename to tests/periph/dma/main.c diff --git a/tests/periph_dma/tests/01-run.py b/tests/periph/dma/tests/01-run.py similarity index 100% rename from tests/periph_dma/tests/01-run.py rename to tests/periph/dma/tests/01-run.py diff --git a/tests/periph_eeprom/Makefile b/tests/periph/eeprom/Makefile similarity index 79% rename from tests/periph_eeprom/Makefile rename to tests/periph/eeprom/Makefile index 0bff463434..7ff3ba7a86 100644 --- a/tests/periph_eeprom/Makefile +++ b/tests/periph/eeprom/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_eeprom diff --git a/tests/periph_eeprom/Makefile.ci b/tests/periph/eeprom/Makefile.ci similarity index 100% rename from tests/periph_eeprom/Makefile.ci rename to tests/periph/eeprom/Makefile.ci diff --git a/tests/periph_eeprom/README.md b/tests/periph/eeprom/README.md similarity index 100% rename from tests/periph_eeprom/README.md rename to tests/periph/eeprom/README.md diff --git a/tests/periph_eeprom/app.config.test b/tests/periph/eeprom/app.config.test similarity index 100% rename from tests/periph_eeprom/app.config.test rename to tests/periph/eeprom/app.config.test diff --git a/tests/periph_eeprom/main.c b/tests/periph/eeprom/main.c similarity index 100% rename from tests/periph_eeprom/main.c rename to tests/periph/eeprom/main.c diff --git a/tests/periph_eeprom/tests/01-run.py b/tests/periph/eeprom/tests/01-run.py similarity index 100% rename from tests/periph_eeprom/tests/01-run.py rename to tests/periph/eeprom/tests/01-run.py diff --git a/tests/periph_flashpage/Kconfig b/tests/periph/flashpage/Kconfig similarity index 100% rename from tests/periph_flashpage/Kconfig rename to tests/periph/flashpage/Kconfig diff --git a/tests/periph_flashpage/Makefile b/tests/periph/flashpage/Makefile similarity index 92% rename from tests/periph_flashpage/Makefile rename to tests/periph/flashpage/Makefile index f105886fbc..591f9c5530 100644 --- a/tests/periph_flashpage/Makefile +++ b/tests/periph/flashpage/Makefile @@ -1,5 +1,5 @@ BOARD ?= iotlab-m3 -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_flashpage FEATURES_OPTIONAL += periph_flashpage_in_address_space diff --git a/tests/periph_flashpage/Makefile.ci b/tests/periph/flashpage/Makefile.ci similarity index 100% rename from tests/periph_flashpage/Makefile.ci rename to tests/periph/flashpage/Makefile.ci diff --git a/tests/periph_flashpage/README.md b/tests/periph/flashpage/README.md similarity index 100% rename from tests/periph_flashpage/README.md rename to tests/periph/flashpage/README.md diff --git a/tests/periph_flashpage/app.config.test b/tests/periph/flashpage/app.config.test similarity index 100% rename from tests/periph_flashpage/app.config.test rename to tests/periph/flashpage/app.config.test diff --git a/tests/periph_flashpage/main.c b/tests/periph/flashpage/main.c similarity index 100% rename from tests/periph_flashpage/main.c rename to tests/periph/flashpage/main.c diff --git a/tests/periph_flashpage/tests/01-run.py b/tests/periph/flashpage/tests/01-run.py similarity index 100% rename from tests/periph_flashpage/tests/01-run.py rename to tests/periph/flashpage/tests/01-run.py diff --git a/tests/periph_flashpage_unittest/Makefile b/tests/periph/flashpage_unittest/Makefile similarity index 84% rename from tests/periph_flashpage_unittest/Makefile rename to tests/periph/flashpage_unittest/Makefile index cf1c74c85c..3d0ee9c921 100644 --- a/tests/periph_flashpage_unittest/Makefile +++ b/tests/periph/flashpage_unittest/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_flashpage diff --git a/tests/periph_flashpage_unittest/app.config.test b/tests/periph/flashpage_unittest/app.config.test similarity index 100% rename from tests/periph_flashpage_unittest/app.config.test rename to tests/periph/flashpage_unittest/app.config.test diff --git a/tests/periph_flashpage_unittest/main.c b/tests/periph/flashpage_unittest/main.c similarity index 100% rename from tests/periph_flashpage_unittest/main.c rename to tests/periph/flashpage_unittest/main.c diff --git a/tests/periph_flashpage_unittest/tests/01-run.py b/tests/periph/flashpage_unittest/tests/01-run.py similarity index 100% rename from tests/periph_flashpage_unittest/tests/01-run.py rename to tests/periph/flashpage_unittest/tests/01-run.py diff --git a/tests/periph_gpio/Kconfig b/tests/periph/gpio/Kconfig similarity index 100% rename from tests/periph_gpio/Kconfig rename to tests/periph/gpio/Kconfig diff --git a/tests/periph_gpio/Makefile b/tests/periph/gpio/Makefile similarity index 96% rename from tests/periph_gpio/Makefile rename to tests/periph/gpio/Makefile index ec2df92239..362cce1e62 100644 --- a/tests/periph_gpio/Makefile +++ b/tests/periph/gpio/Makefile @@ -1,6 +1,6 @@ BOARD ?= samr34-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_gpio FEATURES_OPTIONAL += periph_gpio_irq diff --git a/tests/periph_gpio/Makefile.ci b/tests/periph/gpio/Makefile.ci similarity index 100% rename from tests/periph_gpio/Makefile.ci rename to tests/periph/gpio/Makefile.ci diff --git a/tests/periph_gpio/app.config.test b/tests/periph/gpio/app.config.test similarity index 100% rename from tests/periph_gpio/app.config.test rename to tests/periph/gpio/app.config.test diff --git a/tests/periph_gpio/app.config.test.native b/tests/periph/gpio/app.config.test.native similarity index 100% rename from tests/periph_gpio/app.config.test.native rename to tests/periph/gpio/app.config.test.native diff --git a/tests/periph_gpio/main.c b/tests/periph/gpio/main.c similarity index 100% rename from tests/periph_gpio/main.c rename to tests/periph/gpio/main.c diff --git a/tests/periph_gpio/tests/02-bench.py b/tests/periph/gpio/tests/02-bench.py similarity index 100% rename from tests/periph_gpio/tests/02-bench.py rename to tests/periph/gpio/tests/02-bench.py diff --git a/tests/periph_gpio_arduino/Makefile b/tests/periph/gpio_arduino/Makefile similarity index 80% rename from tests/periph_gpio_arduino/Makefile rename to tests/periph/gpio_arduino/Makefile index 36de428013..2ad7c34ead 100644 --- a/tests/periph_gpio_arduino/Makefile +++ b/tests/periph/gpio_arduino/Makefile @@ -1,6 +1,6 @@ BOARD ?= nucleo-f767zi -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_gpio diff --git a/tests/periph_gpio_arduino/Makefile.ci b/tests/periph/gpio_arduino/Makefile.ci similarity index 100% rename from tests/periph_gpio_arduino/Makefile.ci rename to tests/periph/gpio_arduino/Makefile.ci diff --git a/tests/periph_gpio_arduino/README.md b/tests/periph/gpio_arduino/README.md similarity index 100% rename from tests/periph_gpio_arduino/README.md rename to tests/periph/gpio_arduino/README.md diff --git a/tests/periph_gpio_arduino/app.config.test b/tests/periph/gpio_arduino/app.config.test similarity index 100% rename from tests/periph_gpio_arduino/app.config.test rename to tests/periph/gpio_arduino/app.config.test diff --git a/tests/periph_gpio_arduino/main.sketch b/tests/periph/gpio_arduino/main.sketch similarity index 100% rename from tests/periph_gpio_arduino/main.sketch rename to tests/periph/gpio_arduino/main.sketch diff --git a/tests/periph_gpio_ll/.gitignore b/tests/periph/gpio_ll/.gitignore similarity index 100% rename from tests/periph_gpio_ll/.gitignore rename to tests/periph/gpio_ll/.gitignore diff --git a/tests/periph_gpio_ll/Makefile b/tests/periph/gpio_ll/Makefile similarity index 97% rename from tests/periph_gpio_ll/Makefile rename to tests/periph/gpio_ll/Makefile index a87abfd096..3ef4275489 100644 --- a/tests/periph_gpio_ll/Makefile +++ b/tests/periph/gpio_ll/Makefile @@ -27,7 +27,7 @@ ifneq (,$(filter $(BOARD),$(LOW_ROM_BOARDS))) endif LOW_ROM ?= 0 -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_gpio_ll FEATURES_OPTIONAL += periph_gpio_ll_irq diff --git a/tests/periph_gpio_ll/README.md b/tests/periph/gpio_ll/README.md similarity index 100% rename from tests/periph_gpio_ll/README.md rename to tests/periph/gpio_ll/README.md diff --git a/tests/periph_gpio_ll/main.c b/tests/periph/gpio_ll/main.c similarity index 100% rename from tests/periph_gpio_ll/main.c rename to tests/periph/gpio_ll/main.c diff --git a/tests/periph_gpio_ll/tests-with-config/01-run.py b/tests/periph/gpio_ll/tests-with-config/01-run.py similarity index 100% rename from tests/periph_gpio_ll/tests-with-config/01-run.py rename to tests/periph/gpio_ll/tests-with-config/01-run.py diff --git a/tests/periph_hwrng/Makefile b/tests/periph/hwrng/Makefile similarity index 73% rename from tests/periph_hwrng/Makefile rename to tests/periph/hwrng/Makefile index 9076de54e4..6501952d0d 100644 --- a/tests/periph_hwrng/Makefile +++ b/tests/periph/hwrng/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_hwrng diff --git a/tests/periph_hwrng/README.md b/tests/periph/hwrng/README.md similarity index 100% rename from tests/periph_hwrng/README.md rename to tests/periph/hwrng/README.md diff --git a/tests/periph_hwrng/app.config.test b/tests/periph/hwrng/app.config.test similarity index 100% rename from tests/periph_hwrng/app.config.test rename to tests/periph/hwrng/app.config.test diff --git a/tests/periph_hwrng/main.c b/tests/periph/hwrng/main.c similarity index 100% rename from tests/periph_hwrng/main.c rename to tests/periph/hwrng/main.c diff --git a/tests/periph_hwrng/tests/01-run.py b/tests/periph/hwrng/tests/01-run.py similarity index 100% rename from tests/periph_hwrng/tests/01-run.py rename to tests/periph/hwrng/tests/01-run.py diff --git a/tests/periph_i2c/Kconfig b/tests/periph/i2c/Kconfig similarity index 100% rename from tests/periph_i2c/Kconfig rename to tests/periph/i2c/Kconfig diff --git a/tests/periph_i2c/Makefile b/tests/periph/i2c/Makefile similarity index 91% rename from tests/periph_i2c/Makefile rename to tests/periph/i2c/Makefile index 3af589e9f6..40486a9d00 100644 --- a/tests/periph_i2c/Makefile +++ b/tests/periph/i2c/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_i2c FEATURES_OPTIONAL = periph_i2c_reconfigure diff --git a/tests/periph_i2c/Makefile.ci b/tests/periph/i2c/Makefile.ci similarity index 100% rename from tests/periph_i2c/Makefile.ci rename to tests/periph/i2c/Makefile.ci diff --git a/tests/periph_i2c/README.md b/tests/periph/i2c/README.md similarity index 100% rename from tests/periph_i2c/README.md rename to tests/periph/i2c/README.md diff --git a/tests/periph_i2c/app.config.test b/tests/periph/i2c/app.config.test similarity index 100% rename from tests/periph_i2c/app.config.test rename to tests/periph/i2c/app.config.test diff --git a/tests/periph_i2c/main.c b/tests/periph/i2c/main.c similarity index 100% rename from tests/periph_i2c/main.c rename to tests/periph/i2c/main.c diff --git a/tests/periph_ltdc/Makefile b/tests/periph/ltdc/Makefile similarity index 86% rename from tests/periph_ltdc/Makefile rename to tests/periph/ltdc/Makefile index 3208c784bb..601d587383 100644 --- a/tests/periph_ltdc/Makefile +++ b/tests/periph/ltdc/Makefile @@ -1,5 +1,5 @@ BOARD ?= stm32f746g-disco -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_ltdc diff --git a/tests/periph_ltdc/main.c b/tests/periph/ltdc/main.c similarity index 100% rename from tests/periph_ltdc/main.c rename to tests/periph/ltdc/main.c diff --git a/tests/periph_pm/Kconfig b/tests/periph/pm/Kconfig similarity index 100% rename from tests/periph_pm/Kconfig rename to tests/periph/pm/Kconfig diff --git a/tests/periph_pm/Makefile b/tests/periph/pm/Makefile similarity index 86% rename from tests/periph_pm/Makefile rename to tests/periph/pm/Makefile index e8ce34f2b3..64531d2626 100644 --- a/tests/periph_pm/Makefile +++ b/tests/periph/pm/Makefile @@ -1,5 +1,5 @@ BOARD ?= slstk3401a -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_OPTIONAL += periph_rtc FEATURES_OPTIONAL += periph_gpio_irq diff --git a/tests/periph_pm/Makefile.board.dep b/tests/periph/pm/Makefile.board.dep similarity index 100% rename from tests/periph_pm/Makefile.board.dep rename to tests/periph/pm/Makefile.board.dep diff --git a/tests/periph_pm/Makefile.ci b/tests/periph/pm/Makefile.ci similarity index 100% rename from tests/periph_pm/Makefile.ci rename to tests/periph/pm/Makefile.ci diff --git a/tests/periph_pm/README.md b/tests/periph/pm/README.md similarity index 100% rename from tests/periph_pm/README.md rename to tests/periph/pm/README.md diff --git a/tests/periph_pm/app.config.test b/tests/periph/pm/app.config.test similarity index 100% rename from tests/periph_pm/app.config.test rename to tests/periph/pm/app.config.test diff --git a/tests/periph_pm/main.c b/tests/periph/pm/main.c similarity index 100% rename from tests/periph_pm/main.c rename to tests/periph/pm/main.c diff --git a/tests/periph_ptp_clock/Makefile b/tests/periph/ptp_clock/Makefile similarity index 89% rename from tests/periph_ptp_clock/Makefile rename to tests/periph/ptp_clock/Makefile index 69aaf1a546..53a066f11e 100644 --- a/tests/periph_ptp_clock/Makefile +++ b/tests/periph/ptp_clock/Makefile @@ -1,5 +1,5 @@ BOARD ?= nucleo-f767zi -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_ptp FEATURES_OPTIONAL += periph_ptp_speed_adjustment diff --git a/tests/periph_ptp_clock/README.md b/tests/periph/ptp_clock/README.md similarity index 100% rename from tests/periph_ptp_clock/README.md rename to tests/periph/ptp_clock/README.md diff --git a/tests/periph_ptp_clock/main.c b/tests/periph/ptp_clock/main.c similarity index 100% rename from tests/periph_ptp_clock/main.c rename to tests/periph/ptp_clock/main.c diff --git a/tests/periph_ptp_clock/tests/01-run.py b/tests/periph/ptp_clock/tests/01-run.py similarity index 100% rename from tests/periph_ptp_clock/tests/01-run.py rename to tests/periph/ptp_clock/tests/01-run.py diff --git a/tests/periph_ptp_timer/Makefile b/tests/periph/ptp_timer/Makefile similarity index 80% rename from tests/periph_ptp_timer/Makefile rename to tests/periph/ptp_timer/Makefile index 2659ba0356..3766b7f769 100644 --- a/tests/periph_ptp_timer/Makefile +++ b/tests/periph/ptp_timer/Makefile @@ -1,5 +1,5 @@ BOARD ?= nucleo-f767zi -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_ptp_timer diff --git a/tests/periph_ptp_timer/README.md b/tests/periph/ptp_timer/README.md similarity index 100% rename from tests/periph_ptp_timer/README.md rename to tests/periph/ptp_timer/README.md diff --git a/tests/periph_ptp_timer/main.c b/tests/periph/ptp_timer/main.c similarity index 100% rename from tests/periph_ptp_timer/main.c rename to tests/periph/ptp_timer/main.c diff --git a/tests/periph_ptp_timer/tests/01-run.py b/tests/periph/ptp_timer/tests/01-run.py similarity index 100% rename from tests/periph_ptp_timer/tests/01-run.py rename to tests/periph/ptp_timer/tests/01-run.py diff --git a/tests/periph_pwm/Makefile b/tests/periph/pwm/Makefile similarity index 79% rename from tests/periph_pwm/Makefile rename to tests/periph/pwm/Makefile index ab079f2f72..083ee9c6cb 100644 --- a/tests/periph_pwm/Makefile +++ b/tests/periph/pwm/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_pwm diff --git a/tests/periph_pwm/Makefile.ci b/tests/periph/pwm/Makefile.ci similarity index 100% rename from tests/periph_pwm/Makefile.ci rename to tests/periph/pwm/Makefile.ci diff --git a/tests/periph_pwm/README.md b/tests/periph/pwm/README.md similarity index 100% rename from tests/periph_pwm/README.md rename to tests/periph/pwm/README.md diff --git a/tests/periph_pwm/app.config.test b/tests/periph/pwm/app.config.test similarity index 100% rename from tests/periph_pwm/app.config.test rename to tests/periph/pwm/app.config.test diff --git a/tests/periph_pwm/main.c b/tests/periph/pwm/main.c similarity index 100% rename from tests/periph_pwm/main.c rename to tests/periph/pwm/main.c diff --git a/tests/periph_qdec/Makefile b/tests/periph/qdec/Makefile similarity index 86% rename from tests/periph_qdec/Makefile rename to tests/periph/qdec/Makefile index fc88216267..4e72895026 100644 --- a/tests/periph_qdec/Makefile +++ b/tests/periph/qdec/Makefile @@ -1,5 +1,5 @@ BOARD ?= nucleo-f401re -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_qdec diff --git a/tests/periph_qdec/README.md b/tests/periph/qdec/README.md similarity index 100% rename from tests/periph_qdec/README.md rename to tests/periph/qdec/README.md diff --git a/tests/periph_qdec/app.config.test b/tests/periph/qdec/app.config.test similarity index 100% rename from tests/periph_qdec/app.config.test rename to tests/periph/qdec/app.config.test diff --git a/tests/periph_qdec/boards_modded/nrf52840dk_mod/Kconfig b/tests/periph/qdec/boards_modded/nrf52840dk_mod/Kconfig similarity index 100% rename from tests/periph_qdec/boards_modded/nrf52840dk_mod/Kconfig rename to tests/periph/qdec/boards_modded/nrf52840dk_mod/Kconfig diff --git a/tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile b/tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile similarity index 100% rename from tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile rename to tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile diff --git a/tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile.dep b/tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile.dep similarity index 100% rename from tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile.dep rename to tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile.dep diff --git a/tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile.features b/tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile.features similarity index 100% rename from tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile.features rename to tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile.features diff --git a/tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile.include b/tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile.include similarity index 100% rename from tests/periph_qdec/boards_modded/nrf52840dk_mod/Makefile.include rename to tests/periph/qdec/boards_modded/nrf52840dk_mod/Makefile.include diff --git a/tests/periph/qdec/boards_modded/nrf52840dk_mod/include/board.h b/tests/periph/qdec/boards_modded/nrf52840dk_mod/include/board.h new file mode 120000 index 0000000000..2dc6f87ec4 --- /dev/null +++ b/tests/periph/qdec/boards_modded/nrf52840dk_mod/include/board.h @@ -0,0 +1 @@ +../../../../../../boards/nrf52840dk/include/board.h \ No newline at end of file diff --git a/tests/periph_qdec/boards_modded/nrf52840dk_mod/include/periph_conf.h b/tests/periph/qdec/boards_modded/nrf52840dk_mod/include/periph_conf.h similarity index 100% rename from tests/periph_qdec/boards_modded/nrf52840dk_mod/include/periph_conf.h rename to tests/periph/qdec/boards_modded/nrf52840dk_mod/include/periph_conf.h diff --git a/tests/periph_qdec/main.c b/tests/periph/qdec/main.c similarity index 100% rename from tests/periph_qdec/main.c rename to tests/periph/qdec/main.c diff --git a/tests/periph_rtc/Kconfig b/tests/periph/rtc/Kconfig similarity index 100% rename from tests/periph_rtc/Kconfig rename to tests/periph/rtc/Kconfig diff --git a/tests/periph_rtc/Makefile b/tests/periph/rtc/Makefile similarity index 88% rename from tests/periph_rtc/Makefile rename to tests/periph/rtc/Makefile index eef8bb11ac..a16ff91cda 100644 --- a/tests/periph_rtc/Makefile +++ b/tests/periph/rtc/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_rtc FEATURES_OPTIONAL += periph_rtc_ms diff --git a/tests/periph_rtc/README.md b/tests/periph/rtc/README.md similarity index 100% rename from tests/periph_rtc/README.md rename to tests/periph/rtc/README.md diff --git a/tests/periph_rtc/app.config.test b/tests/periph/rtc/app.config.test similarity index 100% rename from tests/periph_rtc/app.config.test rename to tests/periph/rtc/app.config.test diff --git a/tests/periph_rtc/main.c b/tests/periph/rtc/main.c similarity index 100% rename from tests/periph_rtc/main.c rename to tests/periph/rtc/main.c diff --git a/tests/periph_rtc/tests/01-run.py b/tests/periph/rtc/tests/01-run.py similarity index 100% rename from tests/periph_rtc/tests/01-run.py rename to tests/periph/rtc/tests/01-run.py diff --git a/tests/periph_rtt/Kconfig b/tests/periph/rtt/Kconfig similarity index 100% rename from tests/periph_rtt/Kconfig rename to tests/periph/rtt/Kconfig diff --git a/tests/periph_rtt/Makefile b/tests/periph/rtt/Makefile similarity index 95% rename from tests/periph_rtt/Makefile rename to tests/periph/rtt/Makefile index 7ed6dd6b5d..bbf95df68b 100644 --- a/tests/periph_rtt/Makefile +++ b/tests/periph/rtt/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_rtt FEATURES_OPTIONAL += periph_rtt_set_counter diff --git a/tests/periph_rtt/README.md b/tests/periph/rtt/README.md similarity index 100% rename from tests/periph_rtt/README.md rename to tests/periph/rtt/README.md diff --git a/tests/periph_rtt/app.config.test b/tests/periph/rtt/app.config.test similarity index 100% rename from tests/periph_rtt/app.config.test rename to tests/periph/rtt/app.config.test diff --git a/tests/periph_rtt/main.c b/tests/periph/rtt/main.c similarity index 100% rename from tests/periph_rtt/main.c rename to tests/periph/rtt/main.c diff --git a/tests/periph_rtt/tests/01-run.py b/tests/periph/rtt/tests/01-run.py similarity index 100% rename from tests/periph_rtt/tests/01-run.py rename to tests/periph/rtt/tests/01-run.py diff --git a/tests/periph_rtt_min/Makefile b/tests/periph/rtt_min/Makefile similarity index 93% rename from tests/periph_rtt_min/Makefile rename to tests/periph/rtt_min/Makefile index ce0beb4b3b..754ce21703 100644 --- a/tests/periph_rtt_min/Makefile +++ b/tests/periph/rtt_min/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common USEMODULE += xtimer diff --git a/tests/periph_rtt_min/README.md b/tests/periph/rtt_min/README.md similarity index 100% rename from tests/periph_rtt_min/README.md rename to tests/periph/rtt_min/README.md diff --git a/tests/periph_rtt_min/app.config.test b/tests/periph/rtt_min/app.config.test similarity index 100% rename from tests/periph_rtt_min/app.config.test rename to tests/periph/rtt_min/app.config.test diff --git a/tests/periph_rtt_min/main.c b/tests/periph/rtt_min/main.c similarity index 100% rename from tests/periph_rtt_min/main.c rename to tests/periph/rtt_min/main.c diff --git a/tests/periph_rtt_min/tests/01-run.py b/tests/periph/rtt_min/tests/01-run.py similarity index 100% rename from tests/periph_rtt_min/tests/01-run.py rename to tests/periph/rtt_min/tests/01-run.py diff --git a/tests/periph_spi/Kconfig b/tests/periph/spi/Kconfig similarity index 100% rename from tests/periph_spi/Kconfig rename to tests/periph/spi/Kconfig diff --git a/tests/periph_spi/Makefile b/tests/periph/spi/Makefile similarity index 92% rename from tests/periph_spi/Makefile rename to tests/periph/spi/Makefile index a202779bbe..96892a362c 100644 --- a/tests/periph_spi/Makefile +++ b/tests/periph/spi/Makefile @@ -1,5 +1,5 @@ BOARD ?= samr21-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common LOW_MEMORY_BOARDS := samd10-xmini diff --git a/tests/periph_spi/Makefile.ci b/tests/periph/spi/Makefile.ci similarity index 100% rename from tests/periph_spi/Makefile.ci rename to tests/periph/spi/Makefile.ci diff --git a/tests/periph_spi/README.md b/tests/periph/spi/README.md similarity index 100% rename from tests/periph_spi/README.md rename to tests/periph/spi/README.md diff --git a/tests/periph_spi/app.config.test b/tests/periph/spi/app.config.test similarity index 100% rename from tests/periph_spi/app.config.test rename to tests/periph/spi/app.config.test diff --git a/tests/periph_spi/main.c b/tests/periph/spi/main.c similarity index 100% rename from tests/periph_spi/main.c rename to tests/periph/spi/main.c diff --git a/tests/periph_spi_dma/Kconfig b/tests/periph/spi_dma/Kconfig similarity index 100% rename from tests/periph_spi_dma/Kconfig rename to tests/periph/spi_dma/Kconfig diff --git a/tests/periph_spi_dma/Makefile b/tests/periph/spi_dma/Makefile similarity index 72% rename from tests/periph_spi_dma/Makefile rename to tests/periph/spi_dma/Makefile index 5ee4c4e730..4dade810e0 100644 --- a/tests/periph_spi_dma/Makefile +++ b/tests/periph/spi_dma/Makefile @@ -1,3 +1,3 @@ FEATURES_REQUIRED += periph_dma # Include everything else from the periph_spi test -include ../periph_spi/Makefile +include ../spi/Makefile diff --git a/tests/periph_spi_dma/Makefile.ci b/tests/periph/spi_dma/Makefile.ci similarity index 81% rename from tests/periph_spi_dma/Makefile.ci rename to tests/periph/spi_dma/Makefile.ci index d0a370493e..df2e10ce92 100644 --- a/tests/periph_spi_dma/Makefile.ci +++ b/tests/periph/spi_dma/Makefile.ci @@ -1,6 +1,6 @@ # Boards not able to accomodate the regular SPI test will not be able to link # this test. -include ../periph_spi/Makefile.ci +include ../spi/Makefile.ci BOARD_INSUFFICIENT_MEMORY += \ samd10-xmini \ # diff --git a/tests/periph_spi_dma/README.md b/tests/periph/spi_dma/README.md similarity index 100% rename from tests/periph_spi_dma/README.md rename to tests/periph/spi_dma/README.md diff --git a/tests/periph_spi_dma/app.config.test b/tests/periph/spi_dma/app.config.test similarity index 100% rename from tests/periph_spi_dma/app.config.test rename to tests/periph/spi_dma/app.config.test diff --git a/tests/periph/spi_dma/main.c b/tests/periph/spi_dma/main.c new file mode 120000 index 0000000000..4f590c65b5 --- /dev/null +++ b/tests/periph/spi_dma/main.c @@ -0,0 +1 @@ +../spi/main.c \ No newline at end of file diff --git a/tests/periph_timer/Makefile b/tests/periph/timer/Makefile similarity index 97% rename from tests/periph_timer/Makefile rename to tests/periph/timer/Makefile index ddfd840eee..99274fa4a6 100644 --- a/tests/periph_timer/Makefile +++ b/tests/periph/timer/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_timer diff --git a/tests/periph_timer/README.md b/tests/periph/timer/README.md similarity index 100% rename from tests/periph_timer/README.md rename to tests/periph/timer/README.md diff --git a/tests/periph_timer/app.config.test b/tests/periph/timer/app.config.test similarity index 100% rename from tests/periph_timer/app.config.test rename to tests/periph/timer/app.config.test diff --git a/tests/periph_timer/main.c b/tests/periph/timer/main.c similarity index 100% rename from tests/periph_timer/main.c rename to tests/periph/timer/main.c diff --git a/tests/periph_timer/tests/01-run.py b/tests/periph/timer/tests/01-run.py similarity index 100% rename from tests/periph_timer/tests/01-run.py rename to tests/periph/timer/tests/01-run.py diff --git a/tests/periph_timer_periodic/Makefile b/tests/periph/timer_periodic/Makefile similarity index 74% rename from tests/periph_timer_periodic/Makefile rename to tests/periph/timer_periodic/Makefile index b756db5c95..c894723314 100644 --- a/tests/periph_timer_periodic/Makefile +++ b/tests/periph/timer_periodic/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_timer_periodic diff --git a/tests/periph_timer_periodic/app.config.test b/tests/periph/timer_periodic/app.config.test similarity index 100% rename from tests/periph_timer_periodic/app.config.test rename to tests/periph/timer_periodic/app.config.test diff --git a/tests/periph_timer_periodic/main.c b/tests/periph/timer_periodic/main.c similarity index 100% rename from tests/periph_timer_periodic/main.c rename to tests/periph/timer_periodic/main.c diff --git a/tests/periph_timer_periodic/tests/01-run.py b/tests/periph/timer_periodic/tests/01-run.py similarity index 100% rename from tests/periph_timer_periodic/tests/01-run.py rename to tests/periph/timer_periodic/tests/01-run.py diff --git a/tests/periph_timer_short_relative_set/Makefile b/tests/periph/timer_short_relative_set/Makefile similarity index 95% rename from tests/periph_timer_short_relative_set/Makefile rename to tests/periph/timer_short_relative_set/Makefile index 1068a95143..e14026bc98 100644 --- a/tests/periph_timer_short_relative_set/Makefile +++ b/tests/periph/timer_short_relative_set/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED = periph_timer diff --git a/tests/periph_timer_short_relative_set/README.md b/tests/periph/timer_short_relative_set/README.md similarity index 100% rename from tests/periph_timer_short_relative_set/README.md rename to tests/periph/timer_short_relative_set/README.md diff --git a/tests/periph_timer_short_relative_set/app.config.test b/tests/periph/timer_short_relative_set/app.config.test similarity index 100% rename from tests/periph_timer_short_relative_set/app.config.test rename to tests/periph/timer_short_relative_set/app.config.test diff --git a/tests/periph_timer_short_relative_set/main.c b/tests/periph/timer_short_relative_set/main.c similarity index 100% rename from tests/periph_timer_short_relative_set/main.c rename to tests/periph/timer_short_relative_set/main.c diff --git a/tests/periph_timer_short_relative_set/tests/01-run.py b/tests/periph/timer_short_relative_set/tests/01-run.py similarity index 100% rename from tests/periph_timer_short_relative_set/tests/01-run.py rename to tests/periph/timer_short_relative_set/tests/01-run.py diff --git a/tests/periph_uart/Kconfig b/tests/periph/uart/Kconfig similarity index 100% rename from tests/periph_uart/Kconfig rename to tests/periph/uart/Kconfig diff --git a/tests/periph_uart/Makefile b/tests/periph/uart/Makefile similarity index 91% rename from tests/periph_uart/Makefile rename to tests/periph/uart/Makefile index 37ef5e1065..7af315cc10 100644 --- a/tests/periph_uart/Makefile +++ b/tests/periph/uart/Makefile @@ -1,4 +1,4 @@ -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_uart FEATURES_OPTIONAL += periph_lpuart # STM32 L0 and L4 provides lpuart support diff --git a/tests/periph_uart/Makefile.ci b/tests/periph/uart/Makefile.ci similarity index 100% rename from tests/periph_uart/Makefile.ci rename to tests/periph/uart/Makefile.ci diff --git a/tests/periph_uart/README.md b/tests/periph/uart/README.md similarity index 100% rename from tests/periph_uart/README.md rename to tests/periph/uart/README.md diff --git a/tests/periph_uart/app.config.test b/tests/periph/uart/app.config.test similarity index 100% rename from tests/periph_uart/app.config.test rename to tests/periph/uart/app.config.test diff --git a/tests/periph_uart/main.c b/tests/periph/uart/main.c similarity index 100% rename from tests/periph_uart/main.c rename to tests/periph/uart/main.c diff --git a/tests/periph_uart_mode/Makefile b/tests/periph/uart_mode/Makefile similarity index 88% rename from tests/periph_uart_mode/Makefile rename to tests/periph/uart_mode/Makefile index 4c72eee91d..c1eec206de 100644 --- a/tests/periph_uart_mode/Makefile +++ b/tests/periph/uart_mode/Makefile @@ -1,6 +1,6 @@ BOARD ?= samr34-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_uart FEATURES_REQUIRED += periph_uart_modecfg diff --git a/tests/periph_uart_mode/Makefile.board.dep b/tests/periph/uart_mode/Makefile.board.dep similarity index 100% rename from tests/periph_uart_mode/Makefile.board.dep rename to tests/periph/uart_mode/Makefile.board.dep diff --git a/tests/periph_uart_mode/Makefile.ci b/tests/periph/uart_mode/Makefile.ci similarity index 100% rename from tests/periph_uart_mode/Makefile.ci rename to tests/periph/uart_mode/Makefile.ci diff --git a/tests/periph_uart_mode/README.md b/tests/periph/uart_mode/README.md similarity index 100% rename from tests/periph_uart_mode/README.md rename to tests/periph/uart_mode/README.md diff --git a/tests/periph_uart_mode/app.config.test b/tests/periph/uart_mode/app.config.test similarity index 100% rename from tests/periph_uart_mode/app.config.test rename to tests/periph/uart_mode/app.config.test diff --git a/tests/periph_uart_mode/main.c b/tests/periph/uart_mode/main.c similarity index 100% rename from tests/periph_uart_mode/main.c rename to tests/periph/uart_mode/main.c diff --git a/tests/periph_uart_nonblocking/Makefile b/tests/periph/uart_nonblocking/Makefile similarity index 79% rename from tests/periph_uart_nonblocking/Makefile rename to tests/periph/uart_nonblocking/Makefile index 0cfabfd392..894dcfb32c 100644 --- a/tests/periph_uart_nonblocking/Makefile +++ b/tests/periph/uart_nonblocking/Makefile @@ -1,6 +1,6 @@ BOARD ?= samr34-xpro -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_uart_nonblocking USEMODULE += ztimer_usec diff --git a/tests/periph_uart_nonblocking/app.config.test b/tests/periph/uart_nonblocking/app.config.test similarity index 100% rename from tests/periph_uart_nonblocking/app.config.test rename to tests/periph/uart_nonblocking/app.config.test diff --git a/tests/periph_uart_nonblocking/main.c b/tests/periph/uart_nonblocking/main.c similarity index 100% rename from tests/periph_uart_nonblocking/main.c rename to tests/periph/uart_nonblocking/main.c diff --git a/tests/periph_uart_nonblocking/tests/01-run.py b/tests/periph/uart_nonblocking/tests/01-run.py similarity index 100% rename from tests/periph_uart_nonblocking/tests/01-run.py rename to tests/periph/uart_nonblocking/tests/01-run.py diff --git a/tests/periph_vbat/Makefile b/tests/periph/vbat/Makefile similarity index 79% rename from tests/periph_vbat/Makefile rename to tests/periph/vbat/Makefile index 06e51d3ac2..b8a4d76e47 100644 --- a/tests/periph_vbat/Makefile +++ b/tests/periph/vbat/Makefile @@ -1,6 +1,6 @@ BOARD ?= nucleo-f767zi -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_vbat USEMODULE += ztimer ztimer_msec diff --git a/tests/periph_vbat/README.md b/tests/periph/vbat/README.md similarity index 100% rename from tests/periph_vbat/README.md rename to tests/periph/vbat/README.md diff --git a/tests/periph_vbat/app.config.test b/tests/periph/vbat/app.config.test similarity index 100% rename from tests/periph_vbat/app.config.test rename to tests/periph/vbat/app.config.test diff --git a/tests/periph_vbat/main.c b/tests/periph/vbat/main.c similarity index 100% rename from tests/periph_vbat/main.c rename to tests/periph/vbat/main.c diff --git a/tests/periph_wdt/Makefile b/tests/periph/wdt/Makefile similarity index 85% rename from tests/periph_wdt/Makefile rename to tests/periph/wdt/Makefile index 9554f64ea2..65be122588 100644 --- a/tests/periph_wdt/Makefile +++ b/tests/periph/wdt/Makefile @@ -1,5 +1,5 @@ BOARD ?= nucleo-l152re -include ../Makefile.tests_common +include ../Makefile.periph_common FEATURES_REQUIRED += periph_wdt diff --git a/tests/periph_wdt/Makefile.ci b/tests/periph/wdt/Makefile.ci similarity index 100% rename from tests/periph_wdt/Makefile.ci rename to tests/periph/wdt/Makefile.ci diff --git a/tests/periph_wdt/README.md b/tests/periph/wdt/README.md similarity index 100% rename from tests/periph_wdt/README.md rename to tests/periph/wdt/README.md diff --git a/tests/periph_wdt/app.config.test b/tests/periph/wdt/app.config.test similarity index 100% rename from tests/periph_wdt/app.config.test rename to tests/periph/wdt/app.config.test diff --git a/tests/periph_wdt/main.c b/tests/periph/wdt/main.c similarity index 100% rename from tests/periph_wdt/main.c rename to tests/periph/wdt/main.c diff --git a/tests/periph_wdt/tests/01-run.py b/tests/periph/wdt/tests/01-run.py similarity index 100% rename from tests/periph_wdt/tests/01-run.py rename to tests/periph/wdt/tests/01-run.py diff --git a/tests/periph_qdec/boards_modded/nrf52840dk_mod/include/board.h b/tests/periph_qdec/boards_modded/nrf52840dk_mod/include/board.h deleted file mode 120000 index 680fbc3dd5..0000000000 --- a/tests/periph_qdec/boards_modded/nrf52840dk_mod/include/board.h +++ /dev/null @@ -1 +0,0 @@ -../../../../../boards/nrf52840dk/include/board.h \ No newline at end of file diff --git a/tests/periph_spi_dma/main.c b/tests/periph_spi_dma/main.c deleted file mode 120000 index 1d4175b38c..0000000000 --- a/tests/periph_spi_dma/main.c +++ /dev/null @@ -1 +0,0 @@ -../periph_spi/main.c \ No newline at end of file From da95d2c56c1c09806079b86828f9dabe637f6a23 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 6 May 2023 15:33:03 +0200 Subject: [PATCH 3/3] treewide: replace occurrences of tests/periph_ with new path --- .github/workflows/test-on-iotlab.yml | 6 +++--- .github/workflows/test-on-ryot.yml | 4 ++-- .murdock | 2 +- boards/saml11-xpro/doc.txt | 2 +- cpu/esp32/doc.txt | 2 +- cpu/rpx0xx/periph/uart.c | 2 +- tests/periph/gpio_arduino/README.md | 2 +- tests/periph/i2c/README.md | 2 +- tests/periph/rtt_min/README.md | 2 +- tests/periph/uart/README.md | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test-on-iotlab.yml b/.github/workflows/test-on-iotlab.yml index d9b6c706ce..92d4c89ff8 100644 --- a/.github/workflows/test-on-iotlab.yml +++ b/.github/workflows/test-on-iotlab.yml @@ -77,12 +77,12 @@ jobs: COMPILE_AND_TEST_FOR_BOARD: ./dist/tools/compile_and_test_for_board/compile_and_test_for_board.py COMPILE_AND_TEST_ARGS: --with-test-only --jobs=2 --report-xml # Exclude applications that are expected to fail or cannot run on iotlab - # - tests/periph_timer_short_relative_set is expected to fail + # - tests/periph/timer_short_relative_set is expected to fail # - tests/riotboot requires the riotboot feature and provides a test # but flashing at a specific offset is not (yet) supported on IoT-LAB # so it will always fail because of that limitation - APPLICATIONS_EXCLUDE: tests/periph_timer_short_relative_set tests/riotboot - # Increase tolerance error with `tests/periph_timer_periodic` because + APPLICATIONS_EXCLUDE: tests/periph/timer_short_relative_set tests/riotboot + # Increase tolerance error with `tests/periph/timer_periodic` because # of timing issues with the test script when running in the github # actions environment TEST_PERIPH_TIMER_PERIODIC_PRECISION: 0.30 diff --git a/.github/workflows/test-on-ryot.yml b/.github/workflows/test-on-ryot.yml index 30b4d4e2aa..893d0111c3 100644 --- a/.github/workflows/test-on-ryot.yml +++ b/.github/workflows/test-on-ryot.yml @@ -80,9 +80,9 @@ jobs: # DOCKER_ENVIRONMENT_CMDLINE=\'-e CFLAGS=-D\' COMPILE_AND_TEST_VARS: '' APPLICATIONS: '' - # Exclude 'tests/periph_timer_short_relative_set' since its expected + # Exclude 'tests/periph/timer_short_relative_set' since its expected # to fail on most BOARDs - APPLICATIONS_EXCLUDE: 'tests/periph_timer_short_relative_set' + APPLICATIONS_EXCLUDE: 'tests/periph/timer_short_relative_set' steps: - name: Checkout RIOT uses: actions/checkout@main diff --git a/.murdock b/.murdock index 09ca8e2063..9badb9849b 100755 --- a/.murdock +++ b/.murdock @@ -129,7 +129,7 @@ tests/driver_t* tests/driver_u* tests/driver_v* tests/external_board_dirs -tests/periph_* +tests/periph/* tests/pkg/elk tests/pkg/uzlib tests/prng_* diff --git a/boards/saml11-xpro/doc.txt b/boards/saml11-xpro/doc.txt index c73e1bc20b..fba803d933 100644 --- a/boards/saml11-xpro/doc.txt +++ b/boards/saml11-xpro/doc.txt @@ -77,7 +77,7 @@ SERCOM non-secure mode. To do so, a fuse bit must be set in User ROW flash memory. Such action can be done with the following EDBG command: 'edbg -t saml11 -F w0,194,1' or pass it as argument when calling make: -EDBG_ARGS="-F w0,194,1" BOARD=saml11-xpro make flash term -C tests/periph_uart +EDBG_ARGS="-F w0,194,1" BOARD=saml11-xpro make flash term -C tests/periph/uart ## Supported Toolchains diff --git a/cpu/esp32/doc.txt b/cpu/esp32/doc.txt index 6c92a80f73..8946f80603 100644 --- a/cpu/esp32/doc.txt +++ b/cpu/esp32/doc.txt @@ -1387,7 +1387,7 @@ interrupt or if the RxD signal of UART0 goes HIGH at least 4 times ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CFLAGS='-DESP_PM_WUP_PINS=GPIO25 -DESP_PM_WUP_LEVEL=ESP_PM_WUP_PINS_ALL_LOW \ -DESP_PM_WUP_UART0=6 -DESP_PM_GPIO_HOLD' \ -make BOARD=esp32-wroom-32 -C tests/periph_pm +make BOARD=esp32-wroom-32 -C tests/periph/pm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [Back to table of contents](#esp32_toc) diff --git a/cpu/rpx0xx/periph/uart.c b/cpu/rpx0xx/periph/uart.c index 23ed6b2ed2..dc9462aebf 100644 --- a/cpu/rpx0xx/periph/uart.c +++ b/cpu/rpx0xx/periph/uart.c @@ -89,7 +89,7 @@ int uart_mode(uart_t uart, uart_data_bits_t data_bits, uart_parity_t uart_parity * transferred with a single 32 bit write (updating both parity and number of data bits at the * same time), the configuration change of the parity bits will not take place until after the * next char send out. If the configuration is updated in multiple bus accesses, it will apply - * directly to the next char. So: Double check e.g. with tests/periph_uart_mode after touching + * directly to the next char. So: Double check e.g. with tests/periph/uart_mode after touching * the initialization code here */ dev->UARTLCR_H = (uint32_t)data_bits << UART0_UARTLCR_H_WLEN_Pos; diff --git a/tests/periph/gpio_arduino/README.md b/tests/periph/gpio_arduino/README.md index 2fc9653d98..0d4b906991 100644 --- a/tests/periph/gpio_arduino/README.md +++ b/tests/periph/gpio_arduino/README.md @@ -1,7 +1,7 @@ # Arduino peripheral GPIO Test This test is designed for testing the Arduino to RIOT pin mapping -on boards with Arduino support. It is much like tests/periph_gpio +on boards with Arduino support. It is much like tests/periph/gpio but for Arduino pin numbers. In this test, pins are specified by integer pin numbers. diff --git a/tests/periph/i2c/README.md b/tests/periph/i2c/README.md index 42b17c2499..18cf070c93 100644 --- a/tests/periph/i2c/README.md +++ b/tests/periph/i2c/README.md @@ -20,5 +20,5 @@ LEN - The length to read or write.
FLAG - Flags set for the I2C, more information is available in driver/include/periph/i2c.h _note: Automated tests can be found in the -[RobotFW-tests](https://github.com/RIOT-OS/RobotFW-tests/tree/master/tests/periph_i2c) +[RobotFW-tests](https://github.com/RIOT-OS/RobotFW-tests/tree/master/tests/periph/i2c) repository_ diff --git a/tests/periph/rtt_min/README.md b/tests/periph/rtt_min/README.md index d0bc3a9ab6..ad8a022d50 100644 --- a/tests/periph/rtt_min/README.md +++ b/tests/periph/rtt_min/README.md @@ -16,7 +16,7 @@ set RTT_MIN_OFFSET to the value found out with this test + 1tick. ## Usage -Run `BOARD= make -C tests/periph_rtt_min/ flash test` the value will +Run `BOARD= make -C tests/periph/rtt_min/ flash test` the value will be printed as: ``` diff --git a/tests/periph/uart/README.md b/tests/periph/uart/README.md index 4fd1eeda8d..aff52b4e2b 100644 --- a/tests/periph/uart/README.md +++ b/tests/periph/uart/README.md @@ -1,3 +1,3 @@ _note Automated tests can be found in the -[RobotFW-tests](https://github.com/RIOT-OS/RobotFW-tests/tree/master/tests/periph_uart) +[RobotFW-tests](https://github.com/RIOT-OS/RobotFW-tests/tree/master/tests/periph/uart) repository_