Loading .travis.yml +3 −1 Changes for .travis.yml: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ matrix: # Runs each value defined in $SINGLE_FEATURES by itself in the order # the were defined. - os: linux env: SINGLE_FEATURES="sig-ecdsa enc-kw" env: SINGLE_FEATURES="sig-ecdsa enc-kw bootstrap" - os: linux env: SINGLE_FEATURES="none sig-rsa overwrite-only validate-slot0" - os: linux Loading @@ -27,6 +27,8 @@ matrix: env: MULTI_FEATURES="enc-kw overwrite-only,enc-rsa overwrite-only" - os: linux env: MULTI_FEATURES="sig-rsa enc-rsa validate-slot0" - os: linux env: MULTI_FEATURES="sig-rsa enc-kw validate-slot0 bootstrap" # FIXME: this test actually fails and must be fixed #- os: linux Loading sim/Cargo.toml +1 Changes for sim/Cargo.toml: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ overwrite-only = ["mcuboot-sys/overwrite-only"] validate-slot0 = ["mcuboot-sys/validate-slot0"] enc-rsa = ["mcuboot-sys/enc-rsa"] enc-kw = ["mcuboot-sys/enc-kw"] bootstrap = ["mcuboot-sys/bootstrap"] [dependencies] libc = "0.2.0" Loading sim/mcuboot-sys/Cargo.toml +3 Changes for sim/mcuboot-sys/Cargo.toml: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -29,6 +29,9 @@ enc-rsa = [] # Encrypt image in slot1 using AES-KW-128 enc-kw = [] # Allow bootstrapping an empty/invalid slot0 from a valid slot1 bootstrap = [] [build-dependencies] cc = "1.0.25" Loading sim/mcuboot-sys/build.rs +5 Changes for sim/mcuboot-sys/build.rs: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ fn main() { let validate_slot0 = env::var("CARGO_FEATURE_VALIDATE_SLOT0").is_ok(); let enc_rsa = env::var("CARGO_FEATURE_ENC_RSA").is_ok(); let enc_kw = env::var("CARGO_FEATURE_ENC_KW").is_ok(); let bootstrap = env::var("CARGO_FEATURE_BOOTSTRAP").is_ok(); let mut conf = cc::Build::new(); conf.define("__BOOTSIM__", None); Loading @@ -23,6 +24,10 @@ fn main() { conf.define("MCUBOOT_HAVE_ASSERT_H", None); conf.define("MCUBOOT_MAX_IMG_SECTORS", Some("128")); if bootstrap { conf.define("MCUBOOT_BOOTSTRAP", None); } if validate_slot0 { conf.define("MCUBOOT_VALIDATE_SLOT0", None); } Loading Loading
.travis.yml +3 −1 Changes for .travis.yml: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ matrix: # Runs each value defined in $SINGLE_FEATURES by itself in the order # the were defined. - os: linux env: SINGLE_FEATURES="sig-ecdsa enc-kw" env: SINGLE_FEATURES="sig-ecdsa enc-kw bootstrap" - os: linux env: SINGLE_FEATURES="none sig-rsa overwrite-only validate-slot0" - os: linux Loading @@ -27,6 +27,8 @@ matrix: env: MULTI_FEATURES="enc-kw overwrite-only,enc-rsa overwrite-only" - os: linux env: MULTI_FEATURES="sig-rsa enc-rsa validate-slot0" - os: linux env: MULTI_FEATURES="sig-rsa enc-kw validate-slot0 bootstrap" # FIXME: this test actually fails and must be fixed #- os: linux Loading
sim/Cargo.toml +1 Changes for sim/Cargo.toml: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ overwrite-only = ["mcuboot-sys/overwrite-only"] validate-slot0 = ["mcuboot-sys/validate-slot0"] enc-rsa = ["mcuboot-sys/enc-rsa"] enc-kw = ["mcuboot-sys/enc-kw"] bootstrap = ["mcuboot-sys/bootstrap"] [dependencies] libc = "0.2.0" Loading
sim/mcuboot-sys/Cargo.toml +3 Changes for sim/mcuboot-sys/Cargo.toml: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -29,6 +29,9 @@ enc-rsa = [] # Encrypt image in slot1 using AES-KW-128 enc-kw = [] # Allow bootstrapping an empty/invalid slot0 from a valid slot1 bootstrap = [] [build-dependencies] cc = "1.0.25" Loading
sim/mcuboot-sys/build.rs +5 Changes for sim/mcuboot-sys/build.rs: 5 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ fn main() { let validate_slot0 = env::var("CARGO_FEATURE_VALIDATE_SLOT0").is_ok(); let enc_rsa = env::var("CARGO_FEATURE_ENC_RSA").is_ok(); let enc_kw = env::var("CARGO_FEATURE_ENC_KW").is_ok(); let bootstrap = env::var("CARGO_FEATURE_BOOTSTRAP").is_ok(); let mut conf = cc::Build::new(); conf.define("__BOOTSIM__", None); Loading @@ -23,6 +24,10 @@ fn main() { conf.define("MCUBOOT_HAVE_ASSERT_H", None); conf.define("MCUBOOT_MAX_IMG_SECTORS", Some("128")); if bootstrap { conf.define("MCUBOOT_BOOTSTRAP", None); } if validate_slot0 { conf.define("MCUBOOT_VALIDATE_SLOT0", None); } Loading