From 961ec0ce7fcb800d75099f9899b4404bc962f638 Mon Sep 17 00:00:00 2001 From: harmut01 Date: Mon, 19 Apr 2021 14:04:40 +0100 Subject: [PATCH] CMake: Add `.cpp` files to target_sources C++ files were excluded from target_sources, this meant that those files were being missed entirely during the build process. This adds any files that may have missed in the first commit. --- targets/TARGET_RENESAS/TARGET_RZ_A1XX/CMakeLists.txt | 1 + targets/TARGET_RENESAS/TARGET_RZ_A2XX/CMakeLists.txt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/CMakeLists.txt b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/CMakeLists.txt index 29472e227f..0cb09e6caa 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A1XX/CMakeLists.txt +++ b/targets/TARGET_RENESAS/TARGET_RZ_A1XX/CMakeLists.txt @@ -31,6 +31,7 @@ target_sources(mbed-rz-a1xx spi_api.c trng_api.c us_ticker.c + USBPhy_RZ_A1.cpp common/rza_io_regrw.c ) diff --git a/targets/TARGET_RENESAS/TARGET_RZ_A2XX/CMakeLists.txt b/targets/TARGET_RENESAS/TARGET_RZ_A2XX/CMakeLists.txt index 0a474ff845..0a21750217 100644 --- a/targets/TARGET_RENESAS/TARGET_RZ_A2XX/CMakeLists.txt +++ b/targets/TARGET_RENESAS/TARGET_RZ_A2XX/CMakeLists.txt @@ -30,11 +30,13 @@ target_sources(mbed-rz-a2xx sleep.c spi_api.c us_ticker.c + USBPhy_RZ_A2.cpp common/r_cache/src/lld/r_cache_lld_rza2m.c common/r_octabus/src/lld/r_octabus_lld_rza2m_api.c common/r_octabus/src/lld/r_octabus_memclk_setup.c common/rza_io_regrw.c + common/target_override_console.cpp r_can/src/r_can_rz.c )