Commit 36ef25d8 authored by Marti Bolivar's avatar Marti Bolivar Committed by Andrzej Puzdrowski
Browse files

zephyr: fix build for nrf52840_pca10059

The build overflows by 100B using the 7-2018-q2-update GNU Arm
Embedded toolchain. Turn on size optimizations; this leaves about 19%
of the partition's flash available for MCUboot to grow into.

Signed-off-by: default avatarMarti Bolivar <marti.bolivar@nordicsemi.no>
parent 5c877d5e
Loading
Loading
Loading
Loading
+4
Changes for boot/zephyr/boards/nrf52840_pca10059.conf: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -3,6 +3,10 @@
# Disable logging.
CONFIG_LOG=n

# The build won't fit on the partition allocated for it without size
# optimizations.
CONFIG_SIZE_OPTIMIZATIONS=y

# Serial
CONFIG_SERIAL=y
CONFIG_UART_NRFX=y