diff options
author | Yulia Garbovich <yulia.garbovich@arm.com> | 2021-11-23 20:00:04 +0200 |
---|---|---|
committer | Yulia Garbovich <yulia.garbovich@arm.com> | 2021-12-14 11:43:57 +0200 |
commit | e9cdc6374dc730dc61d2a8a81beabe563ad7fe88 (patch) | |
tree | e56813c3fb447cf0bb9200157f802971d6f40be8 /targets/corstone-300/CMakeLists.txt | |
parent | 29467e04fbc15f53001c0c95227db34160b776e7 (diff) | |
download | ethos-u-core-platform-e9cdc6374dc730dc61d2a8a81beabe563ad7fe88.tar.gz |
Add mpu driver and remove interface library
from drivers
Add mpu driver for upstreaming
After removing of interface library,targets and applications
will list explicitly which libraries to link
Change-Id: Icfa449a2981093161f283e45b4d52ca6199371b8
Diffstat (limited to 'targets/corstone-300/CMakeLists.txt')
-rw-r--r-- | targets/corstone-300/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/targets/corstone-300/CMakeLists.txt b/targets/corstone-300/CMakeLists.txt index d2e3322..5dc3804 100644 --- a/targets/corstone-300/CMakeLists.txt +++ b/targets/corstone-300/CMakeLists.txt @@ -121,12 +121,14 @@ ethosu_target_link_options(ethosu_target_link INTERFACE # Add drivers target_sources(ethosu_target_startup INTERFACE retarget.c - uart.c - target.cpp - mpu.cpp) + target.cpp) target_link_libraries(ethosu_target_startup INTERFACE - $<$<TARGET_EXISTS:ethosu_core_driver>:ethosu_core_driver;timing_adapter>) + $<$<TARGET_EXISTS:ethosu_core_driver>:ethosu_core_driver> + mpu + timing_adapter + ethosu_mhu_dummy + ethosu_uart_cmsdk_apb) if (TARGET ethosu_core_driver) target_compile_definitions(ethosu_core_driver PUBLIC |