Skip to content

Conversation

@stevenlee7189
Copy link
Collaborator

From @rusty1968 's stevenlee7189#3

  • 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

rusty1968 and others added 6 commits June 30, 2025 16:39
- 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>
@stevenlee7189 stevenlee7189 changed the title feat: Add xtask automation crate and improve project compatibility [WIP] feat: Add xtask automation crate and improve project compatibility Jul 1, 2025
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>
@stevenlee7189 stevenlee7189 changed the title [WIP] feat: Add xtask automation crate and improve project compatibility feat: Add xtask automation crate and improve project compatibility Jul 8, 2025
@stevenlee7189 stevenlee7189 merged commit a826acd into OpenPRoT:main Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants