[package]
name = "cats-mobile-transceiver-mainboard"
version = "0.2.1"
edition = "2021"
license = "MIT"

[profile.release]
debug = true
opt-level = "z"
panic = "abort"
codegen-units = 1
lto = true

[dependencies]
stm32f4xx-hal = { version = "0.16", features = ["stm32f411", "rtic", "otg-fs", "usb_fs"]}
cortex-m = "0.7"
cortex-m-rt = "0.7"
cortex-m-rtic = { version = "1.1.4" }
cortex-m-semihosting = "0.5"
#panic-semihosting = "0.6"
panic-reset = "0.1.1"
rf4463 = { git = "https://gitlab.scd31.com/stephen/rf4463-lib" }
#rf4463 = { path = "../../rf4463" }
systick-monotonic = "1.0.1"
ham-cats = { git = "https://gitlab.scd31.com/cats/ham-cats" }
half = { version = "2.3.1", default-features = false }
# TODO can get rid of some of these features
nmea = { version = "0.6.0", default-features = false, features = ["VTG", "GGA", "RMC", "GNS", "GLL"] }
arrayvec = { version = "0.7.4", default-features = false }
ushell = "0.3.6"
usbd-serial = "0.1.1"
usb-device = "0.2.9"
crc = "3.0.1"
embedded-storage = "0.2.0"
num-traits = { version = "0.2.17", default-features = false, features = ["libm"] }
rand = { version = "0.8", default_features = false, features = ["small_rng"] }