Skip to content

Various L4 and WB fixes, take 4 #578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 21 additions & 21 deletions .github/bors.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
required_approvals = 1
block_labels = ["wip"]
delete_merged_branches = true
status = [
"Check (stm32f0)",
"Check (stm32f1)",
"Check (stm32f2)",
"Check (stm32f3)",
"Check (stm32f4)",
"Check (stm32f7)",
"Check (stm32h7)",
"Check (stm32l0)",
"Check (stm32l1)",
"Check (stm32l4)",
"Check (stm32l5)",
"Check (stm32g0)",
"Check (stm32g4)",
"Check (stm32mp1)",
"Check (stm32wl)",
"Check (stm32wb)",
]
required_approvals = 1
block_labels = ["wip"]
delete_merged_branches = true
status = [
"Check (stm32f0)",
"Check (stm32f1)",
"Check (stm32f2)",
"Check (stm32f3)",
"Check (stm32f4)",
"Check (stm32f7)",
"Check (stm32h7)",
"Check (stm32l0)",
"Check (stm32l1)",
"Check (stm32l4)",
"Check (stm32l5)",
"Check (stm32g0)",
"Check (stm32g4)",
"Check (stm32mp1)",
"Check (stm32wl)",
"Check (stm32wb)",
]
68 changes: 34 additions & 34 deletions .github/workflows/README-nightlies.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
# STM32 Peripheral Access Crates - Nightly Builds

This repository contains automated builds of the [stm32-rs] crates, rebuilt
whenever a PR is merged to the master branch. Consult the [stm32-rs] README
for full details.

[stm32-rs]: https://github.com/stm32-rs/stm32-rs

## Using These Builds

Edit your `Cargo.toml`:

```toml
[dependencies.stm32f4]
git = "https://github.com/stm32-rs/stm32-rs-nightlies"
features = ["stm32f405", "rt"]
```

The nightlies should always build and be as stable as the latest release, but
typically with the latest patches and updates.


## Using These Builds With Cargo.lock

Since no commit history is stored in this repository (to keep download sizes
small), if you depend on a specific git commit (for example if one ends up
in your `Cargo.lock` file) it will eventually be removed from this repository,
breaking your build until you update.

For local development builds this shouldn't be a problem, but for CI systems
it might be annoying. The recommended solution is to fork this repository;
your fork will not update automatically and so will persist the commit you
use until you manually update the fork (either by pushing a new commit to it
or by deleting and re-forking it).
# STM32 Peripheral Access Crates - Nightly Builds
This repository contains automated builds of the [stm32-rs] crates, rebuilt
whenever a PR is merged to the master branch. Consult the [stm32-rs] README
for full details.
[stm32-rs]: https://github.com/stm32-rs/stm32-rs
## Using These Builds
Edit your `Cargo.toml`:
```toml
[dependencies.stm32f4]
git = "https://github.com/stm32-rs/stm32-rs-nightlies"
features = ["stm32f405", "rt"]
```
The nightlies should always build and be as stable as the latest release, but
typically with the latest patches and updates.
## Using These Builds With Cargo.lock
Since no commit history is stored in this repository (to keep download sizes
small), if you depend on a specific git commit (for example if one ends up
in your `Cargo.lock` file) it will eventually be removed from this repository,
breaking your build until you update.
For local development builds this shouldn't be a problem, but for CI systems
it might be annoying. The recommended solution is to fork this repository;
your fork will not update automatically and so will persist the commit you
use until you manually update the fork (either by pushing a new commit to it
or by deleting and re-forking it).
156 changes: 78 additions & 78 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,78 +1,78 @@
name: CI

on:
push:
branches: [ staging, trying, master ]
pull_request:

jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
crate:
- stm32f0
- stm32f1
- stm32f2
- stm32f3
- stm32f4
- stm32f7
- stm32h7
- stm32l0
- stm32l1
- stm32l4
- stm32l5
- stm32g0
- stm32g4
- stm32mp1
- stm32wl
- stm32wb
env:
CRATES: ${{ matrix.crate }}
CARGO_INCREMENTAL: 0
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt
- name: Install xmllint
run: sudo apt-get install libxml2-utils
- name: Install Python dependencies
run: |
pip3 install --user setuptools wheel
pip3 install --user svdtools
- name: Put pip binary directory into path
run: echo "~/.local/bin" >> $GITHUB_PATH
- name: Cache Cargo installed binaries
uses: actions/cache@v1
id: cache-cargo
with:
path: ~/cargo-bin
key: ${{ runner.os }}-svd2rust-0.17.0
- name: Install svd2rust
if: steps.cache-cargo.outputs.cache-hit != 'true'
uses: actions-rs/install@v0.1
with:
crate: svd2rust
version: 0.17.0
- name: Copy svd2rust to cache directory
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: |
mkdir ~/cargo-bin
cp ~/.cargo/bin/svd2rust ~/cargo-bin
- name: Put new cargo binary directory into path
run: echo "~/cargo-bin" >> $GITHUB_PATH
- name: Patch SVDs
run: make -j2 patch
- name: Check SVDs
run: make lint
- name: Build PACs
run: make -j2 svd2rust
- name: Check PACs
run: make -j2 check
name: CI
on:
push:
branches: [ staging, trying, master ]
pull_request:
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
crate:
- stm32f0
- stm32f1
- stm32f2
- stm32f3
- stm32f4
- stm32f7
- stm32h7
- stm32l0
- stm32l1
- stm32l4
- stm32l5
- stm32g0
- stm32g4
- stm32mp1
- stm32wl
- stm32wb
env:
CRATES: ${{ matrix.crate }}
CARGO_INCREMENTAL: 0
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt
- name: Install xmllint
run: sudo apt-get install libxml2-utils
- name: Install Python dependencies
run: |
pip3 install --user setuptools wheel
pip3 install --user svdtools
- name: Put pip binary directory into path
run: echo "~/.local/bin" >> $GITHUB_PATH
- name: Cache Cargo installed binaries
uses: actions/cache@v1
id: cache-cargo
with:
path: ~/cargo-bin
key: ${{ runner.os }}-svd2rust-0.17.0
- name: Install svd2rust
if: steps.cache-cargo.outputs.cache-hit != 'true'
uses: actions-rs/install@v0.1
with:
crate: svd2rust
version: 0.17.0
- name: Copy svd2rust to cache directory
if: steps.cache-cargo.outputs.cache-hit != 'true'
run: |
mkdir ~/cargo-bin
cp ~/.cargo/bin/svd2rust ~/cargo-bin
- name: Put new cargo binary directory into path
run: echo "~/cargo-bin" >> $GITHUB_PATH
- name: Patch SVDs
run: make -j2 patch
- name: Check SVDs
run: make lint
- name: Build PACs
run: make -j2 svd2rust
- name: Check PACs
run: make -j2 check
60 changes: 30 additions & 30 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: build gh-pages
on:
push:
branches:
- master

jobs:
build_html:
name: Build HTML
runs-on: ubuntu-18.04
steps:
- name: Checkout master
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install Python dependencies
run: |
pip3 install --user setuptools wheel
pip3 install --user svdtools
- name: Put pip binary directory into path
run: echo "~/.local/bin" >> $GITHUB_PATH
- name: Build HTML
run: |
make -j2 html
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: html
force_orphan: true
name: build gh-pages
on:
push:
branches:
- master
jobs:
build_html:
name: Build HTML
runs-on: ubuntu-18.04
steps:
- name: Checkout master
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install Python dependencies
run: |
pip3 install --user setuptools wheel
pip3 install --user svdtools
- name: Put pip binary directory into path
run: echo "~/.local/bin" >> $GITHUB_PATH
- name: Build HTML
run: |
make -j2 html
- name: Publish to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: html
force_orphan: true
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy