Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> doc >> python3-uflash-doc
nabia  ]
[ Quellcode: python-uflash  ]

Paket: python3-uflash-doc (1.2.4+dfsg-1)

module and utility for flashing the BBC micro:bit (documentation)

uflash is a utility for flashing the BBC micro:bit with Python scripts and the MicroPython runtime.

It provides two services:

 * a library of functions to programmatically create a hex file and flash
   it onto a BBC micro:bit.
 * a command line utility (uflash) that will flash Python scripts onto
   a BBC micro:bit

Several essential operations are implemented:

 * encode Python into the hex format
 * embed the resulting hexified Python into the MicroPython runtime hex
 * extract an encoded Python script from a MicroPython hex file
 * discover the connected micro:bit
 * copy the resulting hex onto the micro:bit, thus flashing the device
 * specify the MicroPython runtime hex in which to embed your Python code

By default, python3-uflash will use the MicroPython runtime for micro:bit provided by the firmware-microbit-micropython{,-dl} packages and which is located in /usr/share/firmware-microbit-micropython/firmware.hex. Please ensure one of these packages is installed so that a default runtime is always available.

This package provides the uflash documentation.

Andere Pakete mit Bezug zu python3-uflash-doc

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • dep: libjs-sphinxdoc (>= 1.0)
    JavaScript support for Sphinx documentation
  • sug: wwww-browser
    Paket nicht verfügbar

python3-uflash-doc herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 28,4 kB183 kB [Liste der Dateien]