File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ pkg.apis:
3131pkg.cflags :
3232 - " -DMCUBOOT_MYNEWT"
3333
34+ pkg.cflags.BOOTUTIL_USE_MBED_TLS :
35+ - ' -DMBEDTLS_USER_CONFIG_FILE="mbedtls/config_mynewt.h"'
36+
3437pkg.deps :
3538 - " @mcuboot/boot/mynewt/mcuboot_config"
3639 - " @apache-mynewt-core/hw/hal"
Original file line number Diff line number Diff line change @@ -218,8 +218,8 @@ main(void)
218218 assert (rc == 0 );
219219#endif
220220
221- #if defined(MCUBOOT_SERIAL ) || defined(MCUBOOT_HAVE_LOGGING )
222- /* initialize uart without os */
221+ #if defined(MCUBOOT_SERIAL ) || defined(MCUBOOT_HAVE_LOGGING ) || MYNEWT_VAL ( CRYPTO )
222+ /* initialize uart/crypto without os */
223223 os_dev_initialize_all (OS_DEV_INIT_PRIMARY );
224224 os_dev_initialize_all (OS_DEV_INIT_SECONDARY );
225225 sysinit ();
You can’t perform that action at this time.
0 commit comments