Skip to content

Commit

Permalink
avrdude: added avrdude dependency for updating arduino modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Dec 10, 2024
1 parent 594d4cd commit 083a567
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get update \
build-essential chrpath socat cpio python python3-pexpect \
xz-utils debianutils iputils-ping python3-git python3-jinja2 \
libegl1-mesa libsdl1.2-dev pylint3 xterm tar locales curl git sudo \
clang cmake zstd lz4
clang cmake zstd lz4 bison byacc flex

# By default, Ubuntu uses dash as an alias for sh. Dash does not support the source command
# needed for setting up the build environment in CMD. Use bash as an alias for sh.
Expand Down
16 changes: 16 additions & 0 deletions layers/meta-opentrons/recipes-devtools/avrdude/avrdude_svn.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
SUMMARY = "AVRDUDE is a utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP)."

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=4f51bb496ef8872ccff73f440f2464a8"

DEPENDS = "libusb elfutils hidapi libftdi"

inherit autotools

PV = "6.3+svn${SRCPV}"
SRC_URI = "svn://svn.savannah.nongnu.org/svn/avrdude/;protocol=http;module=trunk;rev=1425"

S = "${WORKDIR}/trunk/avrdude"

EXTRA_OECONF = "--enable-linuxgpio"

Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ IMAGE_INSTALL += " \
opentrons-system-server opentrons-mcu-firmware \
opentrons-user-environment opentrons-module-firmware \
opentrons-systemd-units opentrons-ssh-keys \
libjpeg-turbo \
libjpeg-turbo avrdude \
"

# We do NOT want the toradex libusbgx packages that autoconfigure the OTG USB
Expand Down

0 comments on commit 083a567

Please sign in to comment.