Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> python >> python3-uflash
nabia  ] [  aramo  ]
[ 源代码: python-uflash  ]

软件包: python3-uflash (1.2.4+dfsg-9)

module and utility for flashing the BBC micro:bit

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 uses the MicroPython runtime for micro:bit provided by the firmware-microbit-micropython package and which is located at /usr/share/firmware-microbit-micropython/firmware.hex.

This package provides the Python 3 module.

其他与 python3-uflash 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • sug: python-uflash-doc
    module and utility for flashing the BBC micro:bit (documentation)

下载 python3-uflash

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 17.9 kB59 kB [文件列表]