apps: Allow stub/full implementation of packages in syscfg

Packages console, log and stats allow to choose stub or full
implementation. All apps had either stub or full implementation
hardwired in pkg.yml file. Now it can be easily overriden in target.
This also changes defunct setting
of CONSOLE_MODE to CONSOLE_IMPLEMENTATION in all apps.
This commit is contained in:
Michal Gorecki
2023-02-06 14:37:48 +01:00
committed by Szymon Janc
parent 4ff3784817
commit 8a01f72db5
38 changed files with 129 additions and 56 deletions
+3 -3
View File
@@ -24,9 +24,9 @@ pkg.keywords:
pkg.deps:
- "@apache-mynewt-core/kernel/os"
- "@apache-mynewt-core/sys/console/full"
- "@apache-mynewt-core/sys/log/full"
- "@apache-mynewt-core/sys/stats/full"
- "@apache-mynewt-core/sys/console"
- "@apache-mynewt-core/sys/log"
- "@apache-mynewt-core/sys/stats"
- "@apache-mynewt-core/encoding/base64"
- "@apache-mynewt-core/sys/config"
- nimble/host
+4
View File
@@ -17,6 +17,10 @@
#
syscfg.vals:
CONSOLE_IMPLEMENTATION: full
LOG_IMPLEMENTATION: full
STATS_IMPLEMENTATION: full
# Set log level to info (disable debug logging).
LOG_LEVEL: 1