From c4f077f724f9320a12605271722f61932b4c663c Mon Sep 17 00:00:00 2001 From: travisutk Date: Sat, 20 Jun 2009 01:37:06 +0000 Subject: [PATCH] Moved the firmware Makefile to trunk/firmware. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@42 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/{apps => }/Makefile | 12 ++++++------ firmware/{apps => }/goodfet.c | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename firmware/{apps => }/Makefile (62%) rename firmware/{apps => }/goodfet.c (100%) diff --git a/firmware/apps/Makefile b/firmware/Makefile similarity index 62% rename from firmware/apps/Makefile rename to firmware/Makefile index 40114b3..f1607d6 100644 --- a/firmware/apps/Makefile +++ b/firmware/Makefile @@ -6,22 +6,22 @@ BSL=tos-bsl --invert-reset --invert-test -c $(PORT) --speed=38400 mcu=msp430x1612 #ldscript is wonky -GCCINC=-T ../ldscripts/161x.x +GCCINC=-T ldscripts/161x.x -CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I ../include +CC=msp430-gcc -g -mmcu=$(mcu) -DGCC $(GCCINC) -I include -apps= monitor/monitor.c spi/spi.c i2c/i2c.c chipcon/chipcon.c jtag/jtag.c jtag/jtag430.c -libs= ../lib/msp430f1612.c ../lib/command.c +apps= apps/monitor/monitor.c apps/spi/spi.c apps/i2c/i2c.c apps/chipcon/chipcon.c apps/jtag/jtag.c apps/jtag/jtag430.c +libs= lib/msp430f1612.c lib/command.c app=goodfet -all: $(app) +all: $(app).hex goodfet.hex: goodfet run: ../../client/goodfet.msp430 -install: $(app) +install: $(app).hex $(BSL) -e -p $(app).hex $(BSL) -P $(app).hex -r $(app): $(app).c $(libs) $(apps) diff --git a/firmware/apps/goodfet.c b/firmware/goodfet.c similarity index 100% rename from firmware/apps/goodfet.c rename to firmware/goodfet.c -- 2.20.1