Merge pull request #39 from knurling-rs/update_readme

README.md: update to new probe-run usage, new nrf hal version
This commit is contained in:
Jonas Schievink
2021-01-21 20:09:54 +01:00
committed by GitHub
+3 -3
View File
@@ -56,8 +56,8 @@ If, for example, you have a nRF52840 Development Kit from one of [our workshops]
``` diff ``` diff
# .cargo/config.toml # .cargo/config.toml
[target.'cfg(all(target_arch = "arm", target_os = "none"))'] [target.'cfg(all(target_arch = "arm", target_os = "none"))']
-runner = "probe-run --chip {{chip}} --defmt" -runner = "probe-run --chip {{chip}}"
+runner = "probe-run --chip nRF52840_xxAA --defmt" +runner = "probe-run --chip nRF52840_xxAA"
``` ```
#### 3. Adjust the compilation target #### 3. Adjust the compilation target
@@ -86,7 +86,7 @@ For the nRF52840 you'll want to use the [`nrf52840-hal`].
# Cargo.toml # Cargo.toml
[dependencies] [dependencies]
-# some-hal = "1.2.3" -# some-hal = "1.2.3"
+nrf52840-hal = "0.11.0" +nrf52840-hal = "0.12.0"
``` ```
#### 5. Import your HAL #### 5. Import your HAL