Skip to content

Commit

Permalink
Add env vars to README
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasWallnerIFX committed Jun 13, 2024
1 parent b956532 commit 99f038b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ Extra feature compared to `generic` target
Enable with the `--tracing` cli flag.
Generate the PAC with a non-default feature flag to allow for tracing reads/writes, [see below](#tracing-feature)

### Environment variables

- `SVD2PAC_LOG_LEVEL` sets the log level (see [log](https://docs.rs/log/0.4.21/log/enum.LevelFilter.html))
- `SVD2PAC_LOG_STYLE` sets whether or not to print styles with records (see [env_logger](https://docs.rs/env_logger/latest/env_logger/fmt/enum.WriteStyle.html))

## How to use the generated code

The generator outputs a complete crate into the provided folder.
Expand Down

0 comments on commit 99f038b

Please sign in to comment.