# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "aemics-stm32g4xx-hal" version = "0.1.0" authors = ["Wybren van den Akker"] description = "Hardware abstraction layer (HAL) for STM32G473" homepage = "https://www.aemics.nl" readme = "README.md" keywords = [ "arm", "cortex-m", "stm32g4xx", "hal", ] categories = [ "embedded", "hardware-support", "no-std", ] license = "MIT/Apache-2.0" repository = "https://github.com/AEMICS/aemics-stm32g4xx-hal" [profile.dev] lto = false codegen-units = 1 debug = 2 incremental = false [profile.release] lto = true codegen-units = 1 debug = 0 incremental = false [dependencies.bare-metal] version = "1.0.0" [dependencies.bitflags] version = "2.5.0" [dependencies.cast] version = "0.3.0" default-features = false [dependencies.cortex-m] version = "0.7.7" features = ["critical-section-single-core"] [dependencies.cortex-m-rt] version = "0.7.3" [dependencies.defmt] version = "0.3.2" optional = true [dependencies.embedded-dma] version = "0.2.0" [dependencies.embedded-hal-02] version = "0.2.7" features = ["unproven"] package = "embedded-hal" [dependencies.embedded-hal-1] version = "1.0" package = "embedded-hal" [dependencies.embedded-io] version = "0.6.1" [dependencies.fdcan] version = "0.2.0" features = ["fdcan_g0_g4_l5"] [dependencies.fugit] version = "0.3.5" [dependencies.nb] version = "1.1.0" [dependencies.panic-semihosting] version = "0.6.0" [dependencies.paste] version = "1.0" [dependencies.stable_deref_trait] version = "1.1" default-features = false [dependencies.static_assertions] version = "1.1.0" [dependencies.stm32-usbd] version = "0.6.0" [dependencies.stm32g4] version = "0.15.1" [dependencies.usb-device] version = "0.2.7" [dependencies.usbd-serial] version = "0.1.1" [dependencies.vcell] version = "0.1.3" [dependencies.void] version = "1.0.2" default-features = false [dev-dependencies.cfg-if] version = "1.0.0" [dev-dependencies.cortex-m-log] version = "0.8.0" features = ["log-integration"] [dev-dependencies.cortex-m-rtic] version = "1.1.4" [dev-dependencies.cortex-m-semihosting] version = "0.5.0" [dev-dependencies.defmt-rtt] version = "0.4.0" [dev-dependencies.embedded-sdmmc] version = "0.7.0" [dev-dependencies.lazy_static] version = "1.4" features = ["spin_no_std"] [dev-dependencies.log] version = "0.4.11" [dev-dependencies.panic-halt] version = "0.2.0" [dev-dependencies.panic-itm] version = "0.4.2" [dev-dependencies.panic-probe] version = "0.3.0" features = ["print-defmt"] [features] default = [ "rt", "stm32g473", ] defmt-logging = ["defmt"] log-itm = ["cortex-m-log/itm"] log-rtt = [] log-semihost = ["cortex-m-log/semihosting"] rt = ["stm32g4/rt"] stm32g431 = ["stm32g4/stm32g431"] stm32g441 = ["stm32g4/stm32g441"] stm32g471 = ["stm32g4/stm32g471"] stm32g473 = ["stm32g4/stm32g473"] stm32g474 = ["stm32g4/stm32g474"] stm32g483 = ["stm32g4/stm32g483"] stm32g484 = ["stm32g4/stm32g484"] stm32g491 = ["stm32g4/stm32g491"] stm32g4a1 = ["stm32g4/stm32g4a1"]