zcbor: Add copy notice to all copied files
And update script
Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
diff --git a/boot/zcbor/add_zcbor_copy_version.sh b/boot/zcbor/add_zcbor_copy_version.sh
index dc49887..a88ebf9 100755
--- a/boot/zcbor/add_zcbor_copy_version.sh
+++ b/boot/zcbor/add_zcbor_copy_version.sh
@@ -20,3 +20,5 @@
add_copy_notice include/zcbor_decode.h "copied"
add_copy_notice include/zcbor_encode.h "copied"
add_copy_notice include/zcbor_common.h "copied"
+add_copy_notice include/zcbor_print.h "copied"
+add_copy_notice include/zcbor_tags.h "copied"
diff --git a/boot/zcbor/include/zcbor_common.h b/boot/zcbor/include/zcbor_common.h
index 8798897..0bf81c9 100644
--- a/boot/zcbor/include/zcbor_common.h
+++ b/boot/zcbor/include/zcbor_common.h
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
diff --git a/boot/zcbor/include/zcbor_decode.h b/boot/zcbor/include/zcbor_decode.h
index 61a6f17..4cc2c19 100644
--- a/boot/zcbor/include/zcbor_decode.h
+++ b/boot/zcbor/include/zcbor_decode.h
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
diff --git a/boot/zcbor/include/zcbor_encode.h b/boot/zcbor/include/zcbor_encode.h
index 89b0a97..68741d1 100644
--- a/boot/zcbor/include/zcbor_encode.h
+++ b/boot/zcbor/include/zcbor_encode.h
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
diff --git a/boot/zcbor/include/zcbor_print.h b/boot/zcbor/include/zcbor_print.h
index 18f8656..22a5637 100644
--- a/boot/zcbor/include/zcbor_print.h
+++ b/boot/zcbor/include/zcbor_print.h
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
diff --git a/boot/zcbor/include/zcbor_tags.h b/boot/zcbor/include/zcbor_tags.h
index 8914877..1cf811d 100644
--- a/boot/zcbor/include/zcbor_tags.h
+++ b/boot/zcbor/include/zcbor_tags.h
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
diff --git a/boot/zcbor/src/zcbor_common.c b/boot/zcbor/src/zcbor_common.c
index 1caf806..f1a039e 100644
--- a/boot/zcbor/src/zcbor_common.c
+++ b/boot/zcbor/src/zcbor_common.c
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
diff --git a/boot/zcbor/src/zcbor_decode.c b/boot/zcbor/src/zcbor_decode.c
index 92f9fe5..5f7e0e1 100644
--- a/boot/zcbor/src/zcbor_decode.c
+++ b/boot/zcbor/src/zcbor_decode.c
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
diff --git a/boot/zcbor/src/zcbor_encode.c b/boot/zcbor/src/zcbor_encode.c
index 44411ea..9859d68 100644
--- a/boot/zcbor/src/zcbor_encode.c
+++ b/boot/zcbor/src/zcbor_encode.c
@@ -1,4 +1,9 @@
/*
+ * This file has been copied from the zcbor library.
+ * Commit zcbor 0.8.0
+ */
+
+/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0