Skip to content

Commit

Permalink
Merge pull request #137 from paulober/develop
Browse files Browse the repository at this point in the history
Patch v3.3.0
  • Loading branch information
paulober authored Oct 10, 2023
2 parents a846f0c + 919ed07 commit a00b5e3
Show file tree
Hide file tree
Showing 11 changed files with 459 additions and 356 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ labels: 'bug'


## Any logs, error output, etc?
*(To get extension logs see Terminal > Output > Extension Host and copy output concerning pico-w-go)*
*(To get extension logs see Terminal > Output > Extension Host and copy output concerning pico-w-go or micropico)*
*(If it’s long, please paste to https://gist.github.com and insert the link here)*


Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,25 @@ All notable changes to the "MicroPico" extension will be documented in this file
>_Based on structure recommendations from [Keep a Changelog](http://keepachangelog.com/)._
## Known issues
- vREPL tab-completion on Windows isn't inline. (that's also cool but different to macOS or Linux behaviour)
- 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)

---

## [3.3.0] - 2023-10-11

# Changed
- Updated dependencies
- Upgraded to `pyboard-serial-com` `v2.0.0`
- Stubs updated to v1.21.0 stable

# Removed
- Dependency on the VS Code Python extension
- Dependency on `pyserial` pip package
- Dependency on Python beeing installed on the host system
- `micropico.pythonPath` setting
- Support for the armhf architecture

## [3.2.6] - 2023-10-01

# Added
Expand Down
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
> __Auto-completion based on Raspberry Pi Pico W MicroPython firmware: [RPI_PICO_W-20230904-unstable-v1.20.0-441-gbf35eefc6.uf2](https://micropython.org/resources/firmware/RPI_PICO_W-20230904-unstable-v1.20.0-441-gbf35eefc6.uf2)__
Works with:
| Platform | x64 | arm64 | armhf |
| :------- | :-: | :---: | :---: |
| Windows ||||
| macOS ||||
| Linux ||||
| Platform | x64 | arm64 |
| :------- | :-: | :---: |
| Windows |||
| macOS |||
| Linux |||

## Features

Expand All @@ -27,9 +27,6 @@ Works with:
* [MicroPython firmware](https://micropython.org/download) flashed onto the Raspberry Pi Pico (W):
- See [Raspberry Pi docs](https://www.raspberrypi.com/documentation/microcontrollers/micropython.html#drag-and-drop-micropython) for help.

* [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.
* [`pyserial` pip package](https://pypi.org/project/pyserial/): `pip install pyserial`

Visual Studio Code extensions:
* `ms-python.python` | [\[Install\]](vscode://extension/ms-python.python) [\[Show\]](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
* `visualstudioexptteam.vscodeintellicode` | [\[Install\]](vscode://extension/visualstudioexptteam.vscodeintellicode) [\[Show\]](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)
Expand All @@ -44,11 +41,6 @@ On most Linux installations the device file of the Pico serial port is owned by

- First of all open a folder and run `> MicroPico > 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).

- If you have trouble running `> MicroPico > Configure Project`, try setting following settings in your global VSCode `settings.json`:
```json
"micropico.pythonPath": "/path/to/your/python/executable/python3"
```

- Have the onboard LED flashing in under 5 minutes:
> 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`:
Expand Down Expand Up @@ -90,7 +82,6 @@ This extension contributes the following settings:
* `micropico.statusbarButtons`: Select which buttons to show in the statusbar (DO NOT CHANGE, unless you know what you are doing)
* `micropico.gcBeforeUpload`: Run garbage collection before uploading files to the board. This will free up some memory usefull when uploading large files but adds about a second or two to the upload process.
* `micropico.softResetAfterUpload`: Soft-resets your board after any upload action. Usefull if you are developing with `main.py` or `boot.py`.
* `micropico.pythonPath`: Path to the Python interpreter. Defaults to null so it will try to auto-detect a suitable python installation. NOTE: Must be deleted from global settings.json when switing between operating systems and settings-sync is enabled!

## Extension Context Keys

Expand Down
Loading

0 comments on commit a00b5e3

Please sign in to comment.