[package] authors = ["Lucas Brendel "] edition = "2018" name = "xmc4-hal" version = "0.5.5" readme = "README.md" license = "MIT" repository = "https://github.com/xmc-rs/xmc4-hal" description = "Peripheral access API for XMC4 series microcontrollers" documentation = "https://docs.rs/crate/xmc4-hal" categories = ["embedded", "hardware-support", "no-std"] keywords = ["arm", "cortex-m", "hal", "xmc"] [package.metadata.docs.rs] features = ["xmc4100"] [dependencies] xmc4100 = { version = "0.13.0", optional = true } xmc4200 = { version = "0.13.0", optional = true } xmc4300 = { version = "0.12.0", optional = true } xmc4400 = { version = "0.13.0", optional = true } xmc4500 = { version = "0.13.0", optional = true } xmc4700 = { version = "0.12.0", optional = true } xmc4800 = { version = "0.12.0", optional = true } cortex-m = { version = "0.7.7", features = ['critical-section-single-core'] } nb = "1.1.0" cortex-m-rt = "0.7.3" void = { version = "1.0.2", default-features = false } cast = { version = "0.3.0", default-features = false } embedded-hal = { version = "0.2.7", features = ["unproven"] } [features] device-selected = [] xmc4100 = ["dep:xmc4100", "device-selected"] xmc4200 = ["dep:xmc4200", "device-selected"] xmc4300 = ["dep:xmc4300", "device-selected", "ecat", "sdmmc"] xmc4400 = ["dep:xmc4400", "device-selected"] xmc4500 = ["dep:xmc4500", "device-selected", "sdmmc"] xmc4700 = ["dep:xmc4700", "device-selected", "sdmmc"] xmc4800 = ["dep:xmc4800", "device-selected", "ecat", "sdmmc"] ecat = [] sdmmc = [] rt = ["cortex-m-rt/device"] [dev-dependencies] panic-halt = "0.2.0" panic-semihosting = "0.6.0" panic-itm = "0.4.2" cortex-m-semihosting = "0.5.0" heapless = "0.8.0" libm = "0.2.8" as-slice = "0.2.1" cortex-m-rtic = "1.1.4" [dev-dependencies.byteorder] default-features = false version = "1.5.0" [dev-dependencies.cobs] default-features = false version = "0.2.3" [dev-dependencies.crc16] default-features = false version = "0.4.0" [dev-dependencies.either] default-features = false version = "1.11.0" [[example]] name = "watchdog" required-features = ["xmc4100"]