Beispiel #1
0
def version_txt():
    """return version.txt path.

    $ARDUINO/lib/version.txt

    """
    x = arduino_path() / 'lib' / 'version.txt'
    return x
Beispiel #2
0
def version_txt():
    """return version.txt path.

    $ARDUINO/lib/version.txt

    """
    x = arduino_path() / 'lib' / 'version.txt'
    return x
Beispiel #3
0
def examples_dir():
    """return arduino/examples directory.

    :rtype: string

    """
    x = arduino_path() / 'examples'
    return x
Beispiel #4
0
def libraries_dir():
    """return library root path.

    $ARDUINO/libraries

    """
    x = arduino_path() / 'libraries'
    assert x.exists(), x
    return x
Beispiel #5
0
def hwpack_dir():
    """return hardware packages root path."""
    x = arduino_path() / 'hardware'
    assert x.exists(), x
    return x
Beispiel #6
0
def boards_txt(hwpack='arduino'):
    """path of boards.txt."""
    x = arduino_path() / 'hardware' / hwpack / 'boards.txt'
    assert x.exists(), x
    return x
Beispiel #7
0
def programmers_txt():
    """path of programmers.txt."""
    x = arduino_path() / 'hardware' / 'arduino' / 'programmers.txt'
    assert x.exists()
    return x