Skip to content
Snippets Groups Projects
Select Git revision
  • 917a2ad597a303e4da1ac93e298e0ebaa0f0b878
  • master default protected
  • usb
  • fresk
4 results

Cargo.toml

Blame
  • Per Lindgren's avatar
    Per Lindgren authored
    917a2ad5
    History
    This project manages its dependencies using Cargo. Learn more
    Cargo.toml 834 B
    [package]
    authors = ["Per Lindgren <per.lindgren@ltu.se>"]
    edition = "2018"
    readme = "README.md"
    name = "app"
    version = "0.1.0"
    
    [dependencies]
    cortex-m = "0.5.8"
    cortex-m-rt = "0.6.5"
    cortex-m-semihosting = "0.3.2"
    panic-halt = "0.2.0"
    # panic-abort = "0.3.1"
    
    # Uncomment for the panic example.
    panic-semihosting = "0.5.1"
    panic-itm = "0.4.0"
    bare-metal = "0.2.4"
    
    # Uncomment for the allocator example.
    # alloc-cortex-m = "0.3.5"
    
    # Uncomment for the device example.
    # [dependencies.stm32f30x]
    # features = ["rt"]
    # version = "0.7.1"
    
    # this lets you use `cargo fix`!
    [[bin]]
    name = "app"
    test = false
    bench = false
    
    [profile.dev]
    panic = "abort"
    
    [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
    panic = "abort"