import nakeasn 20110313

This is an open-sourced assembler / disassembler / simulator for the
MSP430 series of microcontrollers from Texas Instruments. The goal of
this project is to have a completely cross-platform assembler with the
exe (naken430asm) under 50k and to have a cross-platform disassembly
utility (naken430util) along with it to help with debugging and a bit of
profiling. The naken430util, when disassembling, shows how many CPU
cycles each instruction will take and it has a built in simulation to help
show how the binary code will flow on the chip and how many cycles it
will take to execute.
Code from this assembler can be uploaded to the device by installing the
mspdebug package.

ok aja@
This commit is contained in:
jasper 2011-04-05 08:41:50 +00:00
parent 953361b9c4
commit 80248209b9
5 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/04/05 08:41:50 jasper Exp $
COMMENT= assembler/disassembler/simulator for MSP430 MCUs
V= 2011-03-13
DISTNAME= naken430asm-2011-03-13
PKGNAME= name430asm-${V:S/-//g}
CATEGORIES= devel
HOMEPAGE= http://www.mikekohn.net/micro/naken430asm_msp430_assembler.php
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://downloads.mikekohn.net/naken430asm/
WANTLIB += c
ALL_TARGET= # This space intentionally left blank.
SUBST_VARS+= CC CFLAGS LDFLAGS DESTDIR
NO_REGRESS= Yes
# configure script is broken piece of bash, use our own config.mk instead.
do-configure:
${SUBST_CMD} -c ${FILESDIR}/config.mak ${WRKSRC}/config.mak
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/naken430asm/examples/
${INSTALL_DATA} ${WRKSRC}/testing/* \
${PREFIX}/share/naken430asm/examples/
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (naken430asm-2011-03-13.tar.gz) = ugiqbn/5+P21ZH7FSgkBzw==
RMD160 (naken430asm-2011-03-13.tar.gz) = 7fgR8yv2Y5G5MishcftJeeVL8BQ=
SHA1 (naken430asm-2011-03-13.tar.gz) = HKikuWSuKW1wBTcXD91A5k8ojuE=
SHA256 (naken430asm-2011-03-13.tar.gz) = uFaA7BiaS1Uxq4xxBKmxy0qikqqpFekZL0fPEP95ud0=
SIZE (naken430asm-2011-03-13.tar.gz) = 34578

View File

@ -0,0 +1,9 @@
CC=${CC}
COMPILER_PREFIX=
LDFLAGS=${LDFLAGS}
LDFLAGS_UTIL=
CFLAGS=${CFLAGS} -s
INSTALL_BIN=${DESTDIR}${PREFIX}/bin
INSTALL_INCLUDES=${DESTDIR}${PREFIX}/share/naken430asm
INCLUDE_PATH=${DESTDIR}${PREFIX}/share/naken430asm/include
CONFIG_EXT=

View File

@ -0,0 +1,12 @@
This is an open-sourced assembler / disassembler / simulator for the
MSP430 series of microcontrollers from Texas Instruments. The goal of
this project is to have a completely cross-platform assembler with the
exe (naken430asm) under 50k and to have a cross-platform disassembly
utility (naken430util) along with it to help with debugging and a bit of
profiling. The naken430util, when disassembling, shows how many CPU
cycles each instruction will take and it has a built in simulation to help
show how the binary code will flow on the chip and how many cycles it
will take to execute.
Code from this assembler can be uploaded to the device by installing the
mspdebug package.

View File

@ -0,0 +1,21 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/05 08:41:50 jasper Exp $
@bin bin/naken430asm
@bin bin/naken430util
share/naken430asm/
share/naken430asm/examples/
share/naken430asm/examples/defines.asm
share/naken430asm/examples/guitar_proc.asm
share/naken430asm/examples/ifdef.asm
share/naken430asm/examples/launchpad_blink.asm
share/naken430asm/examples/launchpad_blink_g${CC}.asm
share/naken430asm/examples/olimex.asm
share/naken430asm/examples/simulator.asm
share/naken430asm/examples/test.asm
share/naken430asm/examples/test.inc
share/naken430asm/examples/test2.asm
share/naken430asm/examples/test3.asm
share/naken430asm/examples/test4.asm
share/naken430asm/examples/test5.asm
share/naken430asm/include/
share/naken430asm/include/msp430_io.inc
share/naken430asm/include/msp430g2x31.inc