Commit dc8ef879 authored by Jamie McCrae's avatar Jamie McCrae Committed by Dominik Ermel
Browse files

zephyr: serial_recovery: Use Zephyr manifest zcbor files

Switches from using the zcbor files in-tree to using the ones that
are part of the zephyr manifest, this prevents using old and
potentially buggy versions of the zcbor library.

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent e026c367
Loading
Loading
Loading
Loading
+0 −3
Changes for boot/zephyr/CMakeLists.txt: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -239,9 +239,6 @@ if(CONFIG_MCUBOOT_SERIAL)
  zephyr_sources(${BOOT_DIR}/zephyr/serial_adapter.c)
  zephyr_sources(${BOOT_DIR}/boot_serial/src/boot_serial.c)
  zephyr_sources(${BOOT_DIR}/boot_serial/src/serial_recovery_cbor.c)
  zephyr_sources(${BOOT_DIR}/boot_serial/src/zcbor_decode.c)
  zephyr_sources(${BOOT_DIR}/boot_serial/src/zcbor_encode.c)
  zephyr_sources(${BOOT_DIR}/boot_serial/src/zcbor_common.c)

  zephyr_sources_ifdef(CONFIG_BOOT_MGMT_ECHO ${BOOT_DIR}/boot_serial/src/serial_recovery_echo.c)

+1 −0
Changes for boot/zephyr/Kconfig.serial_recovery: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@ menuconfig MCUBOOT_SERIAL
	select UART_INTERRUPT_DRIVEN
	select BASE64
	select CRC
	select ZCBOR
	help
	  If y, enables a serial-port based update mode. This allows
	  MCUboot itself to load update images into flash over a UART.