Commit e2acfaed authored by David Brown's avatar David Brown Committed by David Brown
Browse files

sim: Add explicit copyright and licenses to the sim

Add an apache SPDX header and explicit license lines.  The date ranges
of the license lines is derived from the git history.  Having these
explicitly present will make contributions from other parties easier, as
they will simply be able to add their own copyright line, rather than
having to describe that it only covers modifications.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent f0e5a842
Loading
Loading
Loading
Loading
+5 −0
Changes for sim/mcuboot-sys/src/api.rs: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
// Copyright (c) 2017-2019 Linaro LTD
// Copyright (c) 2018-2019 JUUL Labs
//
// SPDX-License-Identifier: Apache-2.0

//! HAL api for MyNewt applications

use crate::area::CAreaDesc;
+6 −0
Changes for sim/mcuboot-sys/src/area.rs: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
// Copyright (c) 2017-2019 Linaro LTD
// Copyright (c) 2018-2019 JUUL Labs
// Copyright (c) 2019 Arm Limited
//
// SPDX-License-Identifier: Apache-2.0

//! Describe flash areas.

use simflash::{Flash, SimFlash, Sector};
+7 −1
Changes for sim/mcuboot-sys/src/c.rs: 7 added lines, 1 removed line.
Original line number Diff line number Diff line
/// Interface wrappers to C API entering to the bootloader
// Copyright (c) 2017-2019 Linaro LTD
// Copyright (c) 2017-2019 JUUL Labs
// Copyright (c) 2019 Arm Limited
//
// SPDX-License-Identifier: Apache-2.0

//! Interface wrappers to C API entering to the bootloader

use crate::area::AreaDesc;
use simflash::SimMultiFlash;
+4 −0
Changes for sim/mcuboot-sys/src/lib.rs: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
// Copyright (c) 2017-2019 Linaro LTD
//
// SPDX-License-Identifier: Apache-2.0

mod area;
pub mod c;

+5 −0
Changes for sim/simflash/src/lib.rs: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
// Copyright (c) 2017-2019 Linaro LTD
// Copyright (c) 2017-2018 JUUL Labs
//
// SPDX-License-Identifier: Apache-2.0

//! A flash simulator
//!
//! This module is capable of simulating the type of NOR flash commonly used in microcontrollers.
Loading