Skip to main content

No project description provided

Project description

pico-up-and-running

A template repository with some scripts and shared functionality to get up and running with RaspberryPi Pico

The pico-up command

python pico-up

build   minify and attempt to compile pico application to bytecodes
free    show the current free ram and rom space, requires a soft-reset
init    initialise a python pico project in the current directory
image   prepare an image for use with the pico
push    push local application code to a connected pico
wipe    remove all files from a connected pico
version show the version of pico-up

init

The init command will create the following directory structure.

.
├── app
│   └── __init__.py
├── .gitignore
├── .pico-up.ini
├── main.py
├── README.md
└── settings.py

Setting the right device

Use mpremote connect list to view a list of connected serial devices.

/dev/ttyACM0 xxxxxxxxxxxxx xxxx:cccc MicroPython Board in FS mode
/dev/ttyS1 None 0000:0000 None None

Choose the one in the list that says MicroPython Board in FS mode, copying the first row of information, /dev/ttyACM0 in this case.

Replace the line address = 'CHANGE_ME' with address = '/dev/ttyACM0' in the .pico-up.ini file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pico-up-0.0.6.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

pico_up-0.0.6-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file pico-up-0.0.6.tar.gz.

File metadata

  • Download URL: pico-up-0.0.6.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for pico-up-0.0.6.tar.gz
Algorithm Hash digest
SHA256 87cfad06db251aad9a50f1021641a88d3204a1c0986db529841ad01c7d52d304
MD5 86cccfa817ea33be99ec1f9d2b6c2a02
BLAKE2b-256 59b1fcbf69c64ffbfda776b6501dd5498863ff7859c416d9b80812c0f82cd492

See more details on using hashes here.

File details

Details for the file pico_up-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: pico_up-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for pico_up-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a324743531b6a7f22c506876dba568ac9e79211286d169b988bc880213b0dc7a
MD5 14b0ca6af1c27eaec0929380410fdad2
BLAKE2b-256 8418311fa50aef83b691d513d1f5276a73b65d1794abc430cec7b313b5fae5e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page