Skip to content

Commit ed3674e

Browse files
committed
NUVOTON: Fix M261 CMake build
* Ensure the correct system source file is listed. * List the correct include directory to expose device header files
1 parent 2660621 commit ed3674e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NUVOTON/TARGET_M261/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ target_sources(mbed-m261
1414
analogin_api.c
1515
analogout_api.c
1616
device/startup_M261.c
17-
device/system_M251.c
17+
device/system_M261.c
1818

1919
device/StdDriver/m261_acmp.c
2020
device/StdDriver/m261_bpwm.c
@@ -78,7 +78,7 @@ target_include_directories(mbed-m261
7878
crypto
7979
device
8080
device/Reg
81-
device/StdDriver/inc
81+
device/StdDriver
8282
)
8383

8484
target_link_libraries(mbed-m261 INTERFACE mbed-nuvoton)

0 commit comments

Comments
 (0)