diff options
author | Anton Moberg <anton.moberg@arm.com> | 2021-07-07 11:43:51 +0200 |
---|---|---|
committer | Anton Moberg <anton.moberg@arm.com> | 2021-07-08 11:32:18 +0200 |
commit | 6eab40b2051882833dd446cd56ba7c17a5f7082c (patch) | |
tree | 3c58d6e995b20b76f012ab5753abc578a703cd25 /CMakeLists.txt | |
parent | be0bc4608b91f18fd789d3a6c61191425c2b3459 (diff) | |
download | ethos-u-core-driver-6eab40b2051882833dd446cd56ba7c17a5f7082c.tar.gz |
Made a separate header file for logging specific content.
Cleaned up logging messages.
Change-Id: Id329b40977156ca5b954b3a222effaedbc6b2a2c
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9852ae4..7b56fa3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ option(DRIVER_PMU_AUTOINIT "Enable PMU boot auto-initialization" OFF) set(CMSIS_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../cmsis" CACHE PATH "Path to CMSIS.") set(LOG_NAMES err warning info debug) -set(ETHOSU_LOG_SEVERITY "warning" CACHE STRING "Driver log severity level ${LOG_NAMES}") +set(ETHOSU_LOG_SEVERITY "warning" CACHE STRING "Driver log severity level ${LOG_NAMES} (Defaults to 'warning')") set_property(CACHE ETHOSU_LOG_SEVERITY PROPERTY STRINGS ${LOG_NAMES}) # @@ -54,8 +54,6 @@ include_directories(${CMSIS_PATH}/CMSIS/Core/Include) add_library(ethosu_core_driver STATIC) target_include_directories(ethosu_core_driver PUBLIC include) target_sources(ethosu_core_driver PRIVATE src/ethosu_driver.c src/ethosu_device_u55.c src/ethosu_pmu.c) - -# Set the log level for the target target_compile_definitions(ethosu_core_driver PRIVATE ETHOSU_LOG_SEVERITY=${LOG_SEVERITY}) # Install library and include files |