Skip to content

CMake: Fix some NUVOTON build #14307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion targets/TARGET_NUVOTON/TARGET_M251/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
set(LINKER_FILE device/TOOLCHAIN_GCC_ARM/M251.ld)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(LINKER_FILE device/TOOLCHAIN_ARM_STD/M251.sct)
set(LINKER_FILE device/TOOLCHAIN_ARMC6/M251.sct)
endif()

add_library(mbed-m251 INTERFACE)
Expand Down
5 changes: 3 additions & 2 deletions targets/TARGET_NUVOTON/TARGET_M261/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
if(${MBED_TOOLCHAIN} STREQUAL "GCC_ARM")
set(LINKER_FILE device/TOOLCHAIN_GCC_ARM/M261.ld)
elseif(${MBED_TOOLCHAIN} STREQUAL "ARM")
set(LINKER_FILE device/TOOLCHAIN_ARM_STD/M261.sct)
set(LINKER_FILE device/TOOLCHAIN_ARMC6/M261.sct)
endif()

add_library(mbed-m261 INTERFACE)
Expand All @@ -14,7 +14,7 @@ target_sources(mbed-m261
analogin_api.c
analogout_api.c
device/startup_M261.c
device/system_M251.c
device/system_M261.c

device/StdDriver/m261_acmp.c
device/StdDriver/m261_bpwm.c
Expand Down Expand Up @@ -78,6 +78,7 @@ target_include_directories(mbed-m261
crypto
device
device/Reg
device/StdDriver
device/StdDriver/inc
)

Expand Down

This file was deleted.

This file was deleted.