Skip to content

Commit 5e7fcb2

Browse files
committed
[nrf mergeup] merge upsteram up to commit 5c877d5
Signed-off-by: Andrzej Puzdrowski <[email protected]>
2 parents 9b57d42 + 5c877d5 commit 5e7fcb2

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# Due the small boot partition can't use logging and debug optimalization
2-
# out-off-the-box. For using these features need to increase boot partition via
3-
# zephyr DTS.
4-
CONFIG_BOOT_HAVE_LOGGING=n
1+
# Due the small boot partition, we can't enable logging or the debug
2+
# optimization level out off the box. You need to increase the boot
3+
# partition size with a zephyr DTS overlay to make MCUboot's debug
4+
# builds fit.
5+
CONFIG_LOG=n
56
CONFIG_SIZE_OPTIMIZATIONS=y

boot/zephyr/boards/nrf52840_pca10059.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The UART is used for Serial Recovery, so logging requires
22
# an RTT console, which is not available out of the box on this board.
33
# Disable logging.
4-
CONFIG_BOOT_HAVE_LOGGING=n
4+
CONFIG_LOG=n
55

66
# Serial
77
CONFIG_SERIAL=y

boot/zephyr/include/mcuboot_config/mcuboot_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
#define MCUBOOT_OVERWRITE_ONLY_FAST
4444
#endif
4545

46-
#ifdef CONFIG_BOOT_HAVE_LOGGING
46+
#ifdef CONFIG_LOG
4747
#define MCUBOOT_HAVE_LOGGING 1
4848
#endif
4949

0 commit comments

Comments
 (0)