change(build): Add a new CMake flag NON_OS_BUILD for non-FreeRTOS builds

This commit is contained in:
Laukik Hase
2024-10-16 13:32:12 +05:30
parent 12398c0f25
commit 5328dcd00c
17 changed files with 46 additions and 30 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
#include "esp_private/log_timestamp.h"
#include "sdkconfig.h"
#if !BOOTLOADER_BUILD
#ifndef NON_OS_BUILD
#include <sys/lock.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
@@ -60,7 +60,7 @@ char *esp_log_system_timestamp(void)
}
return buffer;
}
#endif // !BOOTLOADER_BUILD
#endif // !NON_OS_BUILD
uint64_t esp_log_timestamp64(bool critical)
{