diff --git a/conf/layer.conf b/conf/layer.conf index 71a865b..dc32cdd 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -8,6 +8,10 @@ BBFILES += " \ ${LAYERDIR}/recipes-*/*/*.bbappend \ " +PREFERRED_VERSION_pypio ?= "1.0.0" +PREFERRED_VERSION_pywm ?= "1.0.0" +PREFERRED_VERSION_ultrasonic-distance ?= "1.0.0" + BBFILE_COLLECTIONS += "meta-bbb" BBFILE_PATTERN_meta-bbb = "^${LAYERDIR}/" BBFILE_PRIORITY_meta-bbb = "7" diff --git a/images/console-image.bb b/images/console-image.bb index f4da42c..25099fb 100644 --- a/images/console-image.bb +++ b/images/console-image.bb @@ -26,6 +26,7 @@ KERNEL_EXTRA_INSTALL = " \ WIFI_SUPPORT = " \ iw \ + linux-firmware-rtl8188 \ linux-firmware-rtl8192cu \ wireless-tools \ wpa-supplicant \ @@ -44,10 +45,14 @@ EXTRA_TOOLS_INSTALL = " \ acpid \ bc \ bzip2 \ + dosfstools \ + e2fsprogs-mke2fs \ ethtool \ findutils \ + htop \ i2c-tools \ less \ + mc \ procps \ rsync \ sysfsutils \ @@ -65,8 +70,9 @@ MQTT = " \ " PYTHON_LIBS = " \ - mypy \ + pypio \ pywm \ + ultrasonic-distance \ " IMAGE_INSTALL += " \ diff --git a/recipes-devtools/pypio/pypio_1.0.0.bb b/recipes-devtools/pypio/pypio_1.0.0.bb new file mode 100644 index 0000000..824332f --- /dev/null +++ b/recipes-devtools/pypio/pypio_1.0.0.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "python hardware abstraction" +SECTION = "devtools" +LICENSE = "MIT" + +PR = "r1" +PV = "1.0.0" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +S = "${WORKDIR}/git" + +inherit setuptools +inherit allarch + +SRC_URI = " \ + git://gitlab.blackfinn.de/python/pypio.git;protocol=https;tag=${PV} \ +" +SRC_URI[md5sum] = "a60bcf593ba5080bc2463a8abe8ab7b3" + + +DEPENDS = " \ + python \ +" + +RDEPENDS_${PN} = " \ + \ +" + diff --git a/recipes-devtools/ultrasonic-distance/ultrasonic-distance_1.0.0.bb b/recipes-devtools/ultrasonic-distance/ultrasonic-distance_1.0.0.bb new file mode 100644 index 0000000..79517cf --- /dev/null +++ b/recipes-devtools/ultrasonic-distance/ultrasonic-distance_1.0.0.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "python hardware abstraction" +SECTION = "devtools" +LICENSE = "MIT" + +PR = "r1" +PV = "1.0.0" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +S = "${WORKDIR}/git" + +inherit setuptools +inherit allarch + +SRC_URI = " \ + git://gitlab.blackfinn.de/python/ultrasonic-distance.git;protocol=https;tag=${PV} \ +" +SRC_URI[md5sum] = "a60bcf593ba5080bc2463a8abe8ab7b3" + + +DEPENDS = " \ + python \ +" + +RDEPENDS_${PN} = " \ + pypio \ +" +