content: [package]
  name = "embassy-imxrt"
  version = "0.1.0"
  edition = "2024"
  license = "MIT"
  description = "Embassy Hardware Abstraction Layer (HAL) for the IMXRT microcontroller"
  keywords = ["embedded", "async", "imxrt", "rt600", "embedded-hal"]
  categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
  repository = "https://github.com/embassy-rs/embassy"
  documentation = "https://docs.embassy.dev/embassy-imxrt"
  
  [package.metadata.embassy_docs]
  src_base = "https://github.com/embassy-rs/embassy/blob/embassy-imxrt-v$VERSION/embassy-imxrt/src/"
  src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-imxrt/src/"
  features = ["time", "defmt", "unstable-pac", "time-driver-os-timer"]
  flavors = [
      { regex_feature = "mimxrt6.*", target = "thumbv8m.main-none-eabihf" },
  ]
  
  [package.metadata.docs.rs]
  features = ["time", "defmt", "unstable-pac", "time-driver-os-timer"]
  
  [features]
  default = ["rt", "time"]
  
  ## Cortex-M runtime (enabled by default)
  rt = ["mimxrt685s-pac?/rt", "mimxrt633s-pac?/rt"]
  
  ## Enable [defmt support](https://docs.rs/defmt) and enables `defmt`
  ## debug-log messages and formatting in embassy drivers.
  defmt = [
      "dep:defmt",
      "embassy-hal-internal/defmt",
      "embassy-sync/defmt",
      "embedded-mcu-hal/defmt",
      "mimxrt685s-pac?/defmt",
      "mimxrt633s-pac?/defmt",
  ]
  
  ## Enable features requiring `embassy-time`
  time = ["dep:embassy-time", "embassy-embedded-hal/time"]
  
  ## Enable custom embassy time-driver implementation, using 32KHz RTC
  time-driver-rtc = ["_time-driver", "embassy-time-driver?/tick-hz-1_000"]
  
  ## Enable custom embassy time-driver implementation, using 1MHz ostimer clock
  time-driver-os-timer = [
      "_time-driver",
      "embassy-time-driver?/tick-hz-1_000_000",
  ]
  
  _time-driver = [
      "dep:embassy-time-driver",
      "dep:embassy-time-queue-utils",
      "embassy-embedded-hal/time",
  ]
  
  ## DEPRECATED FEATURE!!! Kept only for the purposes of backwards
  ## compatibility. DO NOT use, make sure to choose a time driver
  ## explicitly
  time-driver = ["time-driver-rtc"]
  
  ## Reexport the PAC for the currently enabled chip at `embassy_imxrt::pac` (unstable)
  unstable-pac = []
  
  # Features starting with `_` are for internal use only. They're not intended
  # to be enabled by other crates, and are not covered by semver guarantees.
  
  _mimxrt685s = []
  _mimxrt633s = ["_espi"]
  
  # Peripherals
  _espi = []
  
  #! ### Chip selection features
  ## MIMXRT685S
  mimxrt685s = ["mimxrt685s-pac", "_mimxrt685s"]
  ## MIMXRT633S
  mimxrt633s = ["mimxrt633s-pac", "_mimxrt633s"]
  
  [dependencies]
  storage_bus = { git = "https://github.com/OpenDevicePartnership/embedded-mcu" }
  embassy-sync = "0.7.2"
  embassy-time-driver = { version = "0.2.1", optional = true }
  embassy-time-queue-utils = { version = "0.3.0", optional = true }
  embassy-time = { version = "0.5.0", optional = true }
  embassy-embedded-hal = { version = "0.5.0", default-features = false }
  embassy-futures = "0.1.2"
  embassy-hal-internal = { version = "0.3.0", features = [
      "cortex-m",
      "prio-bits-3",
  ] }
  defmt = { version = "1.0", optional = true }
  log = { version = "0.4.14", optional = true }
  nb = "1.0.0"
  cfg-if = "1.0.0"
  cortex-m-rt = ">=0.7.3,<0.8"
  cortex-m = "0.7.6"
  critical-section = "1.1"
  chrono = { version = "0.4", default-features = false, optional = true }
  embedded-io = { version = "0.6.1" }
  embedded-io-async = { version = "0.6.1" }
  rand_core = "0.6.4"
  fixed = "1.23.1"
  
  embedded-hal-02 = { package = "embedded-hal", version = "0.2.6", features = [
      "unproven",
  ] }
  embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
  embedded-hal-async = { version = "1.0" }
  embedded-hal-nb = { version = "1.0" }
  
  embedded-mcu-hal = { git = "https://github.com/OpenDevicePartnership/embedded-mcu", default-features = false }
  mimxrt600-fcb = "0.2.0"
  document-features = "0.2.7"
  paste = "1.0"
  itertools = { version = "0.11.0", default-features = false }
  
  # PACs
  mimxrt685s-pac = { version = "0.5.0", optional = true, features = [
      "rt",
      "critical-section",
  ] }
  mimxrt633s-pac = { version = "0.5.0", optional = true, features = [
      "rt",
      "critical-section",
  ] }
  systemview-tracing = { git = "https://github.com/OpenDevicePartnership/systemview-tracing", optional = true }
  embedded-storage = "0.3.1"
  
  [dev-dependencies]
  embassy-executor = "0.9.0"
  static_cell = { version = "2" }
  