Skip to content

Commit 143ae45

Browse files
authored
Merge branch 'master' into patch-1
2 parents 1c2ce37 + 37e7ec5 commit 143ae45

File tree

10 files changed

+652
-484
lines changed

10 files changed

+652
-484
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Clone repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
2424
with:
2525
ref: ${{ github.event.pull_request.head.sha }}
2626

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Clone repository
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v5
2727

2828
- name: Install & build with Astro
2929
uses: withastro/action@v4

.github/workflows/update-probe-rs-dep.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
update:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414
with:
1515
token: ${{ secrets.PAT }}
16-
- uses: actions/setup-node@v4
16+
- uses: actions/setup-node@v6
1717
with:
1818
node-version: 23
1919
- run: npm update probe-rs-targets

package-lock.json

Lines changed: 625 additions & 467 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@astrojs/rss": "^4.0.11",
1515
"@astrojs/sitemap": "^3.2.1",
1616
"@tailwindcss/vite": "^4.0.12",
17-
"astro": "^5.4.2",
17+
"astro": "^5.14.4",
1818
"astro-expressive-code": "^0.40.2",
1919
"astro-icon": "^1.1.5",
2020
"astro-pagefind": "^1.8.3",

src/components/index/Install.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { useEffect, useState } from "preact/hooks";
44

55
type Props = {};
66

7-
const shell = `curl -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-tools-installer.sh | sh`;
7+
const latestBase = `https://github.com/probe-rs/probe-rs/releases/latest/download`;
8+
const shell = `curl -LsSf ${latestBase}/probe-rs-tools-installer.sh | sh`;
89

910
export default function TargetsView({}: Props) {
1011
const [instructions, setInstructions] = useState([shell, "shell"] as [
@@ -47,7 +48,7 @@ export function installInstructions(): [string, BundledLanguage] {
4748
return [shell, "shell"];
4849
} else if (windowsPlatforms.indexOf(platform) !== -1) {
4950
return [
50-
`powershell -ExecutionPolicy Bypass -c "irm https://github.com/probe-rs/probe-rs/releases/download/v0.27.0/probe-rs-tools-installer.ps1 | iex"`,
51+
`powershell -ExecutionPolicy Bypass -c "irm ${latestBase}/probe-rs-tools-installer.ps1 | iex"`,
5152
"powershell",
5253
];
5354
} else if (/Android/.test(userAgent)) {

src/content/docs/getting-started/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ No additional setup is required.
5959

6060
#### Windows
6161

62-
Download and install [`cmake`](https://cmake.org/download/). Make sure it's added to your `$PATH`.
62+
No additional setup is required.
6363

6464
### Installation
6565

src/content/docs/getting-started/probe-setup.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,14 @@ users without root privileges access to the debug probes as well.
2424
devices.
2525

2626
If you're still unable to access the debug probes after following these steps,
27-
try adding your user to the plugdev group.
27+
try adding your user to the plugdev group. This group needs to be a system group
28+
if you use systemd version higher than v258. In this case you can try the following
29+
commands to fix the udev rules :
30+
31+
```bash
32+
sudo groupadd --system plugdev
33+
sudo usermod -a -G plugdev $USER
34+
```
2835

2936
[^1]: The file needs to have an initial number lower than 73, otherwise the udev
3037
rules do not get applied properly. See
@@ -200,6 +207,7 @@ recommended to configure udev as described in [udev rules](#linux-udev-rules).
200207

201208
No driver installation required.
202209

210+
Some ESP32 devices have an incorrect WinUSB Descriptor. If ``probe-rs list`` shows your device, but ``probe-rs info`` fails with ``Could not find DeviceInterfaceGUIDs in registry``, you may need to reinstall the driver using Zadig. You can find more information in this GitHub discussion: https://github.com/probe-rs/probe-rs/discussions/3193
203211

204212
## [Glasgow Interface Explorer](https://glasgow-embedded.org/)
205213

src/content/docs/library/basics.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ let probe = probes[0].open()?;
2929
Now you can access all the functionality a probe can offer. Not all probes offer the same functionality, which is why some calls may return a negative `Result`.
3030

3131
```rs
32+
3233
// Perform a hard reset of the connected target via the probe.
3334
probe.target_reset()?;
3435

@@ -67,7 +68,7 @@ In the previous sections we have learned how we attach to a core.
6768
Sometimes you want to access the core operations in quick fashion.
6869
This is what [Session::auto_attach()](https://docs.rs/probe-rs/*/probe_rs/struct.Session.html#method.auto_attach) is for.
6970
It lets you attach to the Core without first opening a Probe.
70-
It will try to open a connected prbe, and select the Core as best as it can
71+
It will try to open a connected probe, and select the Core as best as it can
7172

7273
```rs
7374
let session = Session::auto_attach("chip_name")?;

src/content/docs/tools/cargo-embed.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ And there is much more to come in the future!
2121
You can use it like any cargo command would be used
2222

2323
```bash
24-
cargo embed <args>
24+
cargo embed [OPTIONS] [CONFIG_PROFILE]
2525
```
2626

2727
This will do following in sequence:
@@ -73,10 +73,10 @@ precedence.
7373

7474
The data in the `Embed.toml` is structured in two levels: The outer layer is a
7575
configuration profile name, inside each profile there are then a series of
76-
sections with different options. The default profile is called "default" ;) When
77-
invoking cargo-embed, a different profile name can be passed as an argument with
78-
`--config <profile>`, which will load the settings under that profile instead of
79-
`default`.
76+
sections with different options. The default profile is called "default" ;)
77+
When invoking cargo-embed, a different profile name can be passed as positional
78+
argument `CONFIG_PROFILE`, which will load the settings under that profile
79+
instead of `default` (see [Usage](#usage)).
8080

8181
For example, in your `Embed.toml`:
8282

@@ -92,8 +92,8 @@ chip = "STM32F401CCUx"
9292
enabled = true
9393
```
9494

95-
Now you can run `cargo embed --config with_rtt` to have RTT enabled, while
96-
`cargo embed` will use the default config "default" without RTT.
95+
Now you can run `cargo embed with_rtt` to have RTT enabled, while `cargo embed`
96+
will use the default config "default" without RTT.
9797

9898
## RTT
9999

0 commit comments

Comments
 (0)