diff --git a/.cargo/config.toml b/.cargo/config.toml index c5164c7..afd45e7 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -11,7 +11,7 @@ rustflags = [ # "-Z", # "trap-unreachable=no", "-C", - "inline-threshold=5", + "llvm-args=--inline-threshold=5", "-C", "no-vectorize-loops", "-C", diff --git a/src/main.rs b/src/main.rs index c0df9c0..59de0b6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,7 @@ algorithm!(Algorithm, { empty_value: 0xFF, sectors: [{ size: {{flash-sector-size}}, - address: {{flash-start-address}}, + address: 0x0, }] });