Module implementing variants of some 'circup' functions suitable for 'eric-ide' integration.
None |
None |
ensure_latest_bundle | Function to ensure that there's a copy of the latest library bundle available so circup can check the metadata contained therein. |
find_modules | Function to extract metadata from the connected device and available bundles and returns this as a list of Module instances representing the modules on the device. |
get_circuitpython_version | Function to return the version number of CircuitPython running on the board connected via ``device_path``, along with the board ID. |
install_module | Function to find a connected device and install a given module name. |
patch_circup | Function to patch 'circup' to use our functions adapted to the use within the eric-ide. |
Function to ensure that there's a copy of the latest library bundle available so circup can check the metadata contained therein.
Function to extract metadata from the connected device and available bundles and returns this as a list of Module instances representing the modules on the device.
Function to return the version number of CircuitPython running on the board connected via ``device_path``, along with the board ID.
This is obtained from the 'boot_out.txt' file on the device, whose first line will start with something like this:
Adafruit CircuitPython 4.1.0 on 2019-08-02;
While the second line is:
Board ID:raspberry_pi_pico
Function to find a connected device and install a given module name.
Installation is done if it is available in the current module bundle and is not already installed on the device.
Function to patch 'circup' to use our functions adapted to the use within the eric-ide.