[package]
name = "esp-hello-display"
version = "0.1.0"
authors = ["Kirill Mikhailov <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
[target.xtensa-esp32-none-elf.dependencies]
xtensa-atomic-emulation-trap = "0.3.1"
esp32-hal = { package = "esp32-hal", git = "https://github.com/esp-rs/esp-hal.git" }
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32",
"panic-handler",
"print-uart",
] }
xtensa-lx-rt = { version = "0.14.0", features = ["esp32"], optional = true }
esp-println = { version = "0.3.1", features = [ "esp32" ] }
[target.xtensa-esp32s2-none-elf.dependencies]
xtensa-atomic-emulation-trap = "0.3.1"
esp32s2-hal = { package = "esp32s2-hal", git = "https://github.com/esp-rs/esp-hal.git" }
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32s2",
"panic-handler",
"print-uart",
] }
xtensa-lx-rt = { version = "0.14.0", features = ["esp32s2"], optional = true }
esp-println = { version = "0.3.1", features = [ "esp32s2" ] }
[target.xtensa-esp32s3-none-elf.dependencies]
xtensa-atomic-emulation-trap = "0.3.1"
esp32s3-hal = { package = "esp32s3-hal", git = "https://github.com/esp-rs/esp-hal.git" }
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32s3",
"panic-handler",
"print-uart",
] }
xtensa-lx-rt = { version = "0.14.0", features = ["esp32s3"], optional = true }
esp-println = { version = "0.3.1", features = [ "esp32s3" ] }
[target.riscv32imac-unknown-none-elf.dependencies]
esp32c3-hal = { package = "esp32c3-hal", git = "https://github.com/esp-rs/esp-hal.git" }
esp-backtrace = { git = "https://github.com/esp-rs/esp-backtrace", features = [
"esp32c3",
"panic-handler",
"print-uart",
] }
riscv-rt = { version = "0.11.0", optional = true }
esp-println = { version = "0.3.1", features = [ "esp32c3" ] }
[dependencies]
mipidsi = { git = "https://github.com/almindor/mipidsi" }
st7789 = "0.7.0"
profont = "0.6.1"
embedded-hal = "0.2.7"
embedded-graphics = "0.7.1"
embedded-graphics-core = "0.3.3"
display-interface = "0.4.1"
display-interface-spi = "0.4.1"
libm = "0.2.6"
[features]
# default = [ "rt" ]
# default = [ "rt", "esp32_ili9341"]
# default = [ "rt", "esp32s2_ili9341"]
default = [ "rt", "esp32c3_ili9341"]
# default = [ "rt", "esp32s3_usb_otg" ]
#rt = ["xtensa-lx-rt"] # for esp32 and esp32s2 chips
rt = ["riscv-rt"] # for esp32c3 chip
# eh1 = []
#eh1 = ["esp32-hal/eh1"]
# eh1 = ["esp32s2-hal/eh1"]
eh1 = ["esp32c3-hal/eh1"]
esp32 = []
esp32s2 = [ ]
esp32s3 = [ ]
esp32c3 = [ ]
ili9341 = []
st7789 = []
esp32c3_ili9341 = [ "riscv-rt", "esp32c3", "eh1", "ili9341" ]
esp32s2_ili9341 = [ "xtensa-lx-rt", "esp32s2", "eh1", "ili9341" ]
esp32_ili9341 = [ "xtensa-lx-rt", "esp32", "eh1", "ili9341" ]
esp32s3_usb_otg = [ "xtensa-lx-rt", "esp32s3", "st7789"]