Skip to content
Commit 92f61b80 authored by Brooks Prumo's avatar Brooks Prumo Committed by Maureen Helm
Browse files

include: dfu: Add extern "C" in mcuboot.h



I ran into a build failure trying to use Zephyr's MCUmgr.  It was a
missing symbol at link time, and since I am using C++, I looked to see
if it was a name mangling issue.  The mcuboot.h header file was missing
`extern "C"` guards, which was the root cause of the issue.

This commit adds C++ support to mcuboot.h by adding in `extern "C"`
guards.  I validated this change by building and running my DFU
application with MCUmgr successfully.

Signed-off-by: default avatarBrooks Prumo <brooks@prumo.org>
parent 5a911ec4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment