Skip to content

Commit b2f23f2

Browse files
authored
Merge pull request #37 from RT-Thread/master
同步官方
2 parents 342b0a3 + 4dc6d00 commit b2f23f2

File tree

374 files changed

+19584
-19866
lines changed

Some content is hidden

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

374 files changed

+19584
-19866
lines changed

bsp/CME_M7/applications/application.c

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
/*
2-
* File : application.c
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006-2014, RT-Thread Development Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* The license and distribution terms for this file may be
7-
* found in the file LICENSE in this distribution or at
8-
* http://www.rt-thread.org/license/LICENSE
4+
* SPDX-License-Identifier: Apache-2.0
95
*
106
* Change Logs:
117
* Date Author Notes
@@ -32,10 +28,10 @@ int rt_application_init()
3228

3329
tid = rt_thread_create("init",
3430
rt_init_thread_entry,
35-
RT_NULL,
31+
RT_NULL,
3632
2048,
37-
RT_THREAD_PRIORITY_MAX/3,
38-
20);
33+
RT_THREAD_PRIORITY_MAX/3,
34+
20);
3935

4036
if (tid != RT_NULL)
4137
rt_thread_startup(tid);

bsp/CME_M7/drivers/board.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
/*
2-
* File : board.c
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2009-2014, RT-Thread Develop Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* The license and distribution terms for this file may be
7-
* found in the file LICENSE in this distribution or at
8-
* http://www.rt-thread.org/license/LICENSE
4+
* SPDX-License-Identifier: Apache-2.0
95
*
106
* Change Logs:
117
* Date Author Notes

bsp/CME_M7/drivers/board.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
/*
2-
* File : board.h
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2009-2014, RT-Thread Development Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* The license and distribution terms for this file may be
7-
* found in the file LICENSE in this distribution or at
8-
* http://www.rt-thread.org/license/LICENSE
4+
* SPDX-License-Identifier: Apache-2.0
95
*
106
* Change Logs:
117
* Date Author Notes
@@ -18,7 +14,7 @@
1814
#include "cmem7_includes.h"
1915
//#include "cmem7_retarget.h"
2016

21-
#define SRAM_SIZE 64 // KB
17+
#define SRAM_SIZE 64 // KB
2218
#define SRAM_END (0x20000000 + SRAM_SIZE * 1024)
2319

2420
//#define RT_USING_UART0

bsp/allwinner_tina/libcpu/context_gcc.S

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
;/*
2-
; * File : context_iar.S
3-
; * This file is part of RT-Thread RTOS
4-
; * COPYRIGHT (C) 2006, RT-Thread Development Team
2+
; * Copyright (c) 2006-2021, RT-Thread Development Team
53
; *
6-
; * This program is free software; you can redistribute it and/or modify
7-
; * it under the terms of the GNU General Public License as published by
8-
; * the Free Software Foundation; either version 2 of the License, or
9-
; * (at your option) any later version.
10-
; *
11-
; * This program is distributed in the hope that it will be useful,
12-
; * but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
; * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
; * GNU General Public License for more details.
15-
; *
16-
; * You should have received a copy of the GNU General Public License along
17-
; * with this program; if not, write to the Free Software Foundation, Inc.,
18-
; * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
; * SPDX-License-Identifier: Apache-2.0
195
; *
206
; * Change Logs:
217
; * Date Author Notes

bsp/amebaz/libraries/smartconfig/inc/smartconfig.h

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
* File : smartconfig.h
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006 - 2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; if not, write to the Free Software Foundation, Inc.,
18-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
* SPDX-License-Identifier: Apache-2.0
195
*
206
* Change Logs:
217
* Date Author Notes

bsp/asm9260t/applications/application.c

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
11
/*
2-
* File : application.c
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006-2015, RT-Thread Development Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; if not, write to the Free Software Foundation, Inc.,
18-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
* SPDX-License-Identifier: Apache-2.0
195
*
206
* Change Logs:
21-
* Date Author Notes
22-
* 2011-01-13 weety first version
7+
* Date Author Notes
8+
* 2011-01-13 weety first version
239
* 2015-04-27 ArdaFu Port bsp from at91sam9260 to asm9260t
2410
*/
2511

bsp/asm9260t/drivers/board.c

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
* File : board.c
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006 - 2009 RT-Thread Develop Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; if not, write to the Free Software Foundation, Inc.,
18-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
* SPDX-License-Identifier: Apache-2.0
195
*
206
* Change Logs:
217
* Date Author Notes

bsp/asm9260t/drivers/board.h

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
* File : board.h
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006, RT-Thread Develop Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; if not, write to the Free Software Foundation, Inc.,
18-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
* SPDX-License-Identifier: Apache-2.0
195
*
206
* Change Logs:
217
* Date Author Notes

bsp/asm9260t/drivers/led.c

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
* File : led.c
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006-2015, RT-Thread Develop Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; if not, write to the Free Software Foundation, Inc.,
18-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
* SPDX-License-Identifier: Apache-2.0
195
*
206
* Change Logs:
217
* Date Author Notes

bsp/asm9260t/drivers/led.h

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,7 @@
11
/*
2-
* File : led.h
3-
* This file is part of RT-Thread RTOS
4-
* COPYRIGHT (C) 2006, RT-Thread Development Team
2+
* Copyright (c) 2006-2021, RT-Thread Development Team
53
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License along
17-
* with this program; if not, write to the Free Software Foundation, Inc.,
18-
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
4+
* SPDX-License-Identifier: Apache-2.0
195
*
206
* Change Logs:
217
* Date Author Notes

0 commit comments

Comments
 (0)