summaryrefslogtreecommitdiff
path: root/examples/test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test')
-rw-r--r--examples/test/device_test.c8
-rw-r--r--examples/test/fs_test.c8
-rw-r--r--examples/test/hwtimer_test.c9
-rw-r--r--examples/test/mem_test.c9
-rw-r--r--examples/test/net_test.c9
-rw-r--r--examples/test/rbb_test.c18
-rw-r--r--examples/test/rtc_test.c19
7 files changed, 36 insertions, 44 deletions
diff --git a/examples/test/device_test.c b/examples/test/device_test.c
index d62c2168ff..f9a7591478 100644
--- a/examples/test/device_test.c
+++ b/examples/test/device_test.c
@@ -1,11 +1,7 @@
/*
- * File : device_test.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2011, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://openlab.rt-thread.com/license/LICENSE.
+ * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
diff --git a/examples/test/fs_test.c b/examples/test/fs_test.c
index 2404b82e59..a86bbd6ac2 100644
--- a/examples/test/fs_test.c
+++ b/examples/test/fs_test.c
@@ -1,11 +1,7 @@
/*
- * File : fs_test.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2011, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://openlab.rt-thread.com/license/LICENSE.
+ * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
diff --git a/examples/test/hwtimer_test.c b/examples/test/hwtimer_test.c
index b488c305b2..15d7aa830f 100644
--- a/examples/test/hwtimer_test.c
+++ b/examples/test/hwtimer_test.c
@@ -1,3 +1,12 @@
+/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ */
+
#include <rtthread.h>
#include <rtdevice.h>
#include <finsh.h>
diff --git a/examples/test/mem_test.c b/examples/test/mem_test.c
index 549be80ab4..cd7d1b3552 100644
--- a/examples/test/mem_test.c
+++ b/examples/test/mem_test.c
@@ -1,3 +1,12 @@
+/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ */
+
#include <stdint.h>
#include <rthw.h>
diff --git a/examples/test/net_test.c b/examples/test/net_test.c
index de143147d1..656686f091 100644
--- a/examples/test/net_test.c
+++ b/examples/test/net_test.c
@@ -1,4 +1,13 @@
/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ */
+
+/*
* Net Test Utilities for RT-Thread
*/
#include <rtthread.h>
diff --git a/examples/test/rbb_test.c b/examples/test/rbb_test.c
index f276c993da..c4236bca44 100644
--- a/examples/test/rbb_test.c
+++ b/examples/test/rbb_test.c
@@ -1,21 +1,7 @@
/*
- * File : rbb_test.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2006 - 2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
diff --git a/examples/test/rtc_test.c b/examples/test/rtc_test.c
index 48129ca36c..4ed1349de4 100644
--- a/examples/test/rtc_test.c
+++ b/examples/test/rtc_test.c
@@ -1,26 +1,13 @@
/*
- * File : rtc_test.c
- * This file is part of RT-Thread RTOS
- * COPYRIGHT (C) 2017, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-01-15 Liu2guang the first version.
*/
+
#include <rtthread.h>
#include <rtdevice.h>