diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bf6a88..8b96de1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,3 +24,6 @@ jobs: - name: Check code run: cargo check --target ${{ matrix.target }} + + - name: Check rt feature + run: cargo check --target ${{ matrix.target }} --features rt diff --git a/Cargo.toml b/Cargo.toml index 8771848..158fc8f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,3 +21,6 @@ embedded-dma = "0.1.2" [dependencies.embedded-hal] version = "0.2.3" features = ["unproven"] + +[features] +rt = ["gd32vf103-pac/rt"]