From 511125f08e1abbb0160c70062aec514154367383 Mon Sep 17 00:00:00 2001 From: travisutk Date: Wed, 21 Oct 2009 14:05:48 +0000 Subject: [PATCH] Print configuration instructions. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@215 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/Makefile | 12 ++++++++++-- firmware/configure | 6 +++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index 32a72cb..9b73883 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -6,10 +6,14 @@ GOODFET?=/dev/ttyUSB0 #For tos-bsl, use --invert-reset --invert-test BSL=goodfet.bsl -c $(GOODFET) --speed=38400 + +#One of these should be defined explicitly. +#Default removed because of confusion. + #mcu=msp430x2274 #mcu=msp430x2618 -mcu?=msp430x1612 - +#mcu?=msp430x1612 +mcu?=RUNCONFIG #N.B., gcc WILL NOT BITCH if this file doesn't exist. #GCCINC=-T ldscripts/161x.x @@ -27,6 +31,10 @@ app= goodfet all: $(app).hex +lib/RUNCONFIG.o: + ./configure + false + goodfet.hex: goodfet run: diff --git a/firmware/configure b/firmware/configure index 8767af6..43b2f40 100755 --- a/firmware/configure +++ b/firmware/configure @@ -7,8 +7,8 @@ GOODFET=/dev/ttyUSB* #Linux (Default) The MSP430F161x is targetted by default. Build for others by setting one of the following. -mcu=msp430x2618 -mcu=msp430x1612 #MSP430F1612 or 1611 -mcu=msp430x2274 #2272 or 2274 +mcu=msp430x2618 #BadFET20 +mcu=msp430x1612 #GoodFET10, GoodFET20 +mcu=msp430x2274 #GoodFET30 EOF -- 2.20.1