Skip to content

Commit

Permalink
Fix readme to stop the spread of lies
Browse files Browse the repository at this point in the history
  • Loading branch information
diondokter committed Aug 28, 2024
1 parent 3041a13 commit d146383
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,24 @@ It can be used with any executor.

## Using

In your own program or library, you can depend on this crate in the usual fashion:
In your own program or library, you can depend on this crate in the usual fashion.

nrf9160:
```toml
[dependencies]
nrf-modem = "0.5.0"
nrf-modem = { version = "x.x.x", features = ["nrf9160"] }
```
The `nrf9160` feature is enabled by default for legacy support. To use this library on another supported chip (e.g., `nrf9151`), select that feature and disable default feautes.

nrf9161:
```toml
[dependencies]
nrf-modem = { version = "0.5.0", default-featues = false, features = ["nrf9151"] }
nrf-modem = { version = "x.x.x", features = ["nrf9161"] }
```

nrf9151:
```toml
[dependencies]
nrf-modem = { version = "x.x.x", features = ["nrf9151"] }
```

## Errors and recovery
Expand Down

0 comments on commit d146383

Please sign in to comment.