Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • B Bootloader
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OwnTechOwnTech
  • Bootloader
  • Repository
Switch branch/tag
  • bootloader
  • boot
  • boot_serial
  • src
  • boot_serial.c
Find file BlameHistoryPermalink
  • Carles Cufi's avatar
    boot: serial: Adapt to Zephyr's new CRC APIs · b9192a4c
    Carles Cufi authored Feb 10, 2022
    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>
    b9192a4c