[package]
name = "axplat-dyn"
version = "0.5.3"
authors = ["周睿 <zrufo747@outlook.com>"]
categories = ["os", "no-std"]
description = "A dynamic platform module for ArceOS, providing runtime platform detection and configuration"
edition = "2024"
keywords = ["arceos", "kernel"]
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[features]
default = ["smp", "irq"]
smp = ["ax-plat/smp"]
irq = ["ax-plat/irq"]
fp-simd = ["ax-cpu/fp-simd"]
uspace = ["somehal/uspace"]
hv = ["somehal/hv", "ax-cpu/arm-el2"]
rk3588-clk = ["dep:rk3588-clk"]
rk3568-clk = ["dep:rk3568_clk"]
sdmmc = ["dep:sdmmc"]
rockchip-pm = ["dep:rockchip-pm"]
phytium-blk = ["dep:phytium-mci"]
serial = ["dep:some-serial"]
net = ["dep:ax-driver-net", "dep:rd-net"]
intel-net = ["net", "dep:eth-intel", "dep:pcie"]
virtio-net-pci = ["net"]

[dependencies]
ax-config-macros = "0.4.2"
fdt-edit = "0.2"
heapless = "0.9"
rd-block = "0.1"
rdif-clk = "0.5"
rdrive = "0.20"
somehal = "0.6"
spin = "0.10"

[dependencies.anyhow]
version = "1"
default-features = false

[dependencies.ax-alloc]
version = "0.5.2"
default-features = false
features = ["buddy-slab"]

[dependencies.ax-cpu]
version = "0.5.0"

[dependencies.ax-driver-base]
version = "0.3.5"

[dependencies.ax-driver-block]
version = "0.3.5"

[dependencies.ax-driver-net]
version = "0.3.5"
optional = true

[dependencies.ax-driver-virtio]
version = "0.3.5"
features = ["block", "net"]

[dependencies.ax-errno]
version = "0.4.2"

[dependencies.axklib]
version = "0.5.1"

[dependencies.ax-plat]
version = "0.5.1"

[dependencies.dma-api]
version = "0.7.2"

[dependencies.eth-intel]
version = "0.1"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.ax-memory-addr]
version = "0.6.1"

[dependencies.ax-percpu]
version = "0.4.3"
features = ["custom-base"]

[dependencies.pcie]
version = "0.6"
optional = true

[dependencies.rd-net]
version = "0.1"
optional = true

[dependencies.rk3568_clk]
version = "0.1"
optional = true

[dependencies.rk3588-clk]
version = "0.1"
optional = true

[dependencies.rockchip-pm]
version = "0.4"
optional = true

[dependencies.phytium-mci]
version = "0.1"
default-features = false
features = ["pio"]
optional = true

[dependencies.sdmmc]
version = "0.1"
default-features = false
features = ["pio"]
optional = true

[dependencies.some-serial]
version = "0.3.1"
optional = true
