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:
Ole Odendahl 2022-12-18 21:23:10 +01:00
parent 0f859c77cd
commit 54382e3356
No known key found for this signature in database
GPG key ID: E31DACC635D3BE01
4 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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_

View file

@ -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"