add uart log flag
This commit is contained in:
1 parent
df305437f7
commit
ff084e2f31
2 files changed
+39
-19
No files matched your search
@@ -38,6 +38,7 @@
|
||||
#define FILE_FLAG_CHECK_INTERVAL_NS (10000ULL * 1000000000ULL)
|
||||
#define FILE_CONTEXT_CSV_PATH FILE_CONFIG_DIR "/context.csv"
|
||||
#define FILE_LOG_FLAG_PATH FILE_CONFIG_DIR "/log.flag"
|
||||
#define FILE_UART_FLAG_PATH FILE_CONFIG_DIR "/uart.flag"
|
||||
#define FILE_LOG_FILE_PATH FILE_CONFIG_DIR "/log.txt"
|
||||
|
||||
namespace fileUtils {
|
||||
@@ -46,6 +47,7 @@ namespace fileUtils {
|
||||
Result Initialize();
|
||||
bool IsInitialized();
|
||||
bool IsLogEnabled();
|
||||
bool IsUartEnabled();
|
||||
void InitializeAsync();
|
||||
void LogLine(const char *format, ...);
|
||||
void WriteContextToCsv(const HocClkContext *context);
|
||||
|
||||
Reference in new issue
Block a user