[init] bump the earliest init trace level out to TARGET_EARLY
On STM32f7xx this is the earliest point that we can printf, and it makes sense to be more conservative than before. This is probably a pretty common spot to be able to finally printf.
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
#define LOCAL_TRACE 0
|
#define LOCAL_TRACE 0
|
||||||
#define TRACE_INIT (LK_DEBUGLEVEL >= 2)
|
#define TRACE_INIT (LK_DEBUGLEVEL >= 2)
|
||||||
#ifndef EARLIEST_TRACE_LEVEL
|
#ifndef EARLIEST_TRACE_LEVEL
|
||||||
#define EARLIEST_TRACE_LEVEL LK_INIT_LEVEL_ARCH_EARLY
|
#define EARLIEST_TRACE_LEVEL LK_INIT_LEVEL_TARGET_EARLY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern const struct lk_init_struct __lk_init[];
|
extern const struct lk_init_struct __lk_init[];
|
||||||
|
|||||||
Reference in New Issue
Block a user