Skip to content

Commit

Permalink
Add defmt feature to CI, changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
mciantyre committed Dec 19, 2024
1 parent b5e1eb5 commit aa57636
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install a stable toolchain with clippy
run: rustup toolchain install stable --no-self-update --profile minimal --component clippy
- name: Lint imxrt-hal
run: cargo clippy --features=${{ matrix.chips }} --package=imxrt-hal -- -D warnings
run: cargo clippy --features=${{ matrix.chips }} --features=defmt --package=imxrt-hal -- -D warnings

# Indirectly checks & lints the HAL with the HAL's chip feature, and also
# checks & lints the imxrt-log package.
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Install a stable toolchain with clippy
run: rustup toolchain install stable --no-self-update --profile minimal --component clippy
- name: Lint imxrt-log
run: cargo clippy --features=${{ matrix.chips }} --package=imxrt-log --package=imxrt-hal -- -D warnings
run: cargo clippy --features=${{ matrix.chips }} --features=defmt --package=imxrt-log --package=imxrt-hal -- -D warnings

# Lint and build examples for boards.
examples:
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Install a stable toolchain
run: rustup toolchain install stable --no-self-update --profile minimal
- name: Run unit, integration tests
run: cargo test --features=${{ matrix.chips }} --tests --package=imxrt-hal --package=imxrt-log
run: cargo test --features=${{ matrix.chips }} --features=defmt --tests --package=imxrt-hal --package=imxrt-log

# Ensures that documentation builds, and that links are valid
docs:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ are still exposed when building with a chip feature.

Introduce an `imxrt1180` feature to support the RT1180 series.

Add a `defmt` feature targeting version 0.3. When enabled, select imxrt-hal
types can be formatted with `defmt`.

## [0.5.9] 2024-11-24

Correct LPSPI receive operations. Previously, `u8` and `u16` elements received
Expand Down

0 comments on commit aa57636

Please sign in to comment.