Teensyloader is a programmer for the "HalfKay" embedded bootloader

as found in the "Teensy" and "Teensy++" AVR development boards.
This commit is contained in:
ckuethe 2009-03-28 18:55:09 +00:00
parent d7efc56347
commit c7e3b4f557
5 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/03/28 18:55:09 ckuethe Exp $
COMMENT= AVR microcontroller hardware in-system programmer
DISTNAME= teensy_loader_cli
PKGNAME= teensyloader-1.03
CATEGORIES= devel
HOMEPAGE= http://www.pjrc.com/teensy/
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
# GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
CONFIGURE_STYLE= None
PATCHFILES= teensy_loader_cli_openbsd.diff
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/teensyloader ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/teensy
${INSTALL_DATA} ${WRKSRC}/*.{hex,asm} ${PREFIX}/share/examples/teensy
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
MD5 (teensy_loader_cli.tar.gz) = KSShvrkhMFal4k3+TJWyiw==
MD5 (teensy_loader_cli_openbsd.diff) = tej/HIyA48mRO2fze4QGfw==
RMD160 (teensy_loader_cli.tar.gz) = nKE0fU7QjwwMeNLPDNSGfwiRCUg=
RMD160 (teensy_loader_cli_openbsd.diff) = zDsLyJCAjECDtfGCTB01mfEWCVo=
SHA1 (teensy_loader_cli.tar.gz) = ZOTvxNgciXuDENvcZDIzy6hWHIw=
SHA1 (teensy_loader_cli_openbsd.diff) = ++PapopiTlBBQGFtCJ3lzyI2sUA=
SHA256 (teensy_loader_cli.tar.gz) = 2TO4ERSpTzMEmxqm64aMPuYXCPIN8PHs4IfeD5oGE2k=
SHA256 (teensy_loader_cli_openbsd.diff) = SOr5Ank3iO673r5t0IDMIAFPYHycpKu7TSnIL630O64=
SIZE (teensy_loader_cli.tar.gz) = 17201
SIZE (teensy_loader_cli_openbsd.diff) = 4606

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/03/28 18:55:09 ckuethe Exp $
--- Makefile.orig Wed Feb 11 20:55:42 2009
+++ Makefile Wed Feb 11 21:01:18 2009
@@ -1,6 +1,8 @@
+all: teensyloader
-teensy_loader_cli: teensy_loader_cli.c
- gcc -O2 -Wall -s -o teensy_loader_cli teensy_loader_cli.c -lusb
+teensyloader: teensy_loader_cli.c
+ $(CC) -DUSE_UHID $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
+ -o teensyloader teensy_loader_cli.c
clean:
- rm -f teensy_loader_cli
+ rm -f teensyloader

View File

@ -0,0 +1,3 @@
The Teensy Loader program communicates with your Teensy board when the
HalfKay bootloader is running, so you can download new programs and run
them.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/03/28 18:55:09 ckuethe Exp $
@bin bin/teensyloader
share/examples/teensy/
share/examples/teensy/blink_fast.asm
share/examples/teensy/blink_fast.hex
share/examples/teensy/blink_slow.asm
share/examples/teensy/blink_slow.hex