mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(log): Refactoring lock APIs
This commit is contained in:
parent
4ad9ad8086
commit
ec594e2c6f
@ -11,20 +11,14 @@ else()
|
||||
endif()
|
||||
|
||||
set(srcs "src/${system_target}/log_timestamp.c"
|
||||
"src/log_timestamp_common.c")
|
||||
"src/log_timestamp_common.c"
|
||||
"src/${system_target}/log_lock.c")
|
||||
set(priv_requires "")
|
||||
|
||||
if(BOOTLOADER_BUILD)
|
||||
list(APPEND srcs "log_noos.c")
|
||||
else()
|
||||
list(APPEND srcs "src/os/log_write.c")
|
||||
if(NOT BOOTLOADER_BUILD)
|
||||
list(APPEND priv_requires soc hal esp_hw_support)
|
||||
|
||||
if(${target} STREQUAL "linux")
|
||||
list(APPEND srcs "log_linux.c")
|
||||
else()
|
||||
list(APPEND srcs "log_freertos.c")
|
||||
list(APPEND priv_requires soc hal esp_hw_support)
|
||||
endif()
|
||||
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"
|
||||
|
@ -4,3 +4,4 @@ entries:
|
||||
log_write:esp_log_write (noflash)
|
||||
log_timestamp:esp_log_timestamp (noflash)
|
||||
log_timestamp:esp_log_early_timestamp (noflash)
|
||||
log_lock (noflash)
|
||||
|
Loading…
Reference in New Issue
Block a user