2020-03-13 12:32:44 +00:00
|
|
|
[package]
|
|
|
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
|
|
|
description = "Log output program"
|
2021-03-26 12:22:33 +00:00
|
|
|
edition = "2018"
|
2022-10-02 15:59:34 +00:00
|
|
|
name = "xous-log"
|
2023-03-21 18:48:55 +00:00
|
|
|
version = "0.1.28"
|
2022-09-26 06:58:05 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
repository = "https://github.com/betrusted-io/xous-core/"
|
|
|
|
|
homepage = "https://betrusted.io/xous-book/"
|
2020-03-13 12:32:44 +00:00
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2020-03-13 12:32:44 +00:00
|
|
|
[dependencies]
|
2026-01-29 11:12:00 +00:00
|
|
|
xous-api-log = { package = "xous-api-log", version = "0.1.69" }
|
|
|
|
|
xous = "0.9.70"
|
|
|
|
|
xous-ipc = "0.10.10"
|
2022-01-10 07:39:55 +00:00
|
|
|
log = "0.4.14"
|
2024-12-02 10:52:59 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
2024-01-14 16:14:39 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2020-08-02 08:08:56 +00:00
|
|
|
|
2026-01-29 11:12:00 +00:00
|
|
|
utralib = { version = "0.1.27", optional = true, default-features = false }
|
2020-10-13 19:41:53 +00:00
|
|
|
|
2023-04-15 17:42:10 +00:00
|
|
|
# for USB serial logging
|
2024-09-22 06:18:49 +00:00
|
|
|
rkyv = { version = "0.8.8", default-features = false, features = [
|
|
|
|
|
"std",
|
|
|
|
|
"alloc",
|
2024-01-14 16:14:39 +00:00
|
|
|
], optional = true }
|
2023-04-15 17:42:10 +00:00
|
|
|
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x-hal = { path = "../../libs/bao1x-hal", optional = true, default-features = false, features = [
|
2024-01-27 08:53:35 +00:00
|
|
|
"std",
|
|
|
|
|
] }
|
2024-01-19 15:22:36 +00:00
|
|
|
|
2024-02-07 16:33:14 +00:00
|
|
|
# FIXME: bring atsama5d27 target up to date so utralib dependency does not conflict
|
|
|
|
|
# [target.'cfg(target_arch = "arm")'.dependencies]
|
|
|
|
|
# atsama5d27 = { git = "https://github.com/Foundation-Devices/atsama5d27.git", branch = "master", features = [
|
|
|
|
|
# "lcd-console",
|
|
|
|
|
# ] }
|
|
|
|
|
# xous = { version = "0.9.58", features = [
|
|
|
|
|
# "v2p",
|
|
|
|
|
# ] } # v2p feature is used when lcd-console feature is turned on
|
2023-03-27 15:50:13 +00:00
|
|
|
|
2020-10-13 19:41:53 +00:00
|
|
|
[features]
|
2025-09-18 13:25:51 +00:00
|
|
|
bao1x = ["utralib/bao1x", "bao1x-hal"]
|
|
|
|
|
board-baosec = ["bao1x-hal/board-baosec"]
|
|
|
|
|
board-baosor = ["bao1x-hal/board-baosor"]
|
|
|
|
|
board-dabao = ["bao1x-hal/board-dabao"]
|
2025-02-18 15:19:41 +00:00
|
|
|
hosted-baosec = []
|
2025-09-20 14:12:19 +00:00
|
|
|
hwsim = []
|
2026-01-13 19:13:39 +00:00
|
|
|
# when activated, disables the console so the kernel GDB stub can claim it.
|
|
|
|
|
gdb-stub = []
|
2024-10-01 17:45:30 +00:00
|
|
|
|
2022-10-25 11:29:02 +00:00
|
|
|
precursor = ["utralib/precursor"]
|
2022-10-01 18:20:03 +00:00
|
|
|
hosted = ["utralib/hosted"]
|
2022-10-25 11:29:02 +00:00
|
|
|
renode = ["utralib/renode"]
|
2023-03-27 15:50:13 +00:00
|
|
|
atsama5d27 = ["utralib/atsama5d27"]
|
|
|
|
|
|
|
|
|
|
lcd-console = []
|
2024-01-14 16:14:39 +00:00
|
|
|
debugprint = [] # adding this allocates the UART for debugging the logger
|
|
|
|
|
logging = [] # adding this allocates the hardware UART for console interactions
|
2023-04-15 17:42:10 +00:00
|
|
|
usb = ["rkyv"]
|
2021-01-04 15:34:18 +00:00
|
|
|
#default = []
|
2023-04-15 17:42:10 +00:00
|
|
|
default = ["logging", "usb"]
|
2021-02-14 20:42:30 +00:00
|
|
|
# default = ["debugprint", "logging"]
|