Removed log level config from board definition.
Moved prst lib log level config to application layer with prst lib default fallback behaviour.
This commit is contained in:
parent
0f859c77cd
commit
54382e3356
4 changed files with 8 additions and 8 deletions
|
|
@ -7,7 +7,3 @@ config BOARD_ENABLE_DCDC
|
|||
default y
|
||||
|
||||
endif # BOARD_BPARASITE_NRF52833
|
||||
|
||||
config PRSTLIB_DEFAULT_LOG_LEVEL
|
||||
int "Logging level in core prst library."
|
||||
default 2
|
||||
|
|
@ -12,7 +12,3 @@ config BOARD_ENABLE_DCDC_HV
|
|||
default y
|
||||
|
||||
endif # BOARD_BPARASITE_NRF52840
|
||||
|
||||
config PRSTLIB_DEFAULT_LOG_LEVEL
|
||||
int "Logging level in core prst library."
|
||||
default 2
|
||||
|
|
@ -21,4 +21,8 @@
|
|||
|
||||
#define UNUSED_OK(expr) (void)expr;
|
||||
|
||||
#ifndef CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL
|
||||
#define CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL LOG_LEVEL_WRN
|
||||
#endif
|
||||
|
||||
#endif // _PRST_MACROS_H_
|
||||
|
|
@ -8,6 +8,10 @@ config PRST_ZB_PARENT_POLL_INTERVAL_SEC
|
|||
int "Interval for when b-parasite polls its parent for data (in seconds)"
|
||||
default 60
|
||||
|
||||
config PRSTLIB_DEFAULT_LOG_LEVEL
|
||||
int "Logging level in core prst library. (0: NONE, 2: WARN, 4: DEBUG) See Zephyr logging for more."
|
||||
default 2
|
||||
|
||||
config PRST_ZB_BUILD_DATE
|
||||
string "Zigbee app init basic date code. Can be used as build revision. (1 byte)"
|
||||
default "20221214"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue