Commit 0bd8c6bf authored by David Brown's avatar David Brown Committed by David Brown
Browse files

sim: Add doc comment to `make_tlv`

Document this function.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent d8713a5d
Loading
Loading
Loading
Loading
+2 −0
Changes for sim/src/image.rs: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1652,6 +1652,8 @@ fn install_no_image() -> ImageData {
    }
}

/// Construct a TLV generator based on how MCUboot is currently configured.  The returned
/// ManifestGen will generate the appropriate entries based on this configuration.
fn make_tlv() -> TlvGen {
    if Caps::EcdsaP224.present() {
        panic!("Ecdsa P224 not supported in Simulator");