forked from espressif/esp-idf
feat(log): Make the buffer log API available to bootloader
This commit is contained in:
committed by
BOT
parent
a5bc08fb55
commit
bc46512ad5
@@ -14,7 +14,9 @@ endif()
|
|||||||
set(srcs "src/${system_target}/log_timestamp.c"
|
set(srcs "src/${system_target}/log_timestamp.c"
|
||||||
"src/log_timestamp_common.c"
|
"src/log_timestamp_common.c"
|
||||||
"src/${system_target}/log_lock.c"
|
"src/${system_target}/log_lock.c"
|
||||||
|
"src/buffer/log_buffers.c"
|
||||||
"src/${system_target}/util.c"
|
"src/${system_target}/util.c"
|
||||||
|
"src/util.c"
|
||||||
"src/log_print.c"
|
"src/log_print.c"
|
||||||
"src/log.c")
|
"src/log.c")
|
||||||
|
|
||||||
@@ -25,10 +27,6 @@ if(NOT non_os_build)
|
|||||||
|
|
||||||
list(APPEND srcs "src/os/log_write.c")
|
list(APPEND srcs "src/os/log_write.c")
|
||||||
|
|
||||||
# Buffer APIs call ESP_LOG_LEVEL -> esp_log_write, which can not used in bootloader.
|
|
||||||
list(APPEND srcs "src/buffer/log_buffers.c"
|
|
||||||
"src/util.c")
|
|
||||||
|
|
||||||
list(APPEND srcs "src/log_level/log_level.c"
|
list(APPEND srcs "src/log_level/log_level.c"
|
||||||
"src/log_level/tag_log_level/tag_log_level.c")
|
"src/log_level/tag_log_level/tag_log_level.c")
|
||||||
|
|
||||||
|
@@ -13,8 +13,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !NON_OS_BUILD || __DOXYGEN__
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Logs a buffer of hexadecimal bytes at the specified log level.
|
* @brief Logs a buffer of hexadecimal bytes at the specified log level.
|
||||||
*
|
*
|
||||||
@@ -173,8 +171,6 @@ static inline void esp_log_buffer_char(const char *tag, const void *buffer, uint
|
|||||||
}
|
}
|
||||||
/** @endcond */
|
/** @endcond */
|
||||||
|
|
||||||
#endif // !NON_OS_BUILD || __DOXYGEN__
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user