mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19552
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:
commit
fcb8283b4c
6
.github/workflows/test-on-iotlab.yml
vendored
6
.github/workflows/test-on-iotlab.yml
vendored
@ -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
|
||||
|
4
.github/workflows/test-on-ryot.yml
vendored
4
.github/workflows/test-on-ryot.yml
vendored
@ -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
|
||||
|
2
.murdock
2
.murdock
@ -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_*
|
||||
|
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
@ -15,6 +15,7 @@ APPLICATION_DIRS := \
|
||||
examples \
|
||||
tests \
|
||||
tests/drivers \
|
||||
tests/periph \
|
||||
tests/pkg \
|
||||
#
|
||||
|
||||
|
2
tests/periph/Makefile.periph_common
Normal file
2
tests/periph/Makefile.periph_common
Normal file
@ -0,0 +1,2 @@
|
||||
RIOTBASE ?= $(CURDIR)/../../..
|
||||
include $(CURDIR)/../../Makefile.tests_common
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= pba-d-01-kw2x
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_adc
|
||||
USEMODULE += ztimer
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= samr34-xpro
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED += backup_ram
|
||||
FEATURES_REQUIRED += periph_rtc
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_cpuid
|
||||
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= stm32f4discovery
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_dac
|
||||
USEMODULE += xtimer
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= samr34-xpro
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_dma
|
||||
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED += periph_eeprom
|
||||
|
@ -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
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED += periph_flashpage
|
||||
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= samr34-xpro
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_OPTIONAL += periph_gpio_irq
|
@ -1,6 +1,6 @@
|
||||
BOARD ?= nucleo-f767zi
|
||||
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_gpio
|
||||
|
@ -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.
|
@ -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
|
@ -1,4 +1,4 @@
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_hwrng
|
||||
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= samr21-xpro
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_i2c
|
||||
FEATURES_OPTIONAL = periph_i2c_reconfigure
|
@ -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_
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= stm32f746g-disco
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED += periph_ltdc
|
||||
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= slstk3401a
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_OPTIONAL += periph_rtc
|
||||
FEATURES_OPTIONAL += periph_gpio_irq
|
@ -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
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= nucleo-f767zi
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_ptp_timer
|
||||
|
@ -1,5 +1,5 @@
|
||||
BOARD ?= samr21-xpro
|
||||
include ../Makefile.tests_common
|
||||
include ../Makefile.periph_common
|
||||
|
||||
FEATURES_REQUIRED = periph_pwm
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user