Juraj Sadel 4c5e493b1b
esp-hal: Add runnable doctests to peripheral drivers (#1663)
* Check docs examples II

* rebase and update

* fix root crate macro expansion in doctest snippets

* clean up and fmt

* add xtask run-doc-test subcommand and check in CI

* address review comments

* remove commented printlns

* fix the host target check

* rebase and update

* hide docs for before_snippet macro and remove commented block code in twai
2024-06-11 10:18:09 +00:00
..

xtask

Automation using cargo-xtask.

Usage

Usage: xtask <COMMAND>

Commands:
  build-documentation    Build documentation for the specified chip
  build-examples         Build all examples for the specified chip
  build-package          Build the specified package with the given options
  build-tests            Build all applicable tests or the specified test for a specified chip
  bump-version           Bump the version of the specified package(s)
  fmt-packages           Format all packages in the workspace with rustfmt
  generate-efuse-fields  Generate the eFuse fields source file from a CSV
  lint-packages          Lint all packages in the workspace with clippy
  run-example            Run the given example for the specified chip
  run-tests              Run all applicable tests or the specified test for a specified chip
  run-elfs               Run all ELFs in a folder
  help                   Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help