summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-06 21:42:47 +0200
committerFrédéric Desbiens <[email protected]>2026-06-06 21:48:06 +0200
commit730b61874bc5cf40768987605ae5187fde0fa1e2 (patch)
treedd062ebbea5235d1921c64b396bf7e4ce79e9e15 /scripts
parentde1c6e9bbe13e2db480e4e0ed2d3589ebdd5db27 (diff)
Added copyright headers to files missing them
Applied the standard MIT license header to all project-owned C, header, assembly, shell, and Python files that were missing a copyright notice. Third-party, toolchain startup, and auto-generated files were excluded. Co-authored-by: Copilot <[email protected]>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_smp.sh11
-rwxr-xr-xscripts/build_tx.sh11
-rwxr-xr-xscripts/build_tx_riscv.sh11
-rwxr-xr-xscripts/cmake_bootstrap.sh11
-rwxr-xr-xscripts/copy_armv7_m.sh11
-rwxr-xr-xscripts/copy_armv8_m.sh11
-rwxr-xr-xscripts/copy_module_armv7_m.sh11
-rwxr-xr-xscripts/install.sh11
-rwxr-xr-xscripts/install_riscv.sh11
-rwxr-xr-xscripts/sdl_check.sh11
-rwxr-xr-xscripts/test_smp.sh11
-rwxr-xr-xscripts/test_tx.sh11
-rwxr-xr-xscripts/test_tx_riscv.sh11
13 files changed, 143 insertions, 0 deletions
diff --git a/scripts/build_smp.sh b/scripts/build_smp.sh
index 615a9be8..4c8f3b63 100755
--- a/scripts/build_smp.sh
+++ b/scripts/build_smp.sh
@@ -1,2 +1,13 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
$(dirname `realpath $0`)/../test/smp/cmake/run.sh build all
diff --git a/scripts/build_tx.sh b/scripts/build_tx.sh
index a1773a1e..a904f909 100755
--- a/scripts/build_tx.sh
+++ b/scripts/build_tx.sh
@@ -1,2 +1,13 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
$(dirname `realpath $0`)/../test/tx/cmake/run.sh build all
diff --git a/scripts/build_tx_riscv.sh b/scripts/build_tx_riscv.sh
index bad952df..930bb9a3 100755
--- a/scripts/build_tx_riscv.sh
+++ b/scripts/build_tx_riscv.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
# Build RISC-V regression tests for both RV32 and RV64.
# Usage: build_tx_riscv.sh [all|<config>]
diff --git a/scripts/cmake_bootstrap.sh b/scripts/cmake_bootstrap.sh
index b7b314fa..d66d668d 100755
--- a/scripts/cmake_bootstrap.sh
+++ b/scripts/cmake_bootstrap.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
set -e
diff --git a/scripts/copy_armv7_m.sh b/scripts/copy_armv7_m.sh
index 825979a2..e04ec2a7 100755
--- a/scripts/copy_armv7_m.sh
+++ b/scripts/copy_armv7_m.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
# There is only one tx_port.h file that covers three architectures: M3/M4/M7 and four tools: ac5/ac6/gnu/iar.
# This file is in threadx/ports/armv7-m/inc. We are going to ignore GHS for now, but I’d like to get GHS unified as well.
diff --git a/scripts/copy_armv8_m.sh b/scripts/copy_armv8_m.sh
index 0963ecbe..c66cc11e 100755
--- a/scripts/copy_armv8_m.sh
+++ b/scripts/copy_armv8_m.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
# There are two files tx_port.h and tx_secure_interface.h that cover three architectures: M33/M55/M85 and three tools: ac6/gnu/iar.
# These files are in threadx/ports/armv8-m/inc.
diff --git a/scripts/copy_module_armv7_m.sh b/scripts/copy_module_armv7_m.sh
index a0ddcd27..c2d19094 100755
--- a/scripts/copy_module_armv7_m.sh
+++ b/scripts/copy_module_armv7_m.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
# There is only one tx_port.h file that covers three architectures: M3/M4/M7 and four tools: ac5/ac6/gnu/iar.
# This file is in threadx/ports_module/armv7-m/inc. We are going to ignore GHS.
diff --git a/scripts/install.sh b/scripts/install.sh
index 752a03b4..bc868477 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
#
# Install necessary softwares for Ubuntu.
diff --git a/scripts/install_riscv.sh b/scripts/install_riscv.sh
index 9c2f2cdb..41642e70 100755
--- a/scripts/install_riscv.sh
+++ b/scripts/install_riscv.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
# Install RISC-V bare-metal cross-compiler toolchain and QEMU for CI.
set -e
diff --git a/scripts/sdl_check.sh b/scripts/sdl_check.sh
index 77eeb5ce..4bcd888a 100755
--- a/scripts/sdl_check.sh
+++ b/scripts/sdl_check.sh
@@ -1,3 +1,14 @@
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
# !/bin/bash
dir_list="common common_smp common_modules ports ports_module ports_smp samples"
exclude_list="-path TX"
diff --git a/scripts/test_smp.sh b/scripts/test_smp.sh
index 135f0847..72be13c0 100755
--- a/scripts/test_smp.sh
+++ b/scripts/test_smp.sh
@@ -1,3 +1,14 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/smp/cmake/run.sh test all
diff --git a/scripts/test_tx.sh b/scripts/test_tx.sh
index 613b086c..3a219431 100755
--- a/scripts/test_tx.sh
+++ b/scripts/test_tx.sh
@@ -1,3 +1,14 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/tx/cmake/run.sh test all
diff --git a/scripts/test_tx_riscv.sh b/scripts/test_tx_riscv.sh
index 7d35c53f..950afb85 100755
--- a/scripts/test_tx_riscv.sh
+++ b/scripts/test_tx_riscv.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
# Run RISC-V regression tests for both RV32 and RV64 on QEMU.
# Usage: test_tx_riscv.sh [all|<config>]