diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 688bebc337e..79d0f58af70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: env: SSID: SSID PASSWORD: PASSWORD - STATIC_IP: 1.1.1.1 + STATIC_IP: 1.1.1.1 GATEWAY_IP: 1.1.1.1 HOST_IP: 1.1.1.1 @@ -74,7 +74,7 @@ jobs: - if: ${{ !contains(fromJson('["esp32", "esp32s2", "esp32s3"]'), matrix.device.soc) }} uses: dtolnay/rust-toolchain@v1 with: - target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv32imafc-unknown-none-elf + target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf toolchain: stable components: rust-src # Install the Rust toolchain for Xtensa devices: @@ -104,9 +104,6 @@ jobs: # Build all supported examples for the specified device: - name: Build (examples) run: cargo xtask build-examples esp-hal ${{ matrix.device.soc }} - # Ensure we can build the documentation for the specified device: - - name: Build (documentation) - run: cargo xtask build-documentation esp-hal ${{ matrix.device.soc }} esp-lp-hal: runs-on: ubuntu-latest @@ -131,9 +128,6 @@ jobs: # Build all supported examples for the specified device: - name: Build examples run: cargo xtask build-examples esp-lp-hal ${{ matrix.soc }} - # Ensure we can build the documentation for the specified device: - - name: Build documentation - run: cargo xtask build-documentation esp-lp-hal ${{ matrix.soc }} esp-riscv-rt: runs-on: ubuntu-latest @@ -142,7 +136,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@v1 with: - target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv32imafc-unknown-none-elf + target: riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf toolchain: stable components: rust-src - uses: Swatinem/rust-cache@v2 @@ -152,18 +146,11 @@ jobs: run: cd esp-riscv-rt/ && cargo build --target=riscv32imc-unknown-none-elf - name: Build esp-riscv-rt (riscv32imac, no features) run: cd esp-riscv-rt/ && cargo build --target=riscv32imac-unknown-none-elf - - name: Build esp-riscv-rt (riscv32imafc, no features) - run: cd esp-riscv-rt/ && cargo build --target=riscv32imafc-unknown-none-elf # Build for all RISC-V targets (all features): - name: Build esp-riscv-rt (riscv32imc, all features) run: cd esp-riscv-rt/ && cargo build --target=riscv32imc-unknown-none-elf --features=ci - name: Build esp-riscv-rt (riscv32imac, all features) run: cd esp-riscv-rt/ && cargo build --target=riscv32imac-unknown-none-elf --features=ci - - name: Build esp-riscv-rt (riscv32imafc, all features) - run: cd esp-riscv-rt/ && cargo build --target=riscv32imafc-unknown-none-elf --features=ci - # Ensure documentation can be built - - name: rustdoc - run: cd esp-riscv-rt/ && cargo doc extras: runs-on: ubuntu-latest @@ -184,6 +171,7 @@ jobs: run: cd extras/esp-wifishark && cargo build - name: Build ieee802154-sniffer run: cd extras/ieee802154-sniffer && cargo build + # -------------------------------------------------------------------------- # MSRV diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 079a561f6e5..0e4e1d99853 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -17,7 +17,7 @@ jobs: ldproxy: false - name: Build documentation - run: cargo xtask build-documentation esp-hal + run: cargo xtask build-documentation --packages=esp-hal,esp-wifi # https://github.com/actions/deploy-pages/issues/303#issuecomment-1951207879 - name: Remove problematic '.lock' files diff --git a/resources/index.html.jinja b/resources/index.html.jinja index f253aef28b5..c0cce6f8114 100644 --- a/resources/index.html.jinja +++ b/resources/index.html.jinja @@ -43,6 +43,10 @@ width: 900px; } + h2 { + margin-top: 3rem; + } + .crate { display: flex; align-items: center; @@ -92,17 +96,21 @@