GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dpm76/uPyFlasher: Flash a python application into a MCU with uPython.

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
playground
playground
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
flash.py
flash.py
 
 
pyboard.py
pyboard.py
 
 

Repository files navigation

uPyFlasher

Flashes a python application into a MCU with uPython.

Usage

flash.py [-h] [-a] [-e] [-m FUNCTION] [-n] [-v] [--version] [-d DEVICE] [LOCAL_PATH]

Positional arguments:

LOCAL_PATH Application root path. All files and directories within this path will be flashed.

Optional arguments:

-h, --help Show this help message and exit

-a, --add Keeps already flashed modules in the MCU. Otherwise, they will be deleted before flashing.

-e, --erase Erases all user's Python modules.

-m FUNCTION, --main FUNCTION The passed function will be executed on start orreset, usualy the 'main' function. The Python's module notation is used, i.e. myapp.mymodule.myentrypoint. This function can not have any argument.

-n, --nomain Clear the entry point (main function). Therefore the device executes no action after start or reset.

-v, --verbose Show more information about the flashing process.

--version Show program's version number and exit

-d DEVICE, --device DEVICE (default='/dev/ttyACM0') The serial terminal or IP address where the MCU is attached to.

About

Flash a python application into a MCU with uPython.

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.