Skip to content

Commit a1d547d

Browse files
committed
v3.0.5
- Updated README.md
1 parent 8788550 commit a1d547d

File tree

3 files changed

+32
-19
lines changed

3 files changed

+32
-19
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ All notable changes to the "pico-w-go" extension will be documented in this file
66
77
## Known issues
88
- Run current file does not include modules that are localy imported and in current workspace, unless you upload the python file containing the module via the upload file or project feature first. (since ever)
9-
- Mounting virtual workspace causes existing vREPLs to freeze so they need to be disposed manually for some reason. (maybe cauaused by vscode)
9+
- Mounting virtual workspace causes existing vREPLs to freeze (*sometimes*) so they need to be disposed manually for some reason. (maybe cauaused by vscode)
10+
- Scripts without a print statement sometime causes the extension to freeze
1011

1112
---
1213

14+
## [3.0.5] - 2023-04-18
15+
16+
# Changed
17+
- Updated README.md
18+
1319
## [3.0.4] - 2023-04-18
1420

1521
# Changed

README.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ Pico-W-Go provides code auto-completion and allows you to communicate with your
55
> __Auto-completion based on Raspberry Pi Pico W MicroPython firmware: [rp2-pico-w-20230407-unstable-v1.19.1-1009-gcfd3b7093.uf2](https://micropython.org/resources/firmware/rp2-pico-w-20230407-unstable-v1.19.1-1009-gcfd3b7093.uf2)__
66
77
Works with:
8-
| Platform | Architectures |
9-
|----------|:------------------:|
10-
| Windows | x64, arm64 |
11-
| macOS | x64, arm64 |
12-
| Linux | x64, arm64, armvhf |
8+
| Platform | x64 | arm64 / aarch64 | armv7l |
9+
|----------|:---:|:--------------:|:------:|
10+
| Windows | :white_check_mark: | :white_check_mark: | :x: |
11+
| macOS | :white_check_mark: | :white_check_mark: | :x: |
12+
| Linux | :white_check_mark: | :white_check_mark: | :white_check_mark: |
1313

1414
## Features
1515

1616
- Auto-completion and docs
17-
- Terminal integration for communication with MicroPython REPL on a Pico (w) board
18-
- Running/Transferring files to/from your board
17+
- Pseudo terminal integration for communication with MicroPython REPL on a Pico (w) board
18+
- Running / Transferring files to / from your board
1919
- Built-in virtual-workspace provider for Raspberry Pi Pico (W) boards
2020

2121
![Terminal](images/autocomplete.gif)
@@ -25,19 +25,19 @@ Works with:
2525
* [MicroPython firmware](https://micropython.org/download) flashed onto the Raspberry Pi Pico (W):
2626
- See [Raspberry Pi docs](https://www.raspberrypi.com/documentation/microcontrollers/micropython.html#drag-and-drop-micropython) for help.
2727

28-
* [Python 3.9 or newer](https://www.python.org/downloads/) installed on your system and in your PATH.
28+
* [Python 3.9 or newer (with pip)](https://www.python.org/downloads/) (user install; Microsoft Store version not supported but may work) installed on your system and in your PATH.
2929
* [`pyserial` pip package](https://pypi.org/project/pyserial/): `pip install pyserial`
3030

3131
Visual Studio Code extensions:
32-
* [ms-python.python](vscode://extension/ms-python.python)
33-
* [visualstudioexptteam.vscodeintellicode](vscode://extension/visualstudioexptteam.vscodeintellicode)
34-
* [ms-python.vscode-pylance](vscode://extension/ms-python.vscode-pylance)
32+
* `ms-python.python` | [\[Install\]](vscode://extension/ms-python.python) [\[Show\]](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
33+
* `visualstudioexptteam.vscodeintellicode` | [\[Install\]](vscode://extension/visualstudioexptteam.vscodeintellicode) [\[Show\]](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)
34+
* `ms-python.vscode-pylance` | [\[Install\]](vscode://extension/ms-python.vscode-pylance) [\[Show\]](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
3535

3636
Environment:
3737

38-
On most Linux installations the device file of the Pico serial port is owned by root and a group you normal don't have by default. This leads to timeout and access denied errors when Pico-W-Go tries to connect to the Pico. There are three ways how to solve this problem:
39-
1. Run VS Code in sudo (NOT RECOMMENDED)
40-
2. Normaly adding your user to `dialout` group should fix the issue: `sudo usermod -a -G dialout $THEUSER` (logout required)
38+
On most Linux installations the device file of the Pico serial port is owned by root and a group you normal don't have by default (*except on Raspbian OS*). This leads to timeout and access denied errors when Pico-W-Go tries to connect to the Pico. There are three ways how to solve this problem:
39+
1. Run VS Code in sudo (__NOT RECOMMENDED__)
40+
2. Normaly adding your user to `dialout` group should fix the issue: `sudo usermod -a -G dialout $USER` (logout required)
4141
3. Dynamically add the group who "owns" the serial port file to your current user. You can easily do this by downloading and executing the `scripts/solvePermissions.sh` script. However you **have** to change the marked line in the script if you Raspberry Pi Pico (w) does not connect to/shows up as `/dev/ttyACM0` to the correct device file. The script will readout the group owning the device file and then add you to this group. (logout required)
4242
```bash
4343
# download scripts/solvePermissions.sh
@@ -51,20 +51,26 @@ chmod +x ./solvePermissions.sh
5151

5252
## Getting started
5353

54-
- First of all open a folder and run `Pico-W-Go > Configure Project` command via `Ctrl+Shift+P` (or the equivalent on your platform) VS Code command palette. This will import stubs for autocompletion and the settings into your project folder. For the auto-completion to work, the extension prompts you (after project configuration) to install recommended extensions mentioned in \#Requirements.
54+
- First of all open a folder and run `> Pico-W-Go > Configure Project` command via `Ctrl+Shift+P` (or the equivalent on your platform) VS Code command palette. This will import stubs for autocompletion and the settings into your project folder. For the auto-completion to work, the extension prompts you (after project configuration) to install recommended extensions mentioned in [\#Requirements](#requirements).
55+
56+
- If you have trouble running `> Pico-W-Go > Configure Project`, try setting following settings in your global VSCode `settings.json`:
57+
```json
58+
"picowgo.pythonPath": "/path/to/your/python/executable/python3"
59+
```
5560

5661
- Have the onboard LED flashing in under 5 minutes:
5762
> Note that [accessing the onboard LED is slightly different for the Pico W compared with the Pico (Page 15 Chapter 3.4)](https://datasheets.raspberrypi.com/picow/connecting-to-the-internet-with-pico-w.pdf). So, you can use the following script in place of `flash.py`:
5863
5964
```python
6065
from machine import Pin
61-
from time import sleep
66+
from utime import sleep
6267

6368
pin = Pin("LED", Pin.OUT)
6469

70+
print("LED starts flashing...")
6571
while True:
6672
pin.toggle()
67-
sleep(1)
73+
sleep(1) # sleep 1sec
6874
```
6975

7076
---

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pico-w-go",
33
"displayName": "Pico-W-Go",
44
"description": "Autocompletion, remote Workspace and a REPL console for the Raspberry Pi Pico (W).",
5-
"version": "3.0.4",
5+
"version": "3.0.5",
66
"publisher": "paulober",
77
"license": "MPL-2.0",
88
"homepage": "https://github.com/paulober/Pico-W-Go/blob/main/README.md",
@@ -18,6 +18,7 @@
1818
"color": "#ffffff",
1919
"theme": "light"
2020
},
21+
"markdown": "github",
2122
"engines": {
2223
"vscode": "^1.77.0",
2324
"node": ">=16.14.2"

0 commit comments

Comments
 (0)