/* Pkg.uses is only necessary if you are using a TI compiler that does _not_ | |
* provide msp430x22x4.h in it's include directory. | |
*/ | |
Pkg.uses = ["ti/apps/msp430"]; | |
for (var i = 0; i < Build.targets.length; i++) { | |
var targ = Build.targets[i]; | |
if (targ.isa.match(/430/)) { | |
var exe = Pkg.addExecutable("rand", targ,targ.platform); | |
exe.addObjects(["rand.c", "vlo_rand.s430"]); | |
} | |
} |