Skip to content

Commit

Permalink
change firmware filenames to match existing opentrons modules format
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Jul 23, 2024
1 parent 87f9b5a commit 3ccea9e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ LICENSE = "CLOSED"
FILESEXTRAPATHS:prepend = "${THISDIR}/files:"
SRC_URI += "file://pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \
file://libbyonoy_device_library.so \
file://absorbance-96-v1.0.0.byoup \
file://absorbance-96-v1.0.2.byoup \
file://absorbance-96@v1.0.0.byoup \
file://absorbance-96@v1.0.2.byoup \
"
FIRMWARE_DIR="${libdir}/firmware"

Expand All @@ -27,14 +27,14 @@ do_install:append() {
install -m 755 ${WORKDIR}/libbyonoy_device_library.so ${D}${libdir}
# install the firmware files to /usr/lib/firmware
install -d ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/absorbance-96-v1.0.0.byoup ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/absorbance-96-v1.0.2.byoup ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/absorbance-96@v1.0.0.byoup ${D}${FIRMWARE_DIR}
install -m 644 ${WORKDIR}/absorbance-96@v1.0.2.byoup ${D}${FIRMWARE_DIR}
}

RDEPENDS:${PN} += "hidapi"

FILES:${PN} += "${libdir}/libbyony_device_library.so \
${libdir}/firmware/Absorbance_96_Auto_2024-05-03-V1.0.0.byoup \
${libdir}/firmware/Absorbance_96_Auto_2024-05-14-V1.0.2.byoup \
${libdir}/firmware/absorbance-96@v1.0.0.byoup \
${libdir}/firmware/absorbance-96@v1.0.2.byoup \
${libdir}/python3.10/site-packages/pybyonoy_device_library.cpython-310-aarch64-linux-gnu.so \
"

0 comments on commit 3ccea9e

Please sign in to comment.