-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds "name:" to syscfg.logs nodes. This is optional log name. With this change newt tool also generates file: <bsp>-logcfg.c that contains function: const char *logcfg_log_module_name(uint8_t id) that can be used to get module name for generated mod logs. If name is not present like in this example: syscfg.logs: BMA400_LOG: module: MYNEWT_VAL(BMA400_LOG_MODULE) level: MYNEWT_VAL(BMA400_LOG_LVL) module name will be taken from BMA400_LOG by cutting off trailing _LOG to make it BMA400
- Loading branch information
Showing
2 changed files
with
72 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters