Skip to content

Commit a9c10b3

Browse files
committed
apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder
Signed-off-by: tengshuangshuang <[email protected]>
1 parent 5330966 commit a9c10b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+164
-90
lines changed

testing/driver/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/Kconfig

testing/driver/CMakeLists.txt

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ##############################################################################
2+
# apps/testing/driver/CMakeLists.txt
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
7+
# license agreements. See the NOTICE file distributed with this work for
8+
# additional information regarding copyright ownership. The ASF licenses this
9+
# file to you under the Apache License, Version 2.0 (the "License"); you may not
10+
# use this file except in compliance with the License. You may obtain a copy of
11+
# the License at
12+
#
13+
# http://www.apache.org/licenses/LICENSE-2.0
14+
#
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations under
19+
# the License.
20+
#
21+
# ##############################################################################
22+
23+
nuttx_add_subdirectory()
24+
nuttx_generate_kconfig(MENUDESC "driver")

testing/driver/Make.defs

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
############################################################################
2+
# apps/testing/driver/Make.defs
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Licensed to the Apache Software Foundation (ASF) under one or more
7+
# contributor license agreements. See the NOTICE file distributed with
8+
# this work for additional information regarding copyright ownership. The
9+
# ASF licenses this file to you under the Apache License, Version 2.0 (the
10+
# "License"); you may not use this file except in compliance with the
11+
# License. You may obtain a copy of the License at
12+
#
13+
# http://www.apache.org/licenses/LICENSE-2.0
14+
#
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations
19+
# under the License.
20+
#
21+
############################################################################
22+
23+
include $(wildcard $(APPDIR)/testing/driver/*/Make.defs)

testing/driver/Makefile

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
############################################################################
2+
# apps/testing/driver/Makefile
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
# Licensed to the Apache Software Foundation (ASF) under one or more
7+
# contributor license agreements. See the NOTICE file distributed with
8+
# this work for additional information regarding copyright ownership. The
9+
# ASF licenses this file to you under the Apache License, Version 2.0 (the
10+
# "License"); you may not use this file except in compliance with the
11+
# License. You may obtain a copy of the License at
12+
#
13+
# http://www.apache.org/licenses/LICENSE-2.0
14+
#
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations
19+
# under the License.
20+
#
21+
############################################################################
22+
23+
MENUDESC = "dirver"
24+
25+
include $(APPDIR)/Directory.mk

testing/drivertest/CMakeLists.txt renamed to testing/driver/drivertest/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/drivertest/CMakeLists.txt
2+
# apps/testing/driver/drivertest/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

testing/drivertest/Make.defs renamed to testing/driver/drivertest/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/drivertest/Make.defs
2+
# apps/testing/driver/drivertest/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_DRIVER_TEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/drivertest
24+
CONFIGURED_APPS += $(APPDIR)/testing/driver/drivertest
2525
endif

testing/drivertest/Makefile renamed to testing/driver/drivertest/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/drivertest/Makefile
2+
# apps/testing/driver/drivertest/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

testing/drivertest/drivertest_adc.c renamed to testing/driver/drivertest/drivertest_adc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_adc.c
2+
* apps/testing/driver/drivertest/drivertest_adc.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_audio.c renamed to testing/driver/drivertest/drivertest_audio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_audio.c
2+
* apps/testing/driver/drivertest/drivertest_audio.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_block.c renamed to testing/driver/drivertest/drivertest_block.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_block.c
2+
* apps/testing/driver/drivertest/drivertest_block.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_framebuffer.c renamed to testing/driver/drivertest/drivertest_framebuffer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_framebuffer.c
2+
* apps/testing/driver/drivertest/drivertest_framebuffer.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_gpio.c renamed to testing/driver/drivertest/drivertest_gpio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_gpio.c
2+
* apps/testing/driver/drivertest/drivertest_gpio.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_i2c_read.c renamed to testing/driver/drivertest/drivertest_i2c_read.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_i2c_read.c
2+
* apps/testing/driver/drivertest/drivertest_i2c_read.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_i2c_spi.c renamed to testing/driver/drivertest/drivertest_i2c_spi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_i2c_spi.c
2+
* apps/testing/driver/drivertest/drivertest_i2c_spi.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_i2c_write.c renamed to testing/driver/drivertest/drivertest_i2c_write.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_i2c_write.c
2+
* apps/testing/driver/drivertest/drivertest_i2c_write.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_lcd.c renamed to testing/driver/drivertest/drivertest_lcd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_lcd.c
2+
* apps/testing/driver/drivertest/drivertest_lcd.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_mps2.c renamed to testing/driver/drivertest/drivertest_mps2.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_mps2.c
2+
* apps/testing/driver/drivertest/drivertest_mps2.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_mps2_isr_signal.c renamed to testing/driver/drivertest/drivertest_mps2_isr_signal.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_mps2_isr_signal.c
2+
* apps/testing/driver/drivertest/drivertest_mps2_isr_signal.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_mps2_zerointerrupt.c renamed to testing/driver/drivertest/drivertest_mps2_zerointerrupt.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_mps2_zerointerrupt.c
2+
* apps/testing/driver/drivertest/drivertest_mps2_zerointerrupt.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_oneshot.c renamed to testing/driver/drivertest/drivertest_oneshot.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_oneshot.c
2+
* apps/testing/driver/drivertest/drivertest_oneshot.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_pm.c renamed to testing/driver/drivertest/drivertest_pm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_pm.c
2+
* apps/testing/driver/drivertest/drivertest_pm.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_pm_runtime.c renamed to testing/driver/drivertest/drivertest_pm_runtime.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_pm_runtime.c
2+
* apps/testing/driver/drivertest/drivertest_pm_runtime.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_pm_smp.c renamed to testing/driver/drivertest/drivertest_pm_smp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_pm_smp.c
2+
* apps/testing/driver/drivertest/drivertest_pm_smp.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_posix_timer.c renamed to testing/driver/drivertest/drivertest_posix_timer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_posix_timer.c
2+
* apps/testing/driver/drivertest/drivertest_posix_timer.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_pwm.c renamed to testing/driver/drivertest/drivertest_pwm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_pwm.c
2+
* apps/testing/driver/drivertest/drivertest_pwm.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_regulator.c renamed to testing/driver/drivertest/drivertest_regulator.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_regulator.c
2+
* apps/testing/driver/drivertest/drivertest_regulator.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_relay.c renamed to testing/driver/drivertest/drivertest_relay.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_relay.c
2+
* apps/testing/driver/drivertest/drivertest_relay.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_rtc.c renamed to testing/driver/drivertest/drivertest_rtc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_rtc.c
2+
* apps/testing/driver/drivertest/drivertest_rtc.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_simple.c renamed to testing/driver/drivertest/drivertest_simple.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_simple.c
2+
* apps/testing/driver/drivertest/drivertest_simple.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_timer.c renamed to testing/driver/drivertest/drivertest_timer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_timer.c
2+
* apps/testing/driver/drivertest/drivertest_timer.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_touchpanel.c renamed to testing/driver/drivertest/drivertest_touchpanel.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_touchpanel.c
2+
* apps/testing/driver/drivertest/drivertest_touchpanel.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_uart.c renamed to testing/driver/drivertest/drivertest_uart.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_uart.c
2+
* apps/testing/driver/drivertest/drivertest_uart.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/drivertest_watchdog.c renamed to testing/driver/drivertest/drivertest_watchdog.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/drivertest/drivertest_watchdog.c
2+
* apps/testing/driver/drivertest/drivertest_watchdog.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/drivertest/test_content_gen.py renamed to testing/driver/drivertest/test_content_gen.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/python3
22
#############################################################################
3-
# apps/testing/drivertest/cmocka_driver_uart/test_content_gen.py
3+
# apps/testing/driver/drivertest/cmocka_driver_uart/test_content_gen.py
44
#
55
# SPDX-License-Identifier: Apache-2.0
66
#

testing/fftest/CMakeLists.txt renamed to testing/driver/fftest/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/fftest/CMakeLists.txt
2+
# apps/testing/driver/fftest/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

testing/fftest/Make.defs renamed to testing/driver/fftest/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fftest/Make.defs
2+
# apps/testing/driver/fftest/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_FF),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/fftest
24+
CONFIGURED_APPS += $(APPDIR)/testing/driver/fftest
2525
endif

testing/fftest/Makefile renamed to testing/driver/fftest/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/fftest/Makefile
2+
# apps/testing/driver/fftest/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

testing/fftest/fftest.c renamed to testing/driver/fftest/fftest.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/fftest/fftest.c
2+
* apps/testing/driver/fftest/fftest.c
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/irtest/CMakeLists.txt renamed to testing/driver/irtest/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/irtest/CMakeLists.txt
2+
# apps/testing/driver/irtest/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

testing/irtest/Make.defs renamed to testing/driver/irtest/Make.defs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/irtest/Make.defs
2+
# apps/testing/driver/irtest/Make.defs
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -21,5 +21,5 @@
2121
############################################################################
2222

2323
ifneq ($(CONFIG_TESTING_IRTEST),)
24-
CONFIGURED_APPS += $(APPDIR)/testing/irtest
24+
CONFIGURED_APPS += $(APPDIR)/testing/driver/irtest
2525
endif

testing/irtest/Makefile renamed to testing/driver/irtest/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
############################################################################
2-
# apps/testing/irtest/Makefile
2+
# apps/testing/driver/irtest/Makefile
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#

testing/irtest/cmd.cxx renamed to testing/driver/irtest/cmd.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/irtest/cmd.cxx
2+
* apps/testing/driver/irtest/cmd.cxx
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/irtest/cmd.hpp renamed to testing/driver/irtest/cmd.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/irtest/cmd.hpp
2+
* apps/testing/driver/irtest/cmd.hpp
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/irtest/enum.cxx renamed to testing/driver/irtest/enum.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/irtest/enum.cxx
2+
* apps/testing/driver/irtest/enum.cxx
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/irtest/enum.hpp renamed to testing/driver/irtest/enum.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/irtest/enum.hpp
2+
* apps/testing/driver/irtest/enum.hpp
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/irtest/main.cxx renamed to testing/driver/irtest/main.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* apps/testing/irtest/main.cxx
2+
* apps/testing/driver/irtest/main.cxx
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

testing/monkey/CMakeLists.txt renamed to testing/driver/monkey/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ##############################################################################
2-
# apps/testing/monkey/CMakeLists.txt
2+
# apps/testing/driver/monkey/CMakeLists.txt
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
File renamed without changes.

0 commit comments

Comments
 (0)