Skip to content
Snippets Groups Projects
Select Git revision
  • 8d57f0fe581bd092e150317333c1f9d283daf112
  • master default protected
  • home-exam
  • dsi_debug
  • rtt_timing
  • timing_task
  • timing_resources
  • main.rs
  • rtic6
  • v1.0
10 results

Cargo.toml

Blame
  • Forked from Per Lindgren / rtic_f4xx_nucleo
    21 commits behind the upstream repository.
    Per Lindgren's avatar
    Per Lindgren authored
    8d57f0fe
    History
    This project manages its dependencies using Cargo. Learn more
    Cargo.toml 878 B
    [package]
    authors = ["Per Lindgren <per.lindgren@ltu.se>"]
    edition = "2018"
    readme = "README.md"
    name = "app"
    version = "0.1.0"
    
    [dependencies]
    cortex-m = "0.6.0"
    cortex-m-rt = "0.6.13"
    cortex-m-rtic = "0.5.5"
    cortex-m-semihosting = "0.3.5"
    panic-halt = "0.2.0"
    panic-semihosting = "0.5.4"
    
    # Uncomment for the panic example.
    # panic-itm = "0.4.1"
    
    # Uncomment for the allocator example.
    # alloc-cortex-m = "0.4.0"
    
    # Update `memory.x`, set target to `thumbv7em-none-eabihf` in `.cargo/config`,
    # and then use `cargo build --examples device` to build it.
    [dependencies.stm32f4]
    version = "0.12.1"
    features = ["stm32f411", "rt"]
    
    # this lets you use `cargo fix`!
    [[bin]]
    name = "app"
    test = false
    bench = false
    
    [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