-
Notifications
You must be signed in to change notification settings - Fork 5
feat: Add xtask automation crate and improve project compatibility #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,991
−565
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add xtask crate for development automation - Build, clippy, format, docs, header-check/fix, test commands - Hardware test image generation support - Pre-commit checks and CI/CD integration - Pin to nightly-2024-09-17 toolchain for stability - Fix dependency conflicts and improve Hubris compatibility - Downgrade cortex-m to 0.7.5 for Hubris compatibility - Clean up embedded-hal version conflicts - Remove unnecessary runtime dependencies - Fix clippy warnings for better code quality - Add numeric literal separators for readability - Address formatting and style issues - Update workspace configuration - Add rust-toolchain.toml for consistent toolchain - Update rust-version to match nightly (1.83.0) - Configure cargo aliases for xtask commands - Improve build system and CI readiness - Compatible with modern Rust embedded workflows - Follows Caliptra MCU automation patterns - Ready for Oxide Hubris integration
…lity - Remove critical-section-single-core feature from cortex-m dependency - Prevents conflicts with Hubris's own critical section implementation - Allows DDK to be used as a library within Hubris tasks - Follows standard Hubris ecosystem patterns - Maintains cortex-m 0.7.5 for low-level ARM Cortex-M functionality
Switch HaceController::ctx_mut to return a mutable reference to the shared static context located in non-cacheable RAM (.ram_nc). Replaces local instance field `aspeed_hash_ctx` with access to `SHARED_HASH_CTX`. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Fix all warnings reported by `cargo xtask clippy`, including try_from usage, redundant match arms, and unnecessary mut refs. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Fix all warnings reported by `cargo xtask clippy`, including try_from usage, redundant match arms, and unnecessary mut refs. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Fix format issues in rsa_test.rs Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Wrap the `#![no_std]` attribute with `cfg_attr(not(test), no_std)` to allow using the standard library when running tests. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Introduce a GitHub Actions workflow that performs pre-commit checks, including build and test steps to ensure code quality before merging. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Add branch xtask_support. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
xtask_support is used for testing the CI trigger. Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
From @rusty1968 's stevenlee7189#3