From 123218cc51a55adc9b0c3a57e862206a6b8b4432 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Desbiens?= Date: Sat, 6 Jun 2026 21:42:47 +0200 Subject: [PATCH] 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 <223556219+Copilot@users.noreply.github.com> --- samples/demo_filex_nand_flash.c | 11 +++++++++++ samples/demo_filex_nor_flash.c | 11 +++++++++++ scripts/build.sh | 11 +++++++++++ scripts/install.sh | 11 +++++++++++ scripts/test.sh | 11 +++++++++++ test/cmake/coverage.sh | 11 +++++++++++ test/cmake/run.sh | 11 +++++++++++ test/regression/levelx_nand_flash_test.c | 11 +++++++++++ test/regression/levelx_nor_flash_test.c | 11 +++++++++++ test/regression/levelx_nor_flash_test_cache.c | 11 +++++++++++ 10 files changed, 110 insertions(+) diff --git a/samples/demo_filex_nand_flash.c b/samples/demo_filex_nand_flash.c index 685187b..67f25d4 100644 --- a/samples/demo_filex_nand_flash.c +++ b/samples/demo_filex_nand_flash.c @@ -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 */ +/***************************************************************************/ + /* This is a small demo of the high-performance FileX FAT file system with LevelX and the NAND simulated driver. */ diff --git a/samples/demo_filex_nor_flash.c b/samples/demo_filex_nor_flash.c index 31ab631..9bf2838 100644 --- a/samples/demo_filex_nor_flash.c +++ b/samples/demo_filex_nor_flash.c @@ -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 */ +/***************************************************************************/ + /* This is a small demo of the high-performance FileX FAT file system with LevelX and the NOR simulated driver. */ diff --git a/scripts/build.sh b/scripts/build.sh index 94d702b..0ec3d05 100755 --- a/scripts/build.sh +++ b/scripts/build.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/cmake/run.sh build all \ No newline at end of file diff --git a/scripts/install.sh b/scripts/install.sh index d38a477..bcf4a0c 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 +############################################################################## + # # Remove large folder diff --git a/scripts/test.sh b/scripts/test.sh index af8d0df..1c4be22 100755 --- a/scripts/test.sh +++ b/scripts/test.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/cmake/run.sh test all \ No newline at end of file diff --git a/test/cmake/coverage.sh b/test/cmake/coverage.sh index 394d732..817b62f 100755 --- a/test/cmake/coverage.sh +++ b/test/cmake/coverage.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/test/cmake/run.sh b/test/cmake/run.sh index 7feb463..3f8159d 100755 --- a/test/cmake/run.sh +++ b/test/cmake/run.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 +############################################################################## + cd $(dirname $0) diff --git a/test/regression/levelx_nand_flash_test.c b/test/regression/levelx_nand_flash_test.c index e7dcc86..d9c1e4c 100644 --- a/test/regression/levelx_nand_flash_test.c +++ b/test/regression/levelx_nand_flash_test.c @@ -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 */ +/***************************************************************************/ + /* Basic NOR flash tests... */ #include diff --git a/test/regression/levelx_nor_flash_test.c b/test/regression/levelx_nor_flash_test.c index 143371a..6ad2e95 100644 --- a/test/regression/levelx_nor_flash_test.c +++ b/test/regression/levelx_nor_flash_test.c @@ -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 */ +/***************************************************************************/ + /* Basic NOR flash tests... */ #include diff --git a/test/regression/levelx_nor_flash_test_cache.c b/test/regression/levelx_nor_flash_test_cache.c index fb65102..d0b24d0 100644 --- a/test/regression/levelx_nor_flash_test_cache.c +++ b/test/regression/levelx_nor_flash_test_cache.c @@ -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 */ +/***************************************************************************/ + /* Basic NOR flash tests... */ #include