diff --git a/README.md b/README.md index d153637..6d9f121 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ If you aren't using a debugger (or want to use other debugging configurations),
  • Running
  • Alternative runners
  • Notes on using rp2040_boot2
  • +
  • Feature flags
  • Roadmap
  • Contributing
  • Code of conduct
  • @@ -228,6 +229,18 @@ Some of the options for your `runner` are listed below: + +
    +

    Feature flags

    + + There are several [feature flags in rp2040-hal](https://docs.rs/rp2040-hal/latest/rp2040_hal/#crate-features). + If you want to enable some of them, uncomment the `rp2040-hal` dependency in `Cargo.toml` and add the + desired feature flags there. For example, to enable ROM functions for f64 math using the feature `rom-v2-intrinsics`: + ``` + rp2040-hal = { version="0.9", features=["rt", "critical-section-impl", "rom-v2-intrinsics"] } + ``` +
    + ## Roadmap