Skip to content
Commit b9192a4c authored by Carles Cufi's avatar Carles Cufi Committed by Fabio Utzig
Browse files

boot: serial: Adapt to Zephyr's new CRC APIs

As part of https://github.com/zephyrproject-rtos/zephyr/pull/42457,
Zephyr recently changed its CRC APIs. The commit below
adapted the use of mcumgr in-tree, but MCUboot was missing the change:
https://github.com/zephyrproject-rtos/zephyr/commit/07c78e515c827c8346a758a5ce04cd56a46ae124

Note that although on other platforms the function called is
crc_ccitt(), the CRC16 actually used by MCUboot/mcumgr is:
https://reveng.sourceforge.io/crc-catalogue/16.htm#crc.cat.crc-16-xmodem



Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent e3822f81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment