Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit 95c20bb

Browse files
committed
Remove manual env setup from tutorial
1 parent 49360ea commit 95c20bb

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

docs/tutorial.md

+2-16
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,9 @@ The baud rate should be set to the default of 115200 in most cases. Click _Start
4646

4747
## Command-line usage
4848

49-
To configure the appropriate environment variables and PATH needed to build and debug Pico projects, a couple of utility scripts are available. If you're using the Command Prompt (cmd.exe) shell:
49+
To build and debug projects using command-line tools, you can open a terminal window using the _Pico - Developer Command Prompt_ or _Pico - Developer PowerShell_ shortcuts.
5050

51-
```cmd
52-
call "C:\Program Files\Raspberry Pi Pico SDK v1.4.0\pico-env.cmd"
53-
```
54-
55-
To set up the environment in a PowerShell session:
56-
57-
```powershell
58-
. "C:\Program Files\Raspberry Pi Pico SDK v1.4.0\pico-env.ps1"
59-
```
60-
61-
Note that running the PowerShell script might require you to set the [Execution Policy](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies) first.
62-
63-
### Start OpenOCD
64-
65-
If you wish to start OpenOCD from the command line yourself, you will need to set up the environment as described previously, and then run:
51+
### Start OpenOCD and gdb
6652

6753
```powershell
6854
openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 1000"

0 commit comments

Comments
 (0)