Re: [PATCH 14/14] bsp/stm32h7: bring all required changes into system_stm32h7xx for STM32H7B3I-DK BSP variant

2022-04-05 Thread Sebastian Huber

On 01/04/2022 18:14, Karel Gardas wrote:

The changes provided here are a result of a merge from various examples
system_stm32h7xx.c files provided by STMicroelectronics for the STM32H7B3I-DK
board with the original RTEMS file provided for the STM32H743I-EVAL2 board.


I checked in all but this one, since git am didn't work. Could you 
please send this patch as an attachment or use a branch on github.


--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[PATCH] user/bsps/arm: remove dangling stm32h7 bsp page

2022-04-05 Thread Karel Gardas
The page for STM32H7 BSP is twice here, so let's keep the one providing
most information.
---
 user/bsps/arm/bsp-stm32h7.rst | 32 
 user/bsps/bsps-arm.rst|  1 -
 2 files changed, 33 deletions(-)
 delete mode 100644 user/bsps/arm/bsp-stm32h7.rst

diff --git a/user/bsps/arm/bsp-stm32h7.rst b/user/bsps/arm/bsp-stm32h7.rst
deleted file mode 100644
index bc2b471..000
--- a/user/bsps/arm/bsp-stm32h7.rst
+++ /dev/null
@@ -1,32 +0,0 @@
-.. SPDX-License-Identifier: CC-BY-SA-4.0
-
-.. Copyright (C) 2020 embedded brains GmbH
-
-stm32h7
-===
-
-This BSP supports the
-`STM32H7 Series 
`_.
-The BSP is known to run on these boards:
-
-* `STM32H743I-EVAL 2 
`_
-
-Clock Driver
-
-
-The clock driver uses the `ARMv7-M Systick` module.
-
-Console Driver
---
-
-The console driver supports the on-chip UART and USART modules.
-
-Network Interface Driver
-
-
-The network interface driver ``if_stmac`` is provided by the ``libbsd``.
-
-USB Host Driver

-
-The USB host driver ``dwc_otg`` is provided by the ``libbsd``.
diff --git a/user/bsps/bsps-arm.rst b/user/bsps/bsps-arm.rst
index f8a1d60..7f1e9d4 100644
--- a/user/bsps/bsps-arm.rst
+++ b/user/bsps/bsps-arm.rst
@@ -9,7 +9,6 @@ arm (ARM)
 .. include:: arm/altera-cyclone-v.rst
 .. include:: arm/atsam.rst
 .. include:: arm/beagle.rst
-.. include:: arm/bsp-stm32h7.rst
 .. include:: arm/csb336.rst
 .. include:: arm/csb337.rst
 .. include:: arm/edb7312.rst
-- 
2.25.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 1/2] bsps/stm32h7: due to smaller SRAM and disabled SDRAM, let's link for flash by default

2022-04-05 Thread Karel Gardas
---
 spec/build/bsps/arm/stm32h7/optlinkcmds.yml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml 
b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
index d0bb033cef..18a1983f63 100644
--- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: linkcmds.sdram
-default-by-variant: []
+default-by-variant:
+- value: linkcmds.flash
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{}'
 links: []
-- 
2.25.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 2/2] bsps/stm32h7: avoid tests requiring large memory on STM32H7B3I-DK BSP

2022-04-05 Thread Karel Gardas
---
 spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml |  2 ++
 spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml | 13 +
 2 files changed, 15 insertions(+)
 create mode 100644 spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml

diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml 
b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
index b33bf99826..83e11073e1 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
@@ -13,5 +13,7 @@ install: []
 links:
 - role: build-dependency
   uid: grp
+- role: build-dependency
+  uid: tststm32h7b3i-dk
 source: []
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml 
b/spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml
new file mode 100644
index 00..08c3d2bd27
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml
@@ -0,0 +1,13 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions: []
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+  uid: ../../tstsmallmem
+type: build
-- 
2.25.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 1/2] bsps/stm32h7: let's link for flash by default on STM32H7B3I-DK BSP

2022-04-05 Thread Karel Gardas
The patch is needed due to smaller SRAM and completely disabled
SDRAM on the BSP variant.
---
 spec/build/bsps/arm/stm32h7/optlinkcmds.yml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml 
b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
index d0bb033cef..18a1983f63 100644
--- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
@@ -3,7 +3,10 @@ actions:
 - env-assign: null
 build-type: option
 default: linkcmds.sdram
-default-by-variant: []
+default-by-variant:
+- value: linkcmds.flash
+  variants:
+  - arm/stm32h7b3i-dk
 enabled-by: true
 format: '{}'
 links: []
-- 
2.25.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 2/2] bsps/stm32h7: avoid tests requiring large memory on STM32H7B3I-DK BSP

2022-04-05 Thread Karel Gardas
---
 spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml |  2 ++
 spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml | 13 +
 2 files changed, 15 insertions(+)
 create mode 100644 spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml

diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml 
b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
index b33bf99826..83e11073e1 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
@@ -13,5 +13,7 @@ install: []
 links:
 - role: build-dependency
   uid: grp
+- role: build-dependency
+  uid: tststm32h7b3i-dk
 source: []
 type: build
diff --git a/spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml 
b/spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml
new file mode 100644
index 00..08c3d2bd27
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/tststm32h7b3i-dk.yml
@@ -0,0 +1,13 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions: []
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: null
+default-by-variant: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+  uid: ../../tstsmallmem
+type: build
-- 
2.25.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH 1/8] testsuites/mptests/*: Change license to BSD-2.

2022-04-05 Thread Joel Sherrill
Updates #3053.
---
 testsuites/mptests/mp01/initimpl.h | 25 ++---
 testsuites/mptests/mp01/system.h   | 25 ++---
 testsuites/mptests/mp01/task1.c| 25 ++---
 testsuites/mptests/mp03/delay.c| 25 ++---
 testsuites/mptests/mp03/initimpl.h | 25 ++---
 testsuites/mptests/mp03/system.h   | 25 ++---
 testsuites/mptests/mp03/task1.c| 25 ++---
 testsuites/mptests/mp04/initimpl.h | 25 ++---
 testsuites/mptests/mp04/system.h   | 25 ++---
 testsuites/mptests/mp04/task1.c| 25 ++---
 testsuites/mptests/mp05/asr.c  | 25 ++---
 testsuites/mptests/mp05/initimpl.h | 25 ++---
 testsuites/mptests/mp05/system.h   | 25 ++---
 testsuites/mptests/mp05/task1.c| 25 ++---
 testsuites/mptests/mp06/initimpl.h | 25 ++---
 testsuites/mptests/mp06/system.h   | 25 ++---
 testsuites/mptests/mp06/task1.c| 25 ++---
 testsuites/mptests/mp07/initimpl.h | 25 ++---
 testsuites/mptests/mp07/system.h   | 25 ++---
 testsuites/mptests/mp07/task1.c| 25 ++---
 testsuites/mptests/mp08/initimpl.h | 25 ++---
 testsuites/mptests/mp08/system.h   | 25 ++---
 testsuites/mptests/mp08/task1.c| 25 ++---
 testsuites/mptests/mp09/initimpl.h | 25 ++---
 testsuites/mptests/mp09/recvmsg.c  | 25 ++---
 testsuites/mptests/mp09/sendmsg.c  | 25 ++---
 testsuites/mptests/mp09/system.h   | 25 ++---
 testsuites/mptests/mp09/task1.c| 25 ++---
 testsuites/mptests/mp10/initimpl.h | 25 ++---
 testsuites/mptests/mp10/system.h   | 25 ++---
 testsuites/mptests/mp10/task1.c| 25 ++---
 testsuites/mptests/mp10/task2.c| 25 ++---
 testsuites/mptests/mp10/task3.c| 25 ++---
 testsuites/mptests/mp11/initimpl.h | 25 ++---
 testsuites/mptests/mp11/system.h   | 25 ++---
 testsuites/mptests/mp12/initimpl.h | 25 ++---
 testsuites/mptests/mp12/system.h   | 25 ++---
 testsuites/mptests/mp13/initimpl.h | 25 ++---
 testsuites/mptests/mp13/system.h   | 25 ++---
 testsuites/mptests/mp13/task1.c| 25 ++---
 testsuites/mptests/mp13/task2.c| 25 ++---
 testsuites/mptests/mp14/delay.c| 25 ++---
 testsuites/mptests/mp14/evtask1.c  | 25 ++---
 testsuites/mptests/mp14/evtmtask.c | 25 ++---
 testsuites/mptests/mp14/exit.c | 25 ++---
 testsuites/mptests/mp14/initimpl.h | 25 ++---
 testsuites/mptests/mp14/msgtask1.c | 25 ++---
 testsuites/mptests/mp14/pttask1.c  | 25 ++---
 testsuites/mptests/mp14/smtask1.c  | 25 ++---
 testsuites/mptests/mp14/system.h   | 25 ++---
 50 files changed, 1100 insertions(+), 150 deletions(-)

diff --git a/testsuites/mptests/mp01/initimpl.h 
b/testsuites/mptests/mp01/initimpl.h
index e9214c09c1..ee516aa9b2 100644
--- a/testsuites/mptests/mp01/initimpl.h
+++ b/testsuites/mptests/mp01/initimpl.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /*  Init
  *
  *  This routine is the initialization task for this test program.
@@ -14,9 +16,26 @@
  *  COPYRIGHT (c) 1989-1999.
  *  On-Line Applications Research Corporation (OAR).
  *
- *  The license and distribution terms for this file may be
- *  found in the file LICENSE in this distribution or at
- *  http://www.rtems.org/license/LICENSE.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT L

[PATCH 0/8] Change various tests license (automated)

2022-04-05 Thread Joel Sherrill
This patch set changes the license to BSP-2 for those files
which are caught by the scripting. This includes:

+ mptests
+ tmtests
+ libtests
+ fstests
+ smptests

Ryan is working through the files which do not have any 
file header with copyright and license. Archeology shows
the original submitter and year for those.

Hopefully nothing too controversial here.

--joel

Joel Sherrill (8):
  testsuites/mptests/*: Change license to BSD-2.
  testsuites/tmtests/*: Change license to BSD-2
  testsuites/libtests/[a-c]*: Change license to BSD-2
  testsuites/libtests/dl*: Change license to BSD-2
  testsuites/libtests/[d-o]*: Change license to BSD-2
  testsuites/libtests/[p-z]*: Change license to BSD-2
  testsuites/fstests/*: Change license to BSD-2
  testsuites/smptests/*: Change license to BSD-2

 testsuites/fstests/fsbdpart01/init.c  | 25 ---
 testsuites/fstests/fsdosfsformat01/init.c |  2 ++
 .../fsdosfsname01/image_bin_le_multibyte.h| 25 ---
 .../fsdosfsname01/image_bin_le_singlebyte.h   | 25 ---
 testsuites/fstests/fsdosfsname01/init.c   | 25 ---
 testsuites/fstests/fsdosfsname02/init.c   | 25 ---
 testsuites/fstests/fsdosfssync01/init.c   | 25 ---
 testsuites/fstests/fsdosfswrite01/init.c  | 25 ---
 testsuites/fstests/fserror/test.c | 25 ---
 testsuites/fstests/fsfseeko01/init.c  | 25 ---
 testsuites/fstests/fsimfsconfig01/init.c  | 25 ---
 testsuites/fstests/fsimfsconfig02/init.c  | 25 ---
 testsuites/fstests/fsimfsconfig03/init.c  | 25 ---
 testsuites/fstests/fsimfsgeneric01/init.c | 25 ---
 testsuites/fstests/fsjffs2gc01/init.c | 25 ---
 testsuites/fstests/fslink/test.c  | 25 ---
 testsuites/fstests/fsnofs01/init.c| 25 ---
 testsuites/fstests/fspatheval/test.c  | 25 ---
 testsuites/fstests/fspermission/test.c| 25 ---
 testsuites/fstests/fsrdwr/init.c  | 25 ---
 testsuites/fstests/fsrfsbitmap01/test.c   | 25 ---
 testsuites/fstests/fsrofs01/init.c| 25 ---
 testsuites/fstests/fsscandir01/init.c | 25 ---
 testsuites/fstests/fssymlink/test.c   | 25 ---
 testsuites/fstests/fstime/test.c  | 25 ---
 testsuites/fstests/imfs_support/fs_config.h   | 25 ---
 testsuites/fstests/imfs_support/fs_support.c  | 25 ---
 testsuites/fstests/jffs2_support/fs_config.h  | 25 ---
 testsuites/fstests/jffs2_support/fs_support.c | 25 ---
 testsuites/fstests/mdosfs_support/fs_config.h | 25 ---
 .../fstests/mdosfs_support/fs_support.c   | 25 ---
 testsuites/fstests/mimfs_support/fs_config.h  | 25 ---
 testsuites/fstests/mimfs_support/fs_support.c | 25 ---
 testsuites/fstests/mrfs_support/fs_config.h   | 25 ---
 testsuites/fstests/mrfs_support/fs_support.c  | 25 ---
 testsuites/fstests/support/fstest.h   | 25 ---
 testsuites/fstests/support/fstest_support.c   | 25 ---
 testsuites/fstests/support/fstest_support.h   | 25 ---
 testsuites/fstests/support/ramdisk_support.c  | 25 ---
 testsuites/fstests/support/ramdisk_support.h  | 25 ---
 testsuites/libtests/block01/init.c| 25 ---
 testsuites/libtests/block02/init.c| 25 ---
 testsuites/libtests/block03/init.c| 25 ---
 testsuites/libtests/block04/init.c| 25 ---
 testsuites/libtests/block05/init.c| 25 ---
 testsuites/libtests/block06/init.c| 25 ---
 testsuites/libtests/block07/init.c| 25 ---
 testsuites/libtests/block09/init.c| 25 ---
 testsuites/libtests/block10/init.c| 25 ---
 testsuites/libtests/block11/init.c| 25 ---
 testsuites/libtests/block12/init.c| 25 ---
 testsuites/libtests/block13/init.c| 25 ---
 testsuites/libtests/block14/init.c| 25 ---
 testsuites/libtests/block15/init.c| 25 ---
 testsuites/libtests/block16/init.c| 25 ---
 testsuites/libtests/block17/init.c| 25 ---
 testsuites/libtests/bspcmdline01/init.c   | 25 ---
 testsuites/libtests/complex/init.c| 25 ---
 testsuites/libtests/cpuuse/init.c  

[PATCH 2/8] testsuites/tmtests/*: Change license to BSD-2

2022-04-05 Thread Joel Sherrill
Updates #3053.
---
 testsuites/tmtests/include/timesys.h  | 25 ++---
 testsuites/tmtests/tm01/system.h  | 25 ++---
 testsuites/tmtests/tm01/task1.c   | 25 ++---
 testsuites/tmtests/tm02/system.h  | 25 ++---
 testsuites/tmtests/tm02/tm02impl.h| 25 ++---
 testsuites/tmtests/tm03/system.h  | 25 ++---
 testsuites/tmtests/tm03/tm03impl.h| 25 ++---
 testsuites/tmtests/tm04/system.h  | 25 ++---
 testsuites/tmtests/tm04/task1.c   | 25 ++---
 testsuites/tmtests/tm05/system.h  | 25 ++---
 testsuites/tmtests/tm05/task1.c   | 25 ++---
 testsuites/tmtests/tm06/system.h  | 25 ++---
 testsuites/tmtests/tm06/task1.c   | 25 ++---
 testsuites/tmtests/tm07/system.h  | 25 ++---
 testsuites/tmtests/tm07/task1.c   | 25 ++---
 testsuites/tmtests/tm08/system.h  | 25 ++---
 testsuites/tmtests/tm08/task1.c   | 25 ++---
 testsuites/tmtests/tm09/system.h  | 25 ++---
 testsuites/tmtests/tm09/task1.c   | 25 ++---
 testsuites/tmtests/tm10/system.h  | 25 ++---
 testsuites/tmtests/tm10/task1.c   | 25 ++---
 testsuites/tmtests/tm11/system.h  | 25 ++---
 testsuites/tmtests/tm11/task1.c   | 25 ++---
 testsuites/tmtests/tm12/system.h  | 25 ++---
 testsuites/tmtests/tm12/task1.c   | 25 ++---
 testsuites/tmtests/tm13/system.h  | 25 ++---
 testsuites/tmtests/tm13/task1.c   | 25 ++---
 testsuites/tmtests/tm14/system.h  | 25 ++---
 testsuites/tmtests/tm14/task1.c   | 25 ++---
 testsuites/tmtests/tm15/system.h  | 25 ++---
 testsuites/tmtests/tm15/task1.c   | 25 ++---
 testsuites/tmtests/tm16/system.h  | 25 ++---
 testsuites/tmtests/tm16/task1.c   | 25 ++---
 testsuites/tmtests/tm17/system.h  | 25 ++---
 testsuites/tmtests/tm17/task1.c   | 25 ++---
 testsuites/tmtests/tm18/system.h  | 25 ++---
 testsuites/tmtests/tm18/task1.c   | 25 ++---
 testsuites/tmtests/tm19/system.h  | 25 ++---
 testsuites/tmtests/tm19/task1.c   | 25 ++---
 testsuites/tmtests/tm20/system.h  | 25 ++---
 testsuites/tmtests/tm20/task1.c   | 25 ++---
 testsuites/tmtests/tm21/system.h  | 25 ++---
 testsuites/tmtests/tm21/task1.c   | 25 ++---
 testsuites/tmtests/tm22/system.h  | 25 ++---
 testsuites/tmtests/tm22/task1.c   | 25 ++---
 testsuites/tmtests/tm23/system.h  | 25 ++---
 testsuites/tmtests/tm23/task1.c   | 25 ++---
 testsuites/tmtests/tm24/system.h  | 25 ++---
 testsuites/tmtests/tm24/task1.c   | 25 ++---
 testsuites/tmtests/tm25/system.h  | 25 ++---
 testsuites/tmtests/tm25/task1.c   | 25 ++---
 testsuites/tmtests/tm26/fptest.h  | 25 ++---
 testsuites/tmtests/tm26/system.h  | 25 ++---
 testsuites/tmtests/tm26/task1.c   | 25 ++---
 testsuites/tmtests/tm27/system.h  | 25 ++---
 testsuites/tmtests/tm27/task1.c   | 25 ++---
 testsuites/tmtests/tm28/system.h  | 25 ++---
 testsuites/tmtests/tm28/task1.c   | 25 ++---
 testsuites/tmtests/tm29/system.h  | 25 ++---
 testsuites/tmtests/tm29/task1.c   | 25 ++---
 testsuites/tmtests/tm30/init.c| 25 ++---
 testsuites/tmtests/tmck/system.h  | 25 ++---
 testsuites/tmtests/tmck/task1.c   | 25 ++---
 testsuites/tmtests/tmcontext01/init.c | 25 ++---
 testsuites/tmtests/tmfine01/init.c| 25 ++---
 testsuites/tmtests/tmonetoone/init.c  | 25 ++---
 testsuites/tmtests/tmtimer01/init.c   | 25 ++---
 67 files changed, 1474 insertions(+), 201 deletions(-)

diff --git a/testsuites/tmtests/include/timesys.h 
b/testsuites/tmtests/include/timesys.h
index 9e984fd0b0..0543329dd1 100644
--- a/testsuites/tmtests/include/timesys.h
+++ b/testsuites/tmtests/include/timesys.h
@@ -1,3 +1,5 @@
+/* S

[PATCH 3/8] testsuites/libtests/[a-c]*: Change license to BSD-2

2022-04-05 Thread Joel Sherrill
Updates #3053.
---
 testsuites/libtests/block01/init.c  | 25 ++---
 testsuites/libtests/block02/init.c  | 25 ++---
 testsuites/libtests/block03/init.c  | 25 ++---
 testsuites/libtests/block04/init.c  | 25 ++---
 testsuites/libtests/block05/init.c  | 25 ++---
 testsuites/libtests/block06/init.c  | 25 ++---
 testsuites/libtests/block07/init.c  | 25 ++---
 testsuites/libtests/block09/init.c  | 25 ++---
 testsuites/libtests/block10/init.c  | 25 ++---
 testsuites/libtests/block11/init.c  | 25 ++---
 testsuites/libtests/block12/init.c  | 25 ++---
 testsuites/libtests/block13/init.c  | 25 ++---
 testsuites/libtests/block14/init.c  | 25 ++---
 testsuites/libtests/block15/init.c  | 25 ++---
 testsuites/libtests/block16/init.c  | 25 ++---
 testsuites/libtests/block17/init.c  | 25 ++---
 testsuites/libtests/bspcmdline01/init.c | 25 ++---
 testsuites/libtests/complex/init.c  | 25 ++---
 testsuites/libtests/cpuuse/init.c   | 25 ++---
 testsuites/libtests/cpuuse/system.h | 25 ++---
 testsuites/libtests/cpuuse/task1.c  | 25 ++---
 testsuites/libtests/cpuuse/task2.c  | 25 ++---
 testsuites/libtests/cpuuse/task3.c  | 25 ++---
 testsuites/libtests/cpuuse/tswitch.c| 25 ++---
 24 files changed, 528 insertions(+), 72 deletions(-)

diff --git a/testsuites/libtests/block01/init.c 
b/testsuites/libtests/block01/init.c
index 418f31e008..6af83f7655 100644
--- a/testsuites/libtests/block01/init.c
+++ b/testsuites/libtests/block01/init.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /**
  * @file
  *
@@ -9,9 +11,26 @@
 /*
  * Copyright (c) 2009, 2018 embedded brains GmbH.  All rights reserved.
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
  */
 
 #ifdef HAVE_CONFIG_H
diff --git a/testsuites/libtests/block02/init.c 
b/testsuites/libtests/block02/init.c
index 4d62ae3fda..3eb399dff4 100644
--- a/testsuites/libtests/block02/init.c
+++ b/testsuites/libtests/block02/init.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /**
  * @file
  *
@@ -9,9 +11,26 @@
 /*
  * Copyright (c) 2009, 2018 embedded brains GmbH.  All rights reserved.
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE

[PATCH 5/8] testsuites/libtests/[d-o]*: Change license to BSD-2

2022-04-05 Thread Joel Sherrill
Updates #3053.
---
 testsuites/libtests/debugger01/init.c | 25 ---
 testsuites/libtests/debugger01/remote.c   | 25 ---
 testsuites/libtests/debugger01/system.h   | 25 ---
 testsuites/libtests/defaultconfig01/init.c| 25 ---
 testsuites/libtests/devfs04/init.c| 25 ---
 testsuites/libtests/devfs04/test_driver.c | 25 ---
 testsuites/libtests/devfs04/test_driver.h | 25 ---
 testsuites/libtests/deviceio01/init.c | 25 ---
 testsuites/libtests/deviceio01/test_driver.c  | 25 ---
 testsuites/libtests/deviceio01/test_driver.h  | 25 ---
 testsuites/libtests/devnullfatal01/init.c | 25 ---
 testsuites/libtests/dumpbuf01/init.c  | 25 ---
 testsuites/libtests/exit01/init.c | 25 ---
 testsuites/libtests/exit02/init.c | 25 ---
 testsuites/libtests/flashdisk01/init.c| 25 ---
 .../libtests/flashdisk01/test-file-system.c   | 25 ---
 .../libtests/flashdisk01/test-file-system.h   | 25 ---
 testsuites/libtests/getentropy01/init.c   | 25 ---
 testsuites/libtests/heapwalk/init.c   | 25 ---
 testsuites/libtests/heapwalk/system.h | 25 ---
 testsuites/libtests/i2c01/init.c  | 25 ---
 testsuites/libtests/libfdt01/init.c   | 25 ---
 testsuites/libtests/malloc02/init.c   | 25 ---
 testsuites/libtests/malloc03/init.c   | 25 ---
 testsuites/libtests/malloc04/init.c   | 25 ---
 testsuites/libtests/malloctest/init.c | 25 ---
 testsuites/libtests/malloctest/system.h   | 25 ---
 testsuites/libtests/malloctest/task1.c| 25 ---
 testsuites/libtests/math/init.c   | 25 ---
 testsuites/libtests/mathf/init.c  | 25 ---
 testsuites/libtests/mathl/init.c  | 25 ---
 testsuites/libtests/md501/init.c  | 25 ---
 testsuites/libtests/monitor/init.c| 25 ---
 testsuites/libtests/monitor/system.h  | 25 ---
 testsuites/libtests/monitor02/init.c  | 25 ---
 testsuites/libtests/monitor02/system.h| 25 ---
 testsuites/libtests/mouse01/init.c| 25 ---
 testsuites/libtests/mouse01/msmouse.c | 25 ---
 testsuites/libtests/newlib01/init.c   | 25 ---
 39 files changed, 858 insertions(+), 117 deletions(-)

diff --git a/testsuites/libtests/debugger01/init.c 
b/testsuites/libtests/debugger01/init.c
index 9fb85007de..7a4eecd965 100644
--- a/testsuites/libtests/debugger01/init.c
+++ b/testsuites/libtests/debugger01/init.c
@@ -1,11 +1,30 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /*
  *  Debugger test.
  *
  *  Copyright (c) 2016 Chris Johns (chr...@rtems.org)
  *
- *  The license and distribution terms for this file may be
- *  found in the file LICENSE in this distribution or at
- *  http://www.rtems.org/license/LICENSE.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
  */
 
 #ifdef HAVE_CONFIG_H
diff --git a/testsuites/libtests/debugger01/remote.c 
b/testsuites/libtests/debugger01/remote.c
index 3b302284a8..f69442d8c1 100644
--- a/testsuites/libtests/debugger01/remote.c
+++ b/testsuites/libtests/debugger01/remote.c
@@ -1,11 +1,

[PATCH 6/8] testsuites/libtests/[p-z]*: Change license to BSD-2

2022-04-05 Thread Joel Sherrill
Updates #3053.
---
 testsuites/libtests/putenvtest/init.c | 25 ---
 testsuites/libtests/pwdgrp01/init.c   | 25 ---
 testsuites/libtests/pwdgrp02/init.c   | 25 ---
 testsuites/libtests/rbheap01/init.c   | 25 ---
 testsuites/libtests/rtmonuse/getall.c | 25 ---
 testsuites/libtests/rtmonuse/init.c   | 25 ---
 testsuites/libtests/rtmonuse/system.h | 25 ---
 testsuites/libtests/rtmonuse/task1.c  | 25 ---
 testsuites/libtests/sha/init.c| 25 ---
 testsuites/libtests/shell01/init.c| 25 ---
 testsuites/libtests/sparsedisk01/init.c   | 25 ---
 testsuites/libtests/spi01/init.c  | 25 ---
 testsuites/libtests/stackchk/blow.c   | 25 ---
 testsuites/libtests/stackchk/init.c   | 25 ---
 testsuites/libtests/stackchk/system.h | 25 ---
 testsuites/libtests/stackchk/task1.c  | 25 ---
 testsuites/libtests/stackchk01/init.c | 25 ---
 testsuites/libtests/stringto01/init.c | 25 ---
 .../stringto01/stringto_test_template.h   | 25 ---
 testsuites/libtests/tar01/init.c  | 25 ---
 testsuites/libtests/tar02/init.c  | 25 ---
 testsuites/libtests/tar03/init.c  | 25 ---
 testsuites/libtests/termios01/init.c  | 25 ---
 .../libtests/termios01/termios_testdriver.c   | 25 ---
 .../libtests/termios01/termios_testdriver.h   | 25 ---
 testsuites/libtests/termios02/init.c  | 25 ---
 testsuites/libtests/termios03/init.c  | 25 ---
 .../termios03/termios_testdriver_polled.c | 25 ---
 .../termios03/termios_testdriver_polled.h | 25 ---
 testsuites/libtests/termios04/init.c  | 25 ---
 .../termios04/termios_testdriver_impl.h   | 25 ---
 .../termios04/termios_testdriver_intr.h   | 25 ---
 testsuites/libtests/termios05/init.c  | 25 ---
 testsuites/libtests/termios06/init.c  | 25 ---
 testsuites/libtests/termios06/test_pppd.c | 25 ---
 testsuites/libtests/termios07/init.c  | 25 ---
 testsuites/libtests/termios08/init.c  | 25 ---
 testsuites/libtests/termios09/init.c  | 25 ---
 testsuites/libtests/top/init.c| 25 ---
 testsuites/libtests/top/system.h  | 25 ---
 testsuites/libtests/top/task1.c   | 25 ---
 testsuites/libtests/top/task2.c   | 25 ---
 testsuites/libtests/top/task3.c   | 25 ---
 testsuites/libtests/tztest/init.c | 25 ---
 testsuites/libtests/utf8proc01/init.c | 25 ---
 45 files changed, 990 insertions(+), 135 deletions(-)

diff --git a/testsuites/libtests/putenvtest/init.c 
b/testsuites/libtests/putenvtest/init.c
index 74cd8de1a8..748b023908 100644
--- a/testsuites/libtests/putenvtest/init.c
+++ b/testsuites/libtests/putenvtest/init.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /*  Init
  *
  *  This routine is the initialization task for this test program.
@@ -14,9 +16,26 @@
  *  COPYRIGHT (c) 1989-1999.
  *  On-Line Applications Research Corporation (OAR).
  *
- *  The license and distribution terms for this file may be
- *  found in the file LICENSE in this distribution or at
- *  http://www.rtems.org/license/LICENSE.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSIN

[PATCH 7/8] testsuites/fstests/*: Change license to BSD-2

2022-04-05 Thread Joel Sherrill
Updates #3053.
---
 testsuites/fstests/fsbdpart01/init.c  | 25 ---
 testsuites/fstests/fsdosfsformat01/init.c |  2 ++
 .../fsdosfsname01/image_bin_le_multibyte.h| 25 ---
 .../fsdosfsname01/image_bin_le_singlebyte.h   | 25 ---
 testsuites/fstests/fsdosfsname01/init.c   | 25 ---
 testsuites/fstests/fsdosfsname02/init.c   | 25 ---
 testsuites/fstests/fsdosfssync01/init.c   | 25 ---
 testsuites/fstests/fsdosfswrite01/init.c  | 25 ---
 testsuites/fstests/fserror/test.c | 25 ---
 testsuites/fstests/fsfseeko01/init.c  | 25 ---
 testsuites/fstests/fsimfsconfig01/init.c  | 25 ---
 testsuites/fstests/fsimfsconfig02/init.c  | 25 ---
 testsuites/fstests/fsimfsconfig03/init.c  | 25 ---
 testsuites/fstests/fsimfsgeneric01/init.c | 25 ---
 testsuites/fstests/fsjffs2gc01/init.c | 25 ---
 testsuites/fstests/fslink/test.c  | 25 ---
 testsuites/fstests/fsnofs01/init.c| 25 ---
 testsuites/fstests/fspatheval/test.c  | 25 ---
 testsuites/fstests/fspermission/test.c| 25 ---
 testsuites/fstests/fsrdwr/init.c  | 25 ---
 testsuites/fstests/fsrfsbitmap01/test.c   | 25 ---
 testsuites/fstests/fsrofs01/init.c| 25 ---
 testsuites/fstests/fsscandir01/init.c | 25 ---
 testsuites/fstests/fssymlink/test.c   | 25 ---
 testsuites/fstests/fstime/test.c  | 25 ---
 testsuites/fstests/imfs_support/fs_config.h   | 25 ---
 testsuites/fstests/imfs_support/fs_support.c  | 25 ---
 testsuites/fstests/jffs2_support/fs_config.h  | 25 ---
 testsuites/fstests/jffs2_support/fs_support.c | 25 ---
 testsuites/fstests/mdosfs_support/fs_config.h | 25 ---
 .../fstests/mdosfs_support/fs_support.c   | 25 ---
 testsuites/fstests/mimfs_support/fs_config.h  | 25 ---
 testsuites/fstests/mimfs_support/fs_support.c | 25 ---
 testsuites/fstests/mrfs_support/fs_config.h   | 25 ---
 testsuites/fstests/mrfs_support/fs_support.c  | 25 ---
 testsuites/fstests/support/fstest.h   | 25 ---
 testsuites/fstests/support/fstest_support.c   | 25 ---
 testsuites/fstests/support/fstest_support.h   | 25 ---
 testsuites/fstests/support/ramdisk_support.c  | 25 ---
 testsuites/fstests/support/ramdisk_support.h  | 25 ---
 40 files changed, 860 insertions(+), 117 deletions(-)

diff --git a/testsuites/fstests/fsbdpart01/init.c 
b/testsuites/fstests/fsbdpart01/init.c
index 6a4b96e812..1133e7b1c9 100644
--- a/testsuites/fstests/fsbdpart01/init.c
+++ b/testsuites/fstests/fsbdpart01/init.c
@@ -1,9 +1,28 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /*
  * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
  *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *notice, this list of conditions and the following disclaimer in the
+ *documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
  */
 
 #ifdef HAVE_CONFIG_H
diff --git a/testsuites/fstests/fsdosfsformat01/init.c 
b/testsuites/fstests/fsdosfsformat01/init.c
index 6784c2ff98..8f62960976 100644
--- a/testsuites/fstests/fsdosfsformat01/init.c
+++ b/testsuites/

[PATCH 8/8] testsuites/smptests/*: Change license to BSD-2

2022-04-05 Thread Joel Sherrill
Updates #3053.
---
 testsuites/smptests/smp01/init.c  | 25 ---
 testsuites/smptests/smp01/system.h| 25 ---
 testsuites/smptests/smp01/tasks.c | 25 ---
 testsuites/smptests/smp02/init.c  | 25 ---
 testsuites/smptests/smp02/system.h| 25 ---
 testsuites/smptests/smp02/tasks.c | 25 ---
 testsuites/smptests/smp03/init.c  | 25 ---
 testsuites/smptests/smp03/system.h| 25 ---
 testsuites/smptests/smp03/tasks.c | 25 ---
 testsuites/smptests/smp05/init.c  | 25 ---
 testsuites/smptests/smp07/init.c  | 25 ---
 testsuites/smptests/smp08/init.c  | 25 ---
 testsuites/smptests/smp08/system.h| 25 ---
 testsuites/smptests/smp08/tasks.c | 25 ---
 testsuites/smptests/smp09/init.c  | 25 ---
 testsuites/smptests/smpaffinity01/init.c  | 25 ---
 testsuites/smptests/smpcache01/init.c | 25 ---
 testsuites/smptests/smpcapture01/init.c   | 25 ---
 testsuites/smptests/smpclock01/init.c | 25 ---
 testsuites/smptests/smpfatal01/init.c | 25 ---
 testsuites/smptests/smpfatal02/init.c | 25 ---
 testsuites/smptests/smpfatal04/init.c | 25 ---
 testsuites/smptests/smpfatal05/init.c | 25 ---
 testsuites/smptests/smpfatal06/init.c | 25 ---
 testsuites/smptests/smpfatal08/init.c | 25 ---
 testsuites/smptests/smpipi01/init.c   | 25 ---
 testsuites/smptests/smpload01/init.c  | 25 ---
 testsuites/smptests/smplock01/init.c  | 25 ---
 testsuites/smptests/smpmigration01/init.c | 25 ---
 testsuites/smptests/smpmigration02/init.c | 25 ---
 testsuites/smptests/smpmrsp01/init.c  | 25 ---
 testsuites/smptests/smpmutex01/init.c | 25 ---
 testsuites/smptests/smpmutex02/init.c | 25 ---
 testsuites/smptests/smppsxaffinity01/init.c   | 25 ---
 testsuites/smptests/smppsxaffinity02/init.c   | 25 ---
 testsuites/smptests/smppsxmutex01/init.c  | 25 ---
 testsuites/smptests/smppsxsignal01/init.c | 25 ---
 testsuites/smptests/smpschedaffinity01/init.c | 25 ---
 testsuites/smptests/smpschedaffinity02/init.c | 25 ---
 testsuites/smptests/smpschedaffinity03/init.c | 25 ---
 testsuites/smptests/smpschedaffinity04/init.c | 25 ---
 testsuites/smptests/smpschedaffinity05/init.c | 25 ---
 testsuites/smptests/smpschededf01/init.c  | 25 ---
 testsuites/smptests/smpschededf02/init.c  | 25 ---
 testsuites/smptests/smpschededf03/init.c  | 25 ---
 testsuites/smptests/smpschededf04/init.c  | 25 ---
 testsuites/smptests/smpschedsem01/init.c  | 25 ---
 testsuites/smptests/smpscheduler01/init.c | 25 ---
 testsuites/smptests/smpscheduler02/init.c | 25 ---
 testsuites/smptests/smpscheduler03/init.c | 25 ---
 testsuites/smptests/smpscheduler03/test.c | 25 ---
 testsuites/smptests/smpscheduler04/init.c | 25 ---
 testsuites/smptests/smpscheduler05/init.c | 25 ---
 testsuites/smptests/smpscheduler06/init.c | 25 ---
 testsuites/smptests/smpscheduler07/init.c | 25 ---
 testsuites/smptests/smpsignal01/init.c| 25 ---
 testsuites/smptests/smpstrongapa01/init.c | 25 ---
 .../smptests/smpswitchextension01/init.c  | 25 ---
 testsuites/smptests/smpthreadlife01/init.c| 25 ---
 testsuites/smptests/smpthreadpin01/init.c | 25 ---
 testsuites/smptests/smpunsupported01/init.c   | 25 ---
 testsuites/smptests/smpwakeafter01/init.c | 25 ---
 62 files changed, 1364 insertions(+), 186 deletions(-)

diff --git a/testsuites/smptests/smp01/init.c b/testsuites/smptests/smp01/init.c
index cbfd205010..a0f75d51c0 100644
--- a/testsuites/smptests/smp01/init.c
+++ b/testsuites/smptests/smp01/init.c
@@ -1,10 +1,29 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+
 /*
  *  COPYRIGHT (c) 1989-2011.
  *  On-Line Applications Research Corporation (OAR).
  *
- *  The license and distribution terms for this file may be
- *  found in the file LICENSE in this distrib

Re: [PATCH] user/bsps/arm: remove dangling stm32h7 bsp page

2022-04-05 Thread Sebastian Huber

On 05/04/2022 13:13, Karel Gardas wrote:

The page for STM32H7 BSP is twice here, so let's keep the one providing
most information.


Thanks, I checked it in.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 1/2] bsps/stm32h7: let's link for flash by default on STM32H7B3I-DK BSP

2022-04-05 Thread Sebastian Huber

On 05/04/2022 14:16, Karel Gardas wrote:

The patch is needed due to smaller SRAM and completely disabled
SDRAM on the BSP variant.


Thanks, I checked it in with a shortened subject.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Fence for Malloc'ed Memory Characterization

2022-04-05 Thread Sebastian Huber

On 05/04/2022 00:44, Joel Sherrill wrote:

Where is the memory fence for allocations added? How much? Does it adjoin
at the low and high end?


If you enable RTEMS_DEBUG, then there is a fence present (heap 
protection block).


--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel