Skip to content

Commit 1da77b8

Browse files
committed
CMake nuvoton: fix ARMClang linker script command
1 parent 6574054 commit 1da77b8

File tree

8 files changed

+9
-7
lines changed

8 files changed

+9
-7
lines changed

targets/TARGET_NUVOTON/TARGET_M2351/TARGET_M23_NS/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m0
2+
13
# Copyright (c) 2020 ARM Limited. All rights reserved.
24
# SPDX-License-Identifier: Apache-2.0
35

targets/TARGET_NUVOTON/TARGET_M2351/TARGET_M23_NS/device/TOOLCHAIN_ARMC6/M2351.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! armclang -E
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m23
22

33
/*
44
* Copyright (c) 2018-2019, Nuvoton Technology Corporation

targets/TARGET_NUVOTON/TARGET_M251/device/TOOLCHAIN_ARMC6/M251.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! armclang -E
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m23
22

33
/*
44
* Copyright (c) 2019, Nuvoton Technology Corporation

targets/TARGET_NUVOTON/TARGET_M261/device/TOOLCHAIN_ARMC6/M261.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! armclang -E
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m23
22

33
/*
44
* Copyright (c) 2019-2020, Nuvoton Technology Corporation

targets/TARGET_NUVOTON/TARGET_M451/device/TOOLCHAIN_ARM/M453.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! armcc -E
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m4
22

33
/*
44
* Copyright (c) 2020, Nuvoton Technology Corporation

targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/M487.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! armcc -E
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m4
22

33
/*
44
* Copyright (c) 2015-2016, Nuvoton Technology Corporation

targets/TARGET_NUVOTON/TARGET_NUC472/device/TOOLCHAIN_ARM_STD/TARGET_NU_XRAM_SUPPORTED/NUC472.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! armcc -E
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m4
22

33
#if !defined(MBED_APP_START)
44
#define MBED_APP_START 0x00000000

targets/TARGET_NUVOTON/TARGET_NUC472/device/TOOLCHAIN_ARM_STD/TARGET_NU_XRAM_UNSUPPORTED/NUC472.sct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#! armcc -E
1+
#! armclang -E --target=arm-arm-none-eabi -x c -mcpu=cortex-m4
22

33
#if !defined(MBED_APP_START)
44
#define MBED_APP_START 0x00000000

0 commit comments

Comments
 (0)