Skip to content

Commit

Permalink
Add imxrt1180 with rgpio
Browse files Browse the repository at this point in the history
  • Loading branch information
nilfit authored and mciantyre committed Nov 29, 2024
1 parent 38f142b commit f510333
Show file tree
Hide file tree
Showing 6 changed files with 419 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- imxrt-ral/imxrt1176_cm7
- imxrt-ral/imxrt1189_cm7
- imxrt-ral/imxrt1189_cm33
# We can't lint the 1180 through lint-log. The logging package
# requires DMA-capable LPUART, and there's no DMA support for
# the 1180.
- imxrt-ral/imxrt1189_cm33,imxrt1180
- imxrt-ral/imxrt1189_cm7,imxrt1180
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ imxrt1020 = ["imxrt-iomuxc/imxrt1020"]
imxrt1060 = ["imxrt-iomuxc/imxrt1060"]
imxrt1064 = ["imxrt-iomuxc/imxrt1060"]
imxrt1170 = ["imxrt-iomuxc/imxrt1170"]
imxrt1180 = ["imxrt-iomuxc/imxrt1180"]

################
# Extra features
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn features_10xx() -> HashSet<String> {
}

fn features_11xx() -> HashSet<String> {
["imxrt1160", "imxrt1170"]
["imxrt1160", "imxrt1170", "imxrt1180"]
.iter()
.map(ToString::to_string)
.collect()
Expand Down
1 change: 1 addition & 0 deletions src/chip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#[cfg_attr(chip = "imxrt1020", path = "chip/imxrt1020.rs")]
#[cfg_attr(chip = "imxrt1060", path = "chip/imxrt1060.rs")]
#[cfg_attr(chip = "imxrt1170", path = "chip/imxrt1170.rs")]
#[cfg_attr(chip = "imxrt1180", path = "chip/imxrt1180.rs")]
#[cfg_attr(chip = "none", path = "chip/none.rs")]
pub(crate) mod selection;

Expand Down
Loading

0 comments on commit f510333

Please sign in to comment.