Skip to content

Commit

Permalink
Merge pull request #98 from paulober/develop
Browse files Browse the repository at this point in the history
Patch v3.0.9
  • Loading branch information
paulober authored Jun 2, 2023
2 parents 08b3cd6 + d76e9ab commit b84f220
Show file tree
Hide file tree
Showing 11 changed files with 365 additions and 307 deletions.
39 changes: 36 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# Created by https://www.toptal.com/developers/gitignore/api/node,python,visualstudiocode,webstorm
# Edit at https://www.toptal.com/developers/gitignore?templates=node,python,visualstudiocode,webstorm
# Created by https://www.toptal.com/developers/gitignore/api/node,python,webstorm,visualstudiocode,macos
# Edit at https://www.toptal.com/developers/gitignore?templates=node,python,webstorm,visualstudiocode,macos

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### macOS Patch ###
# iCloud generated files
*.icloud

### Node ###
# Logs
Expand Down Expand Up @@ -442,6 +475,6 @@ fabric.properties
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
.idea/**/azureSettings.xml

# End of https://www.toptal.com/developers/gitignore/api/node,python,visualstudiocode,webstorm
# End of https://www.toptal.com/developers/gitignore/api/node,python,webstorm,visualstudiocode,macos

*.zip
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher"]
"recommendations": ["dbaeumer.vscode-eslint"]
}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ All notable changes to the "pico-w-go" extension will be documented in this file

---

## [3.0.9] - 2023-06-02

# Added
- Status Bar button `togglepicowfs` (Suggested in #95)

# Changed
- Fixed #73, Extension freezes when Pico is disconnected during code execution
- Upgrade to pyboard-serial-com v1.4.26

## [3.0.8] - 2023-05-05

# Changed
Expand Down
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Works with:
- Running / Transferring files to / from your board
- Built-in virtual-workspace provider for Raspberry Pi Pico (W) boards

![Terminal](images/autocomplete.gif)
![Preview](images/preview.gif)

## Requirements

Expand All @@ -33,21 +33,10 @@ Visual Studio Code extensions:
* `visualstudioexptteam.vscodeintellicode` | [\[Install\]](vscode://extension/visualstudioexptteam.vscodeintellicode) [\[Show\]](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)
* `ms-python.vscode-pylance` | [\[Install\]](vscode://extension/ms-python.vscode-pylance) [\[Show\]](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)

Environment:
Environment (Linux only):

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:
1. Run VS Code in sudo (__NOT RECOMMENDED__)
2. Normaly adding your user to `dialout` group should fix the issue: `sudo usermod -a -G dialout $USER` (logout required)
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)
```bash
# download scripts/solvePermissions.sh
wget https://raw.githubusercontent.com/paulober/Pico-W-Go/main/scripts/solvePermissions.sh
# maybe not required
chmod +x ./solvePermissions.sh
# (change `/dev/ttyACM0` to the device file/port of your Pico)
# run the script
./solvePermissions.sh
```
- See [Wiki | Linux](https://github.com/paulober/Pico-W-Go/wiki/Linux) for a small guide

## Getting started

Expand Down
Binary file removed images/autocomplete.gif
Binary file not shown.
Binary file added images/preview.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/screenshot1.png
Binary file not shown.
Binary file removed images/screenshot2.png
Binary file not shown.
Loading

0 comments on commit b84f220

Please sign in to comment.