plants/pico/README.md

20 lines
458 B
Markdown

# Setup:
1. Set up the virtual environment:
```
$ python -m venv .venv
$ source .venv/bin/activate
```
2. Install the type stubs:
```
$ pip install -U micropython-rp2-pico_w-stubs --no-user --target typings
```
3. Ensure `mpy-cross` is available:
```
$ git clone https://github.com/micropython/micropython.git /tmp/micropython
$ pushd /tmp/micropython/mpy-cross
$ make
$ mv build/mpy-cross ~/.local/bin/
$ popd
```