# 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 = "2018" name = "lpc55-hal" version = "0.4.0" authors = [ "Nicolas Stalder ", "Conor Patrick ", "Hanno Braun ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Hardware Abstraction Layer (HAL) for the NXP LPC55S6x ARM Cortex-33 microcontrollers" documentation = "https://docs.rs/lpc55-hal" readme = "README.md" keywords = [ "no-std", "cortex-m", "nxp", "lpc", "embedded-hal-impl", ] categories = [ "embedded", "no-std", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/lpc55/lpc55-hal" [package.metadata.docs.rs] targets = [] [profile.release] opt-level = "z" lto = true codegen-units = 1 debug = 2 [lib] name = "lpc55_hal" path = "src/lib.rs" [[example]] name = "adc" path = "examples/adc.rs" [[example]] name = "aes" path = "examples/aes.rs" [[example]] name = "ctimer" path = "examples/ctimer.rs" [[example]] name = "external_interrupts" path = "examples/external_interrupts.rs" [[example]] name = "flash" path = "examples/flash.rs" [[example]] name = "i2c" path = "examples/i2c.rs" [[example]] name = "itm" path = "examples/itm.rs" [[example]] name = "jump-to-bootloader" path = "examples/jump-to-bootloader.rs" [[example]] name = "late" path = "examples/late.rs" [[example]] name = "led_dwt" path = "examples/led_dwt.rs" [[example]] name = "led_minimalist" path = "examples/led_minimalist.rs" [[example]] name = "led_utick" path = "examples/led_utick.rs" [[example]] name = "measure_frequency" path = "examples/measure_frequency.rs" [[example]] name = "pfr" path = "examples/pfr.rs" [[example]] name = "prince" path = "examples/prince.rs" [[example]] name = "puf" path = "examples/puf.rs" [[example]] name = "pwm" path = "examples/pwm.rs" [[example]] name = "rng" path = "examples/rng.rs" [[example]] name = "rtc" path = "examples/rtc.rs" [[example]] name = "rtic_led" path = "examples/rtic_led.rs" [[example]] name = "rtt" path = "examples/rtt.rs" [[example]] name = "semihosting" path = "examples/semihosting.rs" [[example]] name = "serial" path = "examples/serial.rs" [[example]] name = "sha" path = "examples/sha.rs" [[example]] name = "spi" path = "examples/spi.rs" [[example]] name = "touch" path = "examples/touch.rs" [[example]] name = "usb" path = "examples/usb.rs" [[example]] name = "usb_test_class" path = "examples/usb_test_class.rs" [dependencies.block-buffer] version = "0.9" [dependencies.cipher] version = "0.3" [dependencies.cortex-m] version = "0.7" [dependencies.digest] version = "0.9" [dependencies.embedded-hal] version = "0.2" features = ["unproven"] [dependencies.embedded-time] version = "0.12" [dependencies.generic-array] version = "0.14.2" [dependencies.littlefs2] version = "0.5" optional = true [dependencies.lpc55-pac] version = "0.4" [dependencies.lpc55-rtic] version = "0.5.7" optional = true [dependencies.nb] version = "1" [dependencies.rand_core] version = "0.6" [dependencies.usb-device] version = "0.2" [dependencies.vcell] version = "0.1" [dependencies.void] version = "1" default-features = false [dev-dependencies.aes] version = "0.7" [dev-dependencies.cortex-m-rt] version = "0.6" [dev-dependencies.cortex-m-semihosting] version = "0.3" [dev-dependencies.heapless] version = "0.7" [dev-dependencies.lpc55-rtic] version = "0.5" [dev-dependencies.panic-halt] version = "0.2" [dev-dependencies.panic-semihosting] version = "0.5" features = ["jlink-quirks"] [dev-dependencies.rtt-target] version = "0.3" features = ["cortex-m"] [dev-dependencies.sha-1] version = "0.9" default-features = false [dev-dependencies.sha2] version = "0.9" default-features = false [dev-dependencies.ssd1306] version = "0.3" [dev-dependencies.usbd-serial] version = "0.1" [features] default = ["rt"] highspeed-usb-example = [] littlefs = ["littlefs2"] rt = ["lpc55-pac/rt"] rtic-peripherals = ["lpc55-rtic"]