Add license headers to new files
diff --git a/drivers/usart/api/BUILD.bazel b/drivers/usart/api/BUILD.bazel index 740c2c2..8829dea 100644 --- a/drivers/usart/api/BUILD.bazel +++ b/drivers/usart/api/BUILD.bazel
@@ -1,4 +1,5 @@ # Licensed under the Apache-2.0 license +# SPDX-License-Identifier: Apache-2.0 load("@rules_rust//rust:defs.bzl", "rust_library")
diff --git a/drivers/usart/api/src/backend.rs b/drivers/usart/api/src/backend.rs index a33e359..823a81d 100644 --- a/drivers/usart/api/src/backend.rs +++ b/drivers/usart/api/src/backend.rs
@@ -1,4 +1,5 @@ // Licensed under the Apache-2.0 license +// SPDX-License-Identifier: Apache-2.0 use bitflags::bitflags;
diff --git a/drivers/usart/api/src/lib.rs b/drivers/usart/api/src/lib.rs index df40fe1..51fd720 100644 --- a/drivers/usart/api/src/lib.rs +++ b/drivers/usart/api/src/lib.rs
@@ -1,4 +1,5 @@ // Licensed under the Apache-2.0 license +// SPDX-License-Identifier: Apache-2.0 #![no_std]
diff --git a/drivers/usart/api/src/protocol.rs b/drivers/usart/api/src/protocol.rs index d7ddb71..c86fa62 100644 --- a/drivers/usart/api/src/protocol.rs +++ b/drivers/usart/api/src/protocol.rs
@@ -1,4 +1,5 @@ // Licensed under the Apache-2.0 license +// SPDX-License-Identifier: Apache-2.0 use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout};
diff --git a/drivers/usart/client/BUILD.bazel b/drivers/usart/client/BUILD.bazel index 744c074..9a1a154 100644 --- a/drivers/usart/client/BUILD.bazel +++ b/drivers/usart/client/BUILD.bazel
@@ -1,4 +1,5 @@ # Licensed under the Apache-2.0 license +# SPDX-License-Identifier: Apache-2.0 load("@rules_rust//rust:defs.bzl", "rust_library") load("//target/ast10x0:defs.bzl", "TARGET_COMPATIBLE_WITH")
diff --git a/drivers/usart/client/src/lib.rs b/drivers/usart/client/src/lib.rs index bc3716b..b94b025 100644 --- a/drivers/usart/client/src/lib.rs +++ b/drivers/usart/client/src/lib.rs
@@ -1,4 +1,5 @@ // Licensed under the Apache-2.0 license +// SPDX-License-Identifier: Apache-2.0 #![no_std]
diff --git a/drivers/usart/server/BUILD.bazel b/drivers/usart/server/BUILD.bazel index 3d7bc32..dc8afbe 100644 --- a/drivers/usart/server/BUILD.bazel +++ b/drivers/usart/server/BUILD.bazel
@@ -1,4 +1,5 @@ # Licensed under the Apache-2.0 license +# SPDX-License-Identifier: Apache-2.0 load("@rules_rust//rust:defs.bzl", "rust_library") load("//target/ast10x0:defs.bzl", "TARGET_COMPATIBLE_WITH")
diff --git a/drivers/usart/server/src/lib.rs b/drivers/usart/server/src/lib.rs index f997d4d..346b374 100644 --- a/drivers/usart/server/src/lib.rs +++ b/drivers/usart/server/src/lib.rs
@@ -1,4 +1,5 @@ // Licensed under the Apache-2.0 license +// SPDX-License-Identifier: Apache-2.0 #![no_std]
diff --git a/drivers/usart/server/src/runtime.rs b/drivers/usart/server/src/runtime.rs index 6af4e33..c7b42da 100644 --- a/drivers/usart/server/src/runtime.rs +++ b/drivers/usart/server/src/runtime.rs
@@ -1,4 +1,5 @@ // Licensed under the Apache-2.0 license +// SPDX-License-Identifier: Apache-2.0 use usart_api::backend::{IrqMask, UsartBackend}; use usart_api::{UsartResponseHeader};
diff --git a/target/ast10x0/backend/usart/BUILD.bazel b/target/ast10x0/backend/usart/BUILD.bazel index 3d905c7..eab9f8c 100644 --- a/target/ast10x0/backend/usart/BUILD.bazel +++ b/target/ast10x0/backend/usart/BUILD.bazel
@@ -1,4 +1,5 @@ # Licensed under the Apache-2.0 license +# SPDX-License-Identifier: Apache-2.0 load("@rules_rust//rust:defs.bzl", "rust_library") load("//target/ast10x0:defs.bzl", "TARGET_COMPATIBLE_WITH")
diff --git a/target/ast10x0/tests/usart/README.md b/target/ast10x0/tests/usart/README.md index a2ee742..c0085ce 100644 --- a/target/ast10x0/tests/usart/README.md +++ b/target/ast10x0/tests/usart/README.md
@@ -55,8 +55,8 @@ # Run with virt_ast10x0 platform config bazelisk test //target/ast10x0/tests/usart:usart_test --config=virt_ast10x0 -# With verbose output -bazelisk test //target/ast10x0/tests/usart:usart_test --config=virt_ast10x0 -s +# With verbose/streamed output +bazelisk test //target/ast10x0/tests/usart:usart_test --config=virt_ast10x0 --test_output=streamed # Show all test output bazelisk test //target/ast10x0/tests/usart:usart_test --config=virt_ast10x0 --test_output=all