Skip to content
Snippets Groups Projects
Select Git revision
  • a9fb893db3da39a67a81ad86219fe22d8f3bccb4
  • master default protected
2 results

pinentry-auto.sh

Blame
  • Cargo.toml 1.22 KiB
    [package]
    authors = ["Per Lindgren <per.lindgren@ltu.se>"]
    edition = "2018"
    readme = "README.md"
    name = "app"
    version = "0.1.0"
    
    # [patch.crates-io]
    # # stm32f4xx-hal = { path = "../stm32f4xx-hal" }
    # stm32fxx-hal = {git = "https://github.com/stm32-rs/stm32f4xx-hal.git" }
    
    [dependencies]
    cortex-m-rt = "0.6.7"
    cortex-m-semihosting = "0.3.2"
    panic-halt = "0.2.0"
    # panic-abort = "0.3.1" # requires nightly toolchain
    
    panic-semihosting = "0.5.1"
    panic-itm = "0.4.0"
    bare-metal = "0.2.4"
    nb = "0.1.1"
    cortex-m-rtfm = "0.4.0"
    
    [dependencies.cortex-m]
    version = "0.5.8"
    features = ["inline-asm"] # <- currently requires nightly compiler
    
    # Uncomment for the allocator example.
    # alloc-cortex-m = "0.3.5"
    
    [dependencies.stm32f4]
    version = "0.5.0"
    features = ["stm32f413", "rt"]
    # optional = true
    
    [dependencies.stm32f4xx-hal]
    git = "https://github.com/stm32-rs/stm32f4xx-hal.git"
    version = "0.2.8"
    features = ["stm32f413", "rt"]
    
    # this lets you use `cargo fix`!
    [[bin]]
    name = "app"
    test = false
    bench = false
    
    [profile.dev]
    incremental = false
    codegen-units = 1
    
    [profile.release]
    codegen-units = 1   # better optimizations
    debug = true        # symbols are nice and they don't increase the size on Flash
    lto = true          # better optimizations