mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 09:09:10 -04:00
feat(log): Make the buffer log API available to bootloader
This commit is contained in:
parent
a5bc08fb55
commit
bc46512ad5
@ -14,7 +14,9 @@ endif()
|
||||
set(srcs "src/${system_target}/log_timestamp.c"
|
||||
"src/log_timestamp_common.c"
|
||||
"src/${system_target}/log_lock.c"
|
||||
"src/buffer/log_buffers.c"
|
||||
"src/${system_target}/util.c"
|
||||
"src/util.c"
|
||||
"src/log_print.c"
|
||||
"src/log.c")
|
||||
|
||||
@ -25,10 +27,6 @@ if(NOT non_os_build)
|
||||
|
||||
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"
|
||||
"src/log_level/tag_log_level/tag_log_level.c")
|
||||
|
||||
|
@ -13,8 +13,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if !NON_OS_BUILD || __DOXYGEN__
|
||||
|
||||
/**
|
||||
* @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 */
|
||||
|
||||
#endif // !NON_OS_BUILD || __DOXYGEN__
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user