From 52c69f943e6b2e0a2feea48f49d4d9575ffc440f Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Sat, 22 Jul 2023 11:22:52 +0200 Subject: [PATCH 1/3] Add SPDX tags Adds SPDX-FileCopyrightText and SPDX-License-Identifier tags, primarily to clarify copyright. --- third_party/renode/README.md | 4 ++++ third_party/renode/nrf52840.repl | 3 +++ third_party/renode/nrf52840.resc | 3 +++ third_party/renode/stm32f407.repl | 4 ++++ third_party/renode/stm32f407.resc | 4 ++++ third_party/renode/stm32f446.repl | 4 ++++ third_party/renode/stm32f446.resc | 3 +++ third_party/renode/stm32f4xx-highmem.repl | 3 +++ third_party/renode/stm32f4xx-highmem.resc | 3 +++ third_party/renode/stm32f746.repl | 3 +++ third_party/renode/stm32f746.resc | 3 +++ third_party/renode/stm32l476.repl | 3 +++ third_party/renode/stm32l476.resc | 3 +++ third_party/renode/stm32l4r5.repl | 3 +++ third_party/renode/stm32l4r5.resc | 3 +++ 15 files changed, 49 insertions(+) diff --git a/third_party/renode/README.md b/third_party/renode/README.md index 9f62e08..b3e1473 100644 --- a/third_party/renode/README.md +++ b/third_party/renode/README.md @@ -1,3 +1,7 @@ + # Renode This folder contains a subset of files imported from [renode/renode](https://github.com/renode/renode/), adjusted to the needs of iree-bare-metal-arm. diff --git a/third_party/renode/nrf52840.repl b/third_party/renode/nrf52840.repl index 3b07f9a..04ec9ac 100644 --- a/third_party/renode/nrf52840.repl +++ b/third_party/renode/nrf52840.repl @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + using "platforms/cpus/nrf52840.repl" uart0: @ sysbus 0x40002000 diff --git a/third_party/renode/nrf52840.resc b/third_party/renode/nrf52840.resc index e76aaa3..39263c0 100644 --- a/third_party/renode/nrf52840.resc +++ b/third_party/renode/nrf52840.resc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + :name: nRF52840 :description: This script runs the nRF52840. diff --git a/third_party/renode/stm32f407.repl b/third_party/renode/stm32f407.repl index 10ac56c..1a4fc97 100644 --- a/third_party/renode/stm32f407.repl +++ b/third_party/renode/stm32f407.repl @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: Antmicro +// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + using "platforms/boards/stm32f4_discovery.repl" using "platforms/boards/stm32f4_discovery-additional_gpios.repl" using "platforms/boards/stm32f4_discovery-bb.repl" diff --git a/third_party/renode/stm32f407.resc b/third_party/renode/stm32f407.resc index 3fac2cc..5e9257c 100644 --- a/third_party/renode/stm32f407.resc +++ b/third_party/renode/stm32f407.resc @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: Antmicro +// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + :name: STM32F407 :description: This script runs the STM32F407. diff --git a/third_party/renode/stm32f446.repl b/third_party/renode/stm32f446.repl index b7bdd2e..adf67e0 100644 --- a/third_party/renode/stm32f446.repl +++ b/third_party/renode/stm32f446.repl @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: Antmicro +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + flash: Memory.MappedMemory @ sysbus 0x08000000 size: 0x80000 diff --git a/third_party/renode/stm32f446.resc b/third_party/renode/stm32f446.resc index 8b6255d..91bd2fb 100644 --- a/third_party/renode/stm32f446.resc +++ b/third_party/renode/stm32f446.resc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + :name: STM32F446 :description: This script runs the STM32F446. diff --git a/third_party/renode/stm32f4xx-highmem.repl b/third_party/renode/stm32f4xx-highmem.repl index 332c329..ba15ab4 100644 --- a/third_party/renode/stm32f4xx-highmem.repl +++ b/third_party/renode/stm32f4xx-highmem.repl @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + using "platforms/boards/stm32f4_discovery.repl" using "platforms/boards/stm32f4_discovery-additional_gpios.repl" using "platforms/boards/stm32f4_discovery-bb.repl" diff --git a/third_party/renode/stm32f4xx-highmem.resc b/third_party/renode/stm32f4xx-highmem.resc index 2e9d951..5e068b2 100644 --- a/third_party/renode/stm32f4xx-highmem.resc +++ b/third_party/renode/stm32f4xx-highmem.resc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + :name: STM32F4XX :description: This script runs the STM32F4XX with high memory. diff --git a/third_party/renode/stm32f746.repl b/third_party/renode/stm32f746.repl index 81aba87..4f48c38 100644 --- a/third_party/renode/stm32f746.repl +++ b/third_party/renode/stm32f746.repl @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + using "platforms/boards/stm32f7_discovery-bb.repl" // According to https://www.st.com/resource/en/datasheet/stm32f746ng.pdf, diff --git a/third_party/renode/stm32f746.resc b/third_party/renode/stm32f746.resc index 06decd1..54a1b4e 100644 --- a/third_party/renode/stm32f746.resc +++ b/third_party/renode/stm32f746.resc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + :name: STM32F746 :description: This script runs the STM32F746. diff --git a/third_party/renode/stm32l476.repl b/third_party/renode/stm32l476.repl index a03c0fb..93d7cbb 100644 --- a/third_party/renode/stm32l476.repl +++ b/third_party/renode/stm32l476.repl @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + flash: Memory.MappedMemory @ sysbus 0x08000000 size: 0x100000 diff --git a/third_party/renode/stm32l476.resc b/third_party/renode/stm32l476.resc index a34e462..de2dda9 100644 --- a/third_party/renode/stm32l476.resc +++ b/third_party/renode/stm32l476.resc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + :name: STM32L476 :description: This script runs the STM32L476. diff --git a/third_party/renode/stm32l4r5.repl b/third_party/renode/stm32l4r5.repl index 7050e59..d164df5 100644 --- a/third_party/renode/stm32l4r5.repl +++ b/third_party/renode/stm32l4r5.repl @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + flash: Memory.MappedMemory @ sysbus 0x08000000 size: 0x200000 diff --git a/third_party/renode/stm32l4r5.resc b/third_party/renode/stm32l4r5.resc index 2d80d4e..11abeac 100644 --- a/third_party/renode/stm32l4r5.resc +++ b/third_party/renode/stm32l4r5.resc @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-License-Identifier: MIT + :name: STM32L4R5 :description: This script runs the STM32L4R5. From 555f744d4a521a19cac0b5073d3d54183e37838b Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 7 Aug 2023 13:10:42 +0200 Subject: [PATCH 2/3] Update third_party/renode/stm32f746.resc Co-authored-by: Lucas Camphausen --- third_party/renode/stm32f746.resc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/renode/stm32f746.resc b/third_party/renode/stm32f746.resc index 54a1b4e..91fad8f 100644 --- a/third_party/renode/stm32f746.resc +++ b/third_party/renode/stm32f746.resc @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. // SPDX-License-Identifier: MIT :name: STM32F746 From 39e7852d45291e85739e52ec6c0a97345b364922 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Mon, 7 Aug 2023 13:10:48 +0200 Subject: [PATCH 3/3] Update third_party/renode/stm32f446.resc Co-authored-by: Lucas Camphausen --- third_party/renode/stm32f446.resc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/renode/stm32f446.resc b/third_party/renode/stm32f446.resc index 91bd2fb..1e1fdd9 100644 --- a/third_party/renode/stm32f446.resc +++ b/third_party/renode/stm32f446.resc @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2021 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. +// SPDX-FileCopyrightText: 2022 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. // SPDX-License-Identifier: MIT :name: STM32F446