boot_serial; text size reduction.
- Remove dependency to sprintf()
- Remove dependency to cborattr
- mynewt: replace console with more direct interface to uart
- mynewt: settings to reduce included os code
Signed-off-by: Marko Kiiskila <marko@runtime.io>
diff --git a/boot/mynewt/pkg.yml b/boot/mynewt/pkg.yml
index 396df49..1cbd1ab 100644
--- a/boot/mynewt/pkg.yml
+++ b/boot/mynewt/pkg.yml
@@ -33,7 +33,13 @@
- "@mcuboot/boot/bootutil"
- "@mcuboot/boot/mynewt/flash_map_backend"
- "@apache-mynewt-core/kernel/os"
+
+pkg.deps.BOOTUTIL_NO_LOGGING:
+ - "@apache-mynewt-core/sys/console/stub"
+
+pkg.deps.BOOTUTIL_HAVE_LOGGING:
- "@apache-mynewt-core/sys/console/minimal"
pkg.deps.BOOT_SERIAL:
- "@mcuboot/boot/boot_serial"
+ - "@mcuboot/boot/mynewt/boot_uart"