plants/pico
2025-07-10 09:13:02 +02:00
..
src Implement moisture logging 2025-07-10 09:13:02 +02:00
.gitignore Update build process to use mpy-cross 2025-07-07 15:51:37 +02:00
Makefile Exclude main.py from py -> mpy conversion 2025-07-10 01:25:05 +02:00
purge.py Update build process to use mpy-cross 2025-07-07 15:51:37 +02:00
pyproject.toml Rename ultrasound to pico 2025-07-01 21:52:36 +02:00
README.md Update build process to use mpy-cross 2025-07-07 15:51:37 +02:00
secret.py.example Implement conecting to network 2025-07-01 22:47:45 +02:00

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