diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index be7c9eb..0faa511 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + name: Build and Test on: diff --git a/README.md b/README.md index ed8577e..602dd70 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + # IREE Bare-Metal Arm Sample [![Build and Test](https://github.com/iml130/iree-bare-metal-arm/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/iml130/iree-bare-metal-arm/actions/workflows/build-and-test.yml) diff --git a/build_tools/README.md b/build_tools/README.md index 55605f3..99a85ab 100644 --- a/build_tools/README.md +++ b/build_tools/README.md @@ -1,3 +1,7 @@ + # Build Tools The `stm32-cmsis-base.ld` and `stm32f407xg-cmsis.ld` linker scripts are based on the the [`gcc_arm.ld`](https://github.com/ARM-software/CMSIS_5/blob/ca1b514243d8e69f1a8190e59de4b0c4ea6bdcaa/Device/_Template_Vendor/Vendor/Device/Source/GCC/gcc_arm.ld) linker script from the [ARM-software/CMSIS_5](https://github.com/ARM-software/CMSIS_5) repository. The `gcc_arm.ld` linker script was split, such that common parts are in `stm32-cmsis-base.ld` whereas the memory layout is defined in `stm32f407xg-cmsis.ld`. diff --git a/build_tools/convert-image-to-c-array.py b/build_tools/convert-image-to-c-array.py index 8b33e8d..4025e09 100755 --- a/build_tools/convert-image-to-c-array.py +++ b/build_tools/convert-image-to-c-array.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 +# # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/tests/mnist_static_library.robot b/tests/mnist_static_library.robot index fb48b4a..7bf7c81 100644 --- a/tests/mnist_static_library.robot +++ b/tests/mnist_static_library.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/mnist_static_library_c.robot b/tests/mnist_static_library_c.robot index 2bdb300..bb5320f 100644 --- a/tests/mnist_static_library_c.robot +++ b/tests/mnist_static_library_c.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/nrf52840.resource b/tests/nrf52840.resource index f373b5f..84bc9d0 100644 --- a/tests/nrf52840.resource +++ b/tests/nrf52840.resource @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Documentation Defining resources for testing the generated samples diff --git a/tests/sample_embedded_sync.robot b/tests/sample_embedded_sync.robot index eb52038..687ed84 100644 --- a/tests/sample_embedded_sync.robot +++ b/tests/sample_embedded_sync.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/sample_static_library.robot b/tests/sample_static_library.robot index b6a20c0..8be299c 100644 --- a/tests/sample_static_library.robot +++ b/tests/sample_static_library.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/sample_static_library_c.robot b/tests/sample_static_library_c.robot index 5e9e1d3..ae60ab7 100644 --- a/tests/sample_static_library_c.robot +++ b/tests/sample_static_library_c.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/sample_vmvx_sync.robot b/tests/sample_vmvx_sync.robot index 2810c3b..1d7f9c0 100644 --- a/tests/sample_vmvx_sync.robot +++ b/tests/sample_vmvx_sync.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/simple_vec_mul_int_bytecode_static.robot b/tests/simple_vec_mul_int_bytecode_static.robot index 0d3cf7f..c115bdb 100644 --- a/tests/simple_vec_mul_int_bytecode_static.robot +++ b/tests/simple_vec_mul_int_bytecode_static.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/simple_vec_mul_int_bytecode_static_c.robot b/tests/simple_vec_mul_int_bytecode_static_c.robot index 8cc5c58..0d62d7b 100644 --- a/tests/simple_vec_mul_int_bytecode_static_c.robot +++ b/tests/simple_vec_mul_int_bytecode_static_c.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/simple_vec_mul_int_bytecode_static_inline.robot b/tests/simple_vec_mul_int_bytecode_static_inline.robot index a047f1a..38a4a08 100644 --- a/tests/simple_vec_mul_int_bytecode_static_inline.robot +++ b/tests/simple_vec_mul_int_bytecode_static_inline.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/simple_vec_mul_int_bytecode_static_inline_c.robot b/tests/simple_vec_mul_int_bytecode_static_inline_c.robot index 9b21922..443f652 100644 --- a/tests/simple_vec_mul_int_bytecode_static_inline_c.robot +++ b/tests/simple_vec_mul_int_bytecode_static_inline_c.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/simple_vec_mul_int_bytecode_vmvx.robot b/tests/simple_vec_mul_int_bytecode_vmvx.robot index 9e4b3e0..a475dfc 100644 --- a/tests/simple_vec_mul_int_bytecode_vmvx.robot +++ b/tests/simple_vec_mul_int_bytecode_vmvx.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/simple_vec_mul_int_bytecode_vmvx_inline.robot b/tests/simple_vec_mul_int_bytecode_vmvx_inline.robot index 5cf95af..6ecf2a4 100644 --- a/tests/simple_vec_mul_int_bytecode_vmvx_inline.robot +++ b/tests/simple_vec_mul_int_bytecode_vmvx_inline.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2023 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/tests/stm32f4xx.resource b/tests/stm32f4xx.resource index 8de9de7..18b9fb2 100644 --- a/tests/stm32f4xx.resource +++ b/tests/stm32f4xx.resource @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Documentation Defining resources for testing the generated samples diff --git a/tests/stm32l4r5.resource b/tests/stm32l4r5.resource index 676e80c..57d968c 100644 --- a/tests/stm32l4r5.resource +++ b/tests/stm32l4r5.resource @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Documentation Defining resources for testing the generated samples diff --git a/tests/vmvx_sample.robot b/tests/vmvx_sample.robot index 276ac26..f55e71f 100644 --- a/tests/vmvx_sample.robot +++ b/tests/vmvx_sample.robot @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception + *** Settings *** Suite Setup Setup Suite Teardown Teardown diff --git a/utils/README.md b/utils/README.md index 99d1a53..b96d86b 100644 --- a/utils/README.md +++ b/utils/README.md @@ -1,3 +1,7 @@ + # Utils This folder contains files to configure UART, GPIO and clock for different boards.