1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
19552: tests: move all periph applications to their own periphs/ folder r=gschorcht a=aabadie



Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
This commit is contained in:
bors[bot] 2023-05-08 10:31:17 +00:00 committed by GitHub
commit fcb8283b4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
179 changed files with 51 additions and 48 deletions

View File

@ -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

View File

@ -80,9 +80,9 @@ jobs:
# DOCKER_ENVIRONMENT_CMDLINE=\'-e CFLAGS=-D<flag>\'
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

View File

@ -129,7 +129,7 @@ tests/drivers/t*
tests/drivers/u*
tests/drivers/v*
tests/external_board_dirs
tests/periph_*
tests/periph/*
tests/pkg/elk
tests/pkg/uzlib
tests/prng_*

View File

@ -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

View File

@ -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)

View File

@ -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;

View File

@ -15,6 +15,7 @@ APPLICATION_DIRS := \
examples \
tests \
tests/drivers \
tests/periph \
tests/pkg \
#

View File

@ -0,0 +1,2 @@
RIOTBASE ?= $(CURDIR)/../../..
include $(CURDIR)/../../Makefile.tests_common

View File

@ -1,5 +1,5 @@
BOARD ?= pba-d-01-kw2x
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_adc
USEMODULE += ztimer

View File

@ -1,6 +1,6 @@
BOARD ?= samr34-xpro
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED += backup_ram
FEATURES_REQUIRED += periph_rtc

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_cpuid

View File

@ -1,5 +1,5 @@
BOARD ?= stm32f4discovery
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_dac
USEMODULE += xtimer

View File

@ -1,6 +1,6 @@
BOARD ?= samr34-xpro
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_dma

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED += periph_eeprom

View File

@ -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

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED += periph_flashpage

View File

@ -1,6 +1,6 @@
BOARD ?= samr34-xpro
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED += periph_gpio
FEATURES_OPTIONAL += periph_gpio_irq

View File

@ -1,6 +1,6 @@
BOARD ?= nucleo-f767zi
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_gpio

View File

@ -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.

View File

@ -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

View File

@ -1,4 +1,4 @@
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_hwrng

View File

@ -1,5 +1,5 @@
BOARD ?= samr21-xpro
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_i2c
FEATURES_OPTIONAL = periph_i2c_reconfigure

View File

@ -20,5 +20,5 @@ LEN - The length to read or write.</br>
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_

View File

@ -1,5 +1,5 @@
BOARD ?= stm32f746g-disco
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED += periph_ltdc

View File

@ -1,5 +1,5 @@
BOARD ?= slstk3401a
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_OPTIONAL += periph_rtc
FEATURES_OPTIONAL += periph_gpio_irq

View File

@ -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

View File

@ -1,5 +1,5 @@
BOARD ?= nucleo-f767zi
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_ptp_timer

View File

@ -1,5 +1,5 @@
BOARD ?= samr21-xpro
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_pwm

View File

@ -1,5 +1,5 @@
BOARD ?= nucleo-f401re
include ../Makefile.tests_common
include ../Makefile.periph_common
FEATURES_REQUIRED = periph_qdec

Some files were not shown because too many files have changed in this diff Show More