trace: do not set trace_ctx section for Zephyr [REVERTME]

This section is generating warnings when build with Zephyr, so remove
for now.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-12-18 12:09:35 -05:00 committed by Liam Girdwood
parent a97d166121
commit 206df545c4
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ struct tr_ctx {
uint32_t level; /**< Default log level */
};
#if defined(UNIT_TEST)
#if defined(UNIT_TEST) || defined(__ZEPHYR__)
#define TRACE_CONTEXT_SECTION
#else
#define TRACE_CONTEXT_SECTION __section(".trace_ctx")