mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-04-28 02:40:40 +00:00
Adds a kata-io-compatible client that returns data from a slice and sends writes to the kernel (if possible) or discards them. This will be used for running cli scripts and for platforms that do not have a uart device/driver. Change-Id: I84facebf16eb9b6692e872e930db027998dd160f GitOrigin-RevId: 11a3502fb2f8716f9d1a204519b5e93162274590
32 lines
989 B
TOML
32 lines
989 B
TOML
# Copyright 2022 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
[package]
|
|
name = "default-uart-client"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
|
|
[build-dependencies]
|
|
sel4-config = { path = "../../kata-os-common/src/sel4-config" }
|
|
|
|
[features]
|
|
default = []
|
|
CONFIG_PRINTING = []
|
|
|
|
[dependencies]
|
|
core2 = { version = "0.3", default-features = false }
|
|
kata-io = { path = "../kata-io" }
|
|
sel4-sys = { path = "../../kata-os-common/src/sel4-sys", default-features = false }
|