Init parameters to use for appLogInit()
Data Fields | |
app_log_shared_mem_t * | shared_mem |
uint32_t | self_cpu_index |
char | self_cpu_name [APP_LOG_MAX_CPU_NAME] |
uint32_t | log_rd_task_pri |
uint32_t | log_rd_poll_interval_in_msecs |
uint32_t | log_rd_max_cpus |
uint32_t | log_rd_cpu_enable [APP_LOG_MAX_CPUS] |
app_log_device_send_string_f | device_write |
app_log_shared_mem_t* app_log_init_prm_t::shared_mem |
Shared memory to use for logging, all CPUs must point to the same shared memory. This is physical address in case of linux
uint32_t app_log_init_prm_t::self_cpu_index |
Index into shared memory area for self CPU to use to use when writing. Two CPUs must not use the same CPU index
char app_log_init_prm_t::self_cpu_name[APP_LOG_MAX_CPU_NAME] |
self CPU name
uint32_t app_log_init_prm_t::log_rd_task_pri |
task priority for log reader, set to 0xFFFFFFFF for default task priority
uint32_t app_log_init_prm_t::log_rd_poll_interval_in_msecs |
polling interval for log reader in msecs
uint32_t app_log_init_prm_t::log_rd_max_cpus |
Maximum CPUs that log into the shared memory
uint32_t app_log_init_prm_t::log_rd_cpu_enable[APP_LOG_MAX_CPUS] |
1: enable reading from log memory, else disable
app_log_device_send_string_f app_log_init_prm_t::device_write |
Callback to write a string to a device specific function, by default this will be set to appUartWriteString()