diff --git a/testing/drivers/.gitignore b/testing/drivers/.gitignore new file mode 100644 index 00000000000..9e1d2593ee8 --- /dev/null +++ b/testing/drivers/.gitignore @@ -0,0 +1 @@ +/Kconfig diff --git a/testing/drivers/CMakeLists.txt b/testing/drivers/CMakeLists.txt new file mode 100644 index 00000000000..e796e074acf --- /dev/null +++ b/testing/drivers/CMakeLists.txt @@ -0,0 +1,24 @@ +# ############################################################################## +# apps/testing/drivers/CMakeLists.txt +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. +# +# ############################################################################## + +nuttx_add_subdirectory() +nuttx_generate_kconfig(MENUDESC "drivers") diff --git a/testing/drivers/Make.defs b/testing/drivers/Make.defs new file mode 100644 index 00000000000..4da87143940 --- /dev/null +++ b/testing/drivers/Make.defs @@ -0,0 +1,23 @@ +############################################################################ +# apps/testing/drivers/Make.defs +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +############################################################################ + +include $(wildcard $(APPDIR)/testing/drivers/*/Make.defs) diff --git a/testing/drivers/Makefile b/testing/drivers/Makefile new file mode 100644 index 00000000000..a0da405f43b --- /dev/null +++ b/testing/drivers/Makefile @@ -0,0 +1,25 @@ +############################################################################ +# apps/testing/drivers/Makefile +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +############################################################################ + +MENUDESC = "dirvers" + +include $(APPDIR)/Directory.mk diff --git a/testing/drivertest/CMakeLists.txt b/testing/drivers/drivertest/CMakeLists.txt similarity index 99% rename from testing/drivertest/CMakeLists.txt rename to testing/drivers/drivertest/CMakeLists.txt index a3add4dca40..2492842304b 100644 --- a/testing/drivertest/CMakeLists.txt +++ b/testing/drivers/drivertest/CMakeLists.txt @@ -1,5 +1,5 @@ # ############################################################################## -# apps/testing/drivertest/CMakeLists.txt +# apps/testing/drivers/drivertest/CMakeLists.txt # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/drivertest/Kconfig b/testing/drivers/drivertest/Kconfig similarity index 100% rename from testing/drivertest/Kconfig rename to testing/drivers/drivertest/Kconfig diff --git a/testing/drivertest/Make.defs b/testing/drivers/drivertest/Make.defs similarity index 91% rename from testing/drivertest/Make.defs rename to testing/drivers/drivertest/Make.defs index a68b7e050e6..5e6a005340f 100644 --- a/testing/drivertest/Make.defs +++ b/testing/drivers/drivertest/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/drivertest/Make.defs +# apps/testing/drivers/drivertest/Make.defs # # SPDX-License-Identifier: Apache-2.0 # @@ -21,5 +21,5 @@ ############################################################################ ifneq ($(CONFIG_TESTING_DRIVER_TEST),) -CONFIGURED_APPS += $(APPDIR)/testing/drivertest +CONFIGURED_APPS += $(APPDIR)/testing/drivers/drivertest endif diff --git a/testing/drivertest/Makefile b/testing/drivers/drivertest/Makefile similarity index 98% rename from testing/drivertest/Makefile rename to testing/drivers/drivertest/Makefile index aa25dfa8381..470c9151297 100644 --- a/testing/drivertest/Makefile +++ b/testing/drivers/drivertest/Makefile @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/drivertest/Makefile +# apps/testing/drivers/drivertest/Makefile # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/drivertest/drivertest_adc.c b/testing/drivers/drivertest/drivertest_adc.c similarity index 99% rename from testing/drivertest/drivertest_adc.c rename to testing/drivers/drivertest/drivertest_adc.c index 267ed770ac4..d9360b3793b 100644 --- a/testing/drivertest/drivertest_adc.c +++ b/testing/drivers/drivertest/drivertest_adc.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_adc.c + * apps/testing/drivers/drivertest/drivertest_adc.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_audio.c b/testing/drivers/drivertest/drivertest_audio.c similarity index 99% rename from testing/drivertest/drivertest_audio.c rename to testing/drivers/drivertest/drivertest_audio.c index 5ce08329f15..9ab9ebb6ae9 100644 --- a/testing/drivertest/drivertest_audio.c +++ b/testing/drivers/drivertest/drivertest_audio.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_audio.c + * apps/testing/drivers/drivertest/drivertest_audio.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_block.c b/testing/drivers/drivertest/drivertest_block.c similarity index 99% rename from testing/drivertest/drivertest_block.c rename to testing/drivers/drivertest/drivertest_block.c index daa655378d2..6dc70925d58 100644 --- a/testing/drivertest/drivertest_block.c +++ b/testing/drivers/drivertest/drivertest_block.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_block.c + * apps/testing/drivers/drivertest/drivertest_block.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_framebuffer.c b/testing/drivers/drivertest/drivertest_framebuffer.c similarity index 99% rename from testing/drivertest/drivertest_framebuffer.c rename to testing/drivers/drivertest/drivertest_framebuffer.c index 2d84567eb26..04ee135f3d1 100644 --- a/testing/drivertest/drivertest_framebuffer.c +++ b/testing/drivers/drivertest/drivertest_framebuffer.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_framebuffer.c + * apps/testing/drivers/drivertest/drivertest_framebuffer.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_gpio.c b/testing/drivers/drivertest/drivertest_gpio.c similarity index 99% rename from testing/drivertest/drivertest_gpio.c rename to testing/drivers/drivertest/drivertest_gpio.c index 32a0afd3d48..d5e917976ba 100644 --- a/testing/drivertest/drivertest_gpio.c +++ b/testing/drivers/drivertest/drivertest_gpio.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_gpio.c + * apps/testing/drivers/drivertest/drivertest_gpio.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_i2c_read.c b/testing/drivers/drivertest/drivertest_i2c_read.c similarity index 99% rename from testing/drivertest/drivertest_i2c_read.c rename to testing/drivers/drivertest/drivertest_i2c_read.c index 9e87b0bdf56..5b13b3c5ef8 100644 --- a/testing/drivertest/drivertest_i2c_read.c +++ b/testing/drivers/drivertest/drivertest_i2c_read.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_i2c_read.c + * apps/testing/drivers/drivertest/drivertest_i2c_read.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_i2c_spi.c b/testing/drivers/drivertest/drivertest_i2c_spi.c similarity index 98% rename from testing/drivertest/drivertest_i2c_spi.c rename to testing/drivers/drivertest/drivertest_i2c_spi.c index 1faaef177a5..b9a37afcfd8 100644 --- a/testing/drivertest/drivertest_i2c_spi.c +++ b/testing/drivers/drivertest/drivertest_i2c_spi.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_i2c_spi.c + * apps/testing/drivers/drivertest/drivertest_i2c_spi.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_i2c_write.c b/testing/drivers/drivertest/drivertest_i2c_write.c similarity index 99% rename from testing/drivertest/drivertest_i2c_write.c rename to testing/drivers/drivertest/drivertest_i2c_write.c index 959e8b62fcd..2e7b2fbe993 100644 --- a/testing/drivertest/drivertest_i2c_write.c +++ b/testing/drivers/drivertest/drivertest_i2c_write.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_i2c_write.c + * apps/testing/drivers/drivertest/drivertest_i2c_write.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_lcd.c b/testing/drivers/drivertest/drivertest_lcd.c similarity index 99% rename from testing/drivertest/drivertest_lcd.c rename to testing/drivers/drivertest/drivertest_lcd.c index 39530f79e20..32cbaa30a05 100644 --- a/testing/drivertest/drivertest_lcd.c +++ b/testing/drivers/drivertest/drivertest_lcd.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_lcd.c + * apps/testing/drivers/drivertest/drivertest_lcd.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_mps2.c b/testing/drivers/drivertest/drivertest_mps2.c similarity index 99% rename from testing/drivertest/drivertest_mps2.c rename to testing/drivers/drivertest/drivertest_mps2.c index 7ccbc1f2142..9d33b4143b3 100644 --- a/testing/drivertest/drivertest_mps2.c +++ b/testing/drivers/drivertest/drivertest_mps2.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_mps2.c + * apps/testing/drivers/drivertest/drivertest_mps2.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_mps2_isr_signal.c b/testing/drivers/drivertest/drivertest_mps2_isr_signal.c similarity index 98% rename from testing/drivertest/drivertest_mps2_isr_signal.c rename to testing/drivers/drivertest/drivertest_mps2_isr_signal.c index 5157b679a35..b274b6bd04c 100644 --- a/testing/drivertest/drivertest_mps2_isr_signal.c +++ b/testing/drivers/drivertest/drivertest_mps2_isr_signal.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_mps2_isr_signal.c + * apps/testing/drivers/drivertest/drivertest_mps2_isr_signal.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_mps2_zerointerrupt.c b/testing/drivers/drivertest/drivertest_mps2_zerointerrupt.c similarity index 99% rename from testing/drivertest/drivertest_mps2_zerointerrupt.c rename to testing/drivers/drivertest/drivertest_mps2_zerointerrupt.c index 852404dec5d..6a15ee91dc8 100644 --- a/testing/drivertest/drivertest_mps2_zerointerrupt.c +++ b/testing/drivers/drivertest/drivertest_mps2_zerointerrupt.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_mps2_zerointerrupt.c + * apps/testing/drivers/drivertest/drivertest_mps2_zerointerrupt.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_oneshot.c b/testing/drivers/drivertest/drivertest_oneshot.c similarity index 99% rename from testing/drivertest/drivertest_oneshot.c rename to testing/drivers/drivertest/drivertest_oneshot.c index 6d7afcc75ca..f950c0ada1b 100644 --- a/testing/drivertest/drivertest_oneshot.c +++ b/testing/drivers/drivertest/drivertest_oneshot.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_oneshot.c + * apps/testing/drivers/drivertest/drivertest_oneshot.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_pm.c b/testing/drivers/drivertest/drivertest_pm.c similarity index 99% rename from testing/drivertest/drivertest_pm.c rename to testing/drivers/drivertest/drivertest_pm.c index fc8ee4bdc38..a616b4227c3 100644 --- a/testing/drivertest/drivertest_pm.c +++ b/testing/drivers/drivertest/drivertest_pm.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_pm.c + * apps/testing/drivers/drivertest/drivertest_pm.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_pm_runtime.c b/testing/drivers/drivertest/drivertest_pm_runtime.c similarity index 99% rename from testing/drivertest/drivertest_pm_runtime.c rename to testing/drivers/drivertest/drivertest_pm_runtime.c index a0db9947c9f..8cef500d38f 100644 --- a/testing/drivertest/drivertest_pm_runtime.c +++ b/testing/drivers/drivertest/drivertest_pm_runtime.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_pm_runtime.c + * apps/testing/drivers/drivertest/drivertest_pm_runtime.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_pm_smp.c b/testing/drivers/drivertest/drivertest_pm_smp.c similarity index 99% rename from testing/drivertest/drivertest_pm_smp.c rename to testing/drivers/drivertest/drivertest_pm_smp.c index 6edbb66948a..5de71e546a3 100644 --- a/testing/drivertest/drivertest_pm_smp.c +++ b/testing/drivers/drivertest/drivertest_pm_smp.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_pm_smp.c + * apps/testing/drivers/drivertest/drivertest_pm_smp.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_posix_timer.c b/testing/drivers/drivertest/drivertest_posix_timer.c similarity index 99% rename from testing/drivertest/drivertest_posix_timer.c rename to testing/drivers/drivertest/drivertest_posix_timer.c index b52b1887de1..e87dd7a3374 100644 --- a/testing/drivertest/drivertest_posix_timer.c +++ b/testing/drivers/drivertest/drivertest_posix_timer.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_posix_timer.c + * apps/testing/drivers/drivertest/drivertest_posix_timer.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_pwm.c b/testing/drivers/drivertest/drivertest_pwm.c similarity index 99% rename from testing/drivertest/drivertest_pwm.c rename to testing/drivers/drivertest/drivertest_pwm.c index 18475184d5e..5869db08f88 100644 --- a/testing/drivertest/drivertest_pwm.c +++ b/testing/drivers/drivertest/drivertest_pwm.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_pwm.c + * apps/testing/drivers/drivertest/drivertest_pwm.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_regulator.c b/testing/drivers/drivertest/drivertest_regulator.c similarity index 99% rename from testing/drivertest/drivertest_regulator.c rename to testing/drivers/drivertest/drivertest_regulator.c index bff19677c6e..19de21928ea 100644 --- a/testing/drivertest/drivertest_regulator.c +++ b/testing/drivers/drivertest/drivertest_regulator.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_regulator.c + * apps/testing/drivers/drivertest/drivertest_regulator.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_relay.c b/testing/drivers/drivertest/drivertest_relay.c similarity index 99% rename from testing/drivertest/drivertest_relay.c rename to testing/drivers/drivertest/drivertest_relay.c index 7a1671f88fc..53871d94758 100644 --- a/testing/drivertest/drivertest_relay.c +++ b/testing/drivers/drivertest/drivertest_relay.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_relay.c + * apps/testing/drivers/drivertest/drivertest_relay.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_rtc.c b/testing/drivers/drivertest/drivertest_rtc.c similarity index 99% rename from testing/drivertest/drivertest_rtc.c rename to testing/drivers/drivertest/drivertest_rtc.c index 53ed2a5d11f..e4cd03301f2 100644 --- a/testing/drivertest/drivertest_rtc.c +++ b/testing/drivers/drivertest/drivertest_rtc.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_rtc.c + * apps/testing/drivers/drivertest/drivertest_rtc.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_simple.c b/testing/drivers/drivertest/drivertest_simple.c similarity index 97% rename from testing/drivertest/drivertest_simple.c rename to testing/drivers/drivertest/drivertest_simple.c index 485b592e203..eea6c86d16f 100644 --- a/testing/drivertest/drivertest_simple.c +++ b/testing/drivers/drivertest/drivertest_simple.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_simple.c + * apps/testing/drivers/drivertest/drivertest_simple.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_timer.c b/testing/drivers/drivertest/drivertest_timer.c similarity index 99% rename from testing/drivertest/drivertest_timer.c rename to testing/drivers/drivertest/drivertest_timer.c index 4478eda0f4e..55f05425754 100644 --- a/testing/drivertest/drivertest_timer.c +++ b/testing/drivers/drivertest/drivertest_timer.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_timer.c + * apps/testing/drivers/drivertest/drivertest_timer.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_touchpanel.c b/testing/drivers/drivertest/drivertest_touchpanel.c similarity index 99% rename from testing/drivertest/drivertest_touchpanel.c rename to testing/drivers/drivertest/drivertest_touchpanel.c index 9f0255ec6ce..b354760c6ac 100644 --- a/testing/drivertest/drivertest_touchpanel.c +++ b/testing/drivers/drivertest/drivertest_touchpanel.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_touchpanel.c + * apps/testing/drivers/drivertest/drivertest_touchpanel.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_uart.c b/testing/drivers/drivertest/drivertest_uart.c similarity index 99% rename from testing/drivertest/drivertest_uart.c rename to testing/drivers/drivertest/drivertest_uart.c index cbe127b7c77..23875b17628 100644 --- a/testing/drivertest/drivertest_uart.c +++ b/testing/drivers/drivertest/drivertest_uart.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_uart.c + * apps/testing/drivers/drivertest/drivertest_uart.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/drivertest_watchdog.c b/testing/drivers/drivertest/drivertest_watchdog.c similarity index 99% rename from testing/drivertest/drivertest_watchdog.c rename to testing/drivers/drivertest/drivertest_watchdog.c index 8efa41eb2b2..a9240479ef9 100644 --- a/testing/drivertest/drivertest_watchdog.c +++ b/testing/drivers/drivertest/drivertest_watchdog.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/drivertest/drivertest_watchdog.c + * apps/testing/drivers/drivertest/drivertest_watchdog.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/drivertest/test_content_gen.py b/testing/drivers/drivertest/test_content_gen.py similarity index 98% rename from testing/drivertest/test_content_gen.py rename to testing/drivers/drivertest/test_content_gen.py index 3045252d1e9..77ebeb38f8d 100644 --- a/testing/drivertest/test_content_gen.py +++ b/testing/drivers/drivertest/test_content_gen.py @@ -1,6 +1,6 @@ #!/bin/python3 ############################################################################# -# apps/testing/drivertest/cmocka_driver_uart/test_content_gen.py +# apps/testing/drivers/drivertest/cmocka_driver_uart/test_content_gen.py # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/fftest/CMakeLists.txt b/testing/drivers/fftest/CMakeLists.txt similarity index 96% rename from testing/fftest/CMakeLists.txt rename to testing/drivers/fftest/CMakeLists.txt index 77513c6012b..bf5fca5cadf 100644 --- a/testing/fftest/CMakeLists.txt +++ b/testing/drivers/fftest/CMakeLists.txt @@ -1,5 +1,5 @@ # ############################################################################## -# apps/testing/fftest/CMakeLists.txt +# apps/testing/drivers/fftest/CMakeLists.txt # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/fftest/Kconfig b/testing/drivers/fftest/Kconfig similarity index 100% rename from testing/fftest/Kconfig rename to testing/drivers/fftest/Kconfig diff --git a/testing/fftest/Make.defs b/testing/drivers/fftest/Make.defs similarity index 91% rename from testing/fftest/Make.defs rename to testing/drivers/fftest/Make.defs index 0190fb4f21e..a02bc75dddf 100644 --- a/testing/fftest/Make.defs +++ b/testing/drivers/fftest/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/fftest/Make.defs +# apps/testing/drivers/fftest/Make.defs # # SPDX-License-Identifier: Apache-2.0 # @@ -21,5 +21,5 @@ ############################################################################ ifneq ($(CONFIG_TESTING_FF),) -CONFIGURED_APPS += $(APPDIR)/testing/fftest +CONFIGURED_APPS += $(APPDIR)/testing/drivers/fftest endif diff --git a/testing/fftest/Makefile b/testing/drivers/fftest/Makefile similarity index 96% rename from testing/fftest/Makefile rename to testing/drivers/fftest/Makefile index 981d502f136..56e8fc56fe0 100644 --- a/testing/fftest/Makefile +++ b/testing/drivers/fftest/Makefile @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/fftest/Makefile +# apps/testing/drivers/fftest/Makefile # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/fftest/fftest.c b/testing/drivers/fftest/fftest.c similarity index 99% rename from testing/fftest/fftest.c rename to testing/drivers/fftest/fftest.c index 51700914ab9..67871195c7e 100644 --- a/testing/fftest/fftest.c +++ b/testing/drivers/fftest/fftest.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/fftest/fftest.c + * apps/testing/drivers/fftest/fftest.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/nand_sim/CMakeLists.txt b/testing/drivers/nand_sim/CMakeLists.txt similarity index 96% rename from testing/nand_sim/CMakeLists.txt rename to testing/drivers/nand_sim/CMakeLists.txt index 4f9b4021c60..e3c00504cb8 100644 --- a/testing/nand_sim/CMakeLists.txt +++ b/testing/drivers/nand_sim/CMakeLists.txt @@ -1,5 +1,5 @@ # ############################################################################## -# apps/testing/nand_sim/CMakeLists.txt +# apps/testing/drivers/nand_sim/CMakeLists.txt # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/nand_sim/Kconfig b/testing/drivers/nand_sim/Kconfig similarity index 100% rename from testing/nand_sim/Kconfig rename to testing/drivers/nand_sim/Kconfig diff --git a/testing/nand_sim/Make.defs b/testing/drivers/nand_sim/Make.defs similarity index 91% rename from testing/nand_sim/Make.defs rename to testing/drivers/nand_sim/Make.defs index 05557f6de6c..6e573c87bf1 100644 --- a/testing/nand_sim/Make.defs +++ b/testing/drivers/nand_sim/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/nand_sim/Make.defs +# apps/testing/drivers/nand_sim/Make.defs # # SPDX-License-Identifier: Apache-2.0 # @@ -21,5 +21,5 @@ ############################################################################ ifneq ($(CONFIG_TESTING_NAND_SIM),) -CONFIGURED_APPS += $(APPDIR)/testing/nand_sim +CONFIGURED_APPS += $(APPDIR)/testing/drivers/nand_sim endif diff --git a/testing/nand_sim/Makefile b/testing/drivers/nand_sim/Makefile similarity index 96% rename from testing/nand_sim/Makefile rename to testing/drivers/nand_sim/Makefile index a665792095e..1aecf0d36d5 100644 --- a/testing/nand_sim/Makefile +++ b/testing/drivers/nand_sim/Makefile @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/nand_sim/Makefile +# apps/testing/drivers/nand_sim/Makefile # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/nand_sim/nand_sim_main.c b/testing/drivers/nand_sim/nand_sim_main.c similarity index 99% rename from testing/nand_sim/nand_sim_main.c rename to testing/drivers/nand_sim/nand_sim_main.c index 63e64b91faf..9e91227a4ad 100644 --- a/testing/nand_sim/nand_sim_main.c +++ b/testing/drivers/nand_sim/nand_sim_main.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/nand_sim/nand_sim_main.c + * apps/testing/drivers/nand_sim/nand_sim_main.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/pcitest/Kconfig b/testing/drivers/pcitest/Kconfig similarity index 100% rename from testing/pcitest/Kconfig rename to testing/drivers/pcitest/Kconfig diff --git a/testing/pcitest/Make.defs b/testing/drivers/pcitest/Make.defs similarity index 91% rename from testing/pcitest/Make.defs rename to testing/drivers/pcitest/Make.defs index 985276be2d4..a939dbf46be 100644 --- a/testing/pcitest/Make.defs +++ b/testing/drivers/pcitest/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/pcitest/Make.defs +# apps/testing/drivers/pcitest/Make.defs # # SPDX-License-Identifier: Apache-2.0 # @@ -21,5 +21,5 @@ ############################################################################ ifneq ($(CONFIG_TESTING_PCITEST),) -CONFIGURED_APPS += $(APPDIR)/testing/pcitest +CONFIGURED_APPS += $(APPDIR)/testing/drivers/pcitest endif diff --git a/testing/pcitest/Makefile b/testing/drivers/pcitest/Makefile similarity index 96% rename from testing/pcitest/Makefile rename to testing/drivers/pcitest/Makefile index 46c7050bf56..e16e66f89dd 100644 --- a/testing/pcitest/Makefile +++ b/testing/drivers/pcitest/Makefile @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/pcitest/Makefile +# apps/testing/drivers/pcitest/Makefile # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/pcitest/pcitest.c b/testing/drivers/pcitest/pcitest.c similarity index 99% rename from testing/pcitest/pcitest.c rename to testing/drivers/pcitest/pcitest.c index 2814c0c517e..684498d24fe 100644 --- a/testing/pcitest/pcitest.c +++ b/testing/drivers/pcitest/pcitest.c @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/testing/pcitest/pcitest.c + * apps/testing/drivers/pcitest/pcitest.c * * SPDX-License-Identifier: Apache-2.0 * diff --git a/testing/sd_stress/Kconfig b/testing/drivers/sd_stress/Kconfig similarity index 100% rename from testing/sd_stress/Kconfig rename to testing/drivers/sd_stress/Kconfig diff --git a/testing/sd_stress/Make.defs b/testing/drivers/sd_stress/Make.defs similarity index 91% rename from testing/sd_stress/Make.defs rename to testing/drivers/sd_stress/Make.defs index 1da23f092af..4d184b4d0b3 100644 --- a/testing/sd_stress/Make.defs +++ b/testing/drivers/sd_stress/Make.defs @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/sd_stress/Make.defs +# apps/testing/drivers/sd_stress/Make.defs # # SPDX-License-Identifier: Apache-2.0 # @@ -21,5 +21,5 @@ ############################################################################ ifneq ($(CONFIG_TESTING_SD_STRESS),) -CONFIGURED_APPS += $(APPDIR)/testing/sd_stress +CONFIGURED_APPS += $(APPDIR)/testing/drivers/sd_stress endif diff --git a/testing/sd_stress/Makefile b/testing/drivers/sd_stress/Makefile similarity index 96% rename from testing/sd_stress/Makefile rename to testing/drivers/sd_stress/Makefile index a70d6857d7b..a4f162186ee 100644 --- a/testing/sd_stress/Makefile +++ b/testing/drivers/sd_stress/Makefile @@ -1,5 +1,5 @@ ############################################################################ -# apps/testing/sd_stress/Makefile +# apps/testing/drivers/sd_stress/Makefile # # SPDX-License-Identifier: Apache-2.0 # diff --git a/testing/sd_stress/sd_stress_main.c b/testing/drivers/sd_stress/sd_stress_main.c similarity index 99% rename from testing/sd_stress/sd_stress_main.c rename to testing/drivers/sd_stress/sd_stress_main.c index ddb598e804f..afcf528a01f 100644 --- a/testing/sd_stress/sd_stress_main.c +++ b/testing/drivers/sd_stress/sd_stress_main.c @@ -1,9 +1,9 @@ /**************************************************************************** - * apps/testing/sd_stress/sd_stress_main.c + * apps/testing/drivers/sd_stress/sd_stress_main.c * * SPDX-License-Identifier: BSD-3-Clause - * SPDX-FileCopyrightText: 2016-2021 PX4 Development Team. All rights reserved. - * + * SPDX-FileCopyrightText: 2016-2021 PX4 Development Team. All rights + * reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: