From d252d307781d2f23dcac85e5ef5b0446eb55dffe Mon Sep 17 00:00:00 2001 From: ccli8 Date: Tue, 12 Mar 2019 09:25:52 +0800 Subject: [PATCH] Add license header --- .../device/TOOLCHAIN_ARMC6/M2351.sct | 18 +++++++++++++++ .../device/TOOLCHAIN_GCC_ARM/M2351.ld | 18 +++++++++++++++ .../device/TOOLCHAIN_IAR/M2351.icf | 18 +++++++++++++++ .../TARGET_M2351/device/partition_M2351.h | 22 +++++++++++++------ .../device/partition_M2351_mem.icf | 18 +++++++++++++++ 5 files changed, 87 insertions(+), 7 deletions(-) diff --git a/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_ARMC6/M2351.sct b/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_ARMC6/M2351.sct index 1edd74a92b..4d1cf89bf8 100644 --- a/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_ARMC6/M2351.sct +++ b/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_ARMC6/M2351.sct @@ -1,5 +1,23 @@ #! armclang -E +/* + * Copyright (c) 2019-2020, Nuvoton Technology Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "../partition_M2351_mem.h" #ifndef NU_TZ_NSC_SIZE diff --git a/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_GCC_ARM/M2351.ld b/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_GCC_ARM/M2351.ld index fdb2c3c126..a0efebb5a2 100644 --- a/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_GCC_ARM/M2351.ld +++ b/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_GCC_ARM/M2351.ld @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2019-2020, Nuvoton Technology Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* * Nuvoton M2351 GCC linker script file */ diff --git a/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_IAR/M2351.icf b/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_IAR/M2351.icf index af520376eb..66751d29f8 100644 --- a/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_IAR/M2351.icf +++ b/targets/TARGET_NUVOTON/TARGET_M2351/device/TOOLCHAIN_IAR/M2351.icf @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2019-2020, Nuvoton Technology Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /*###ICF### Section handled by ICF editor, don't touch! ****/ /*-Editor annotation file-*/ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ diff --git a/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351.h b/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351.h index 332ffc1460..0f43a786ba 100644 --- a/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351.h +++ b/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351.h @@ -1,12 +1,20 @@ -/**************************************************************************//** - * @file partition_M2351.c - * @version V3.00 - * @brief SAU configuration for secure/nonsecure region settings. +/* + * Copyright (c) 2019-2020, Nuvoton Technology Corporation * - * @note - * Copyright (C) 2016 Nuvoton Technology Corp. All rights reserved. + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ #ifndef PARTITION_M2351 #define PARTITION_M2351 diff --git a/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351_mem.icf b/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351_mem.icf index b4ec125e08..809204d5f8 100644 --- a/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351_mem.icf +++ b/targets/TARGET_NUVOTON/TARGET_M2351/device/partition_M2351_mem.icf @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2019-2020, Nuvoton Technology Corporation + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* See partition_M2351_mem.h for documentation */ /* Default flash/SRAM partition