From a4a46e7b64a73573df1696ac52f9c9e49bdbadfd Mon Sep 17 00:00:00 2001 From: travisutk Date: Fri, 30 Mar 2012 19:20:16 +0000 Subject: [PATCH] Removed old configs. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1124 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/config.mk | 2 +- firmware/configs/README.txt | 3 --- firmware/configs/arduino.sh | 7 ------- firmware/configs/examples/bluetooth-nhb12b.sh | 11 ----------- firmware/lib/msp430f2617.c | 5 +++++ 5 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 firmware/configs/README.txt delete mode 100644 firmware/configs/arduino.sh delete mode 100644 firmware/configs/examples/bluetooth-nhb12b.sh create mode 100644 firmware/lib/msp430f2617.c diff --git a/firmware/config.mk b/firmware/config.mk index e033aaf..4774a5a 100644 --- a/firmware/config.mk +++ b/firmware/config.mk @@ -29,7 +29,7 @@ CONFIG_nrf = y endif ifeq ($(board),z1) -mcu ?= msp430f2618 +mcu ?= msp430f2617 platform := z1 config = monitor spi ccspi MSP430BSL?=goodfet.bsl --z1 --speed=38400 diff --git a/firmware/configs/README.txt b/firmware/configs/README.txt deleted file mode 100644 index 394c166..0000000 --- a/firmware/configs/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -These are configuration scripts which may be sourced to preconfigure -the environment for a particular hardware platform. - diff --git a/firmware/configs/arduino.sh b/firmware/configs/arduino.sh deleted file mode 100644 index 0088dd3..0000000 --- a/firmware/configs/arduino.sh +++ /dev/null @@ -1,7 +0,0 @@ -export mcu=atmega168 -export GCC=avr-gcc -export config=monitor -export platform=arduino -echo "Call this as 'source configs/arduino.sh'" -echo "Assumes an 8MHz Atmega328P by default." -echo "This port is utterly untested." diff --git a/firmware/configs/examples/bluetooth-nhb12b.sh b/firmware/configs/examples/bluetooth-nhb12b.sh deleted file mode 100644 index 0c52704..0000000 --- a/firmware/configs/examples/bluetooth-nhb12b.sh +++ /dev/null @@ -1,11 +0,0 @@ -# source this, then make as usual. - - -# This is for an NHB12B Next Hope Badge wired into an RN41 Bluetooth -# module. The DCO calibration is mandatory, and this device's chip -# happens to use 0x8F9E. Your chip will be different. - -export CFLAGS="-DSTATICDCO=0x8F9E" -export config="monitor nrf spi" -export mcu="msp430x2618" -export platform="nhb12b" diff --git a/firmware/lib/msp430f2617.c b/firmware/lib/msp430f2617.c new file mode 100644 index 0000000..b2aa30c --- /dev/null +++ b/firmware/lib/msp430f2617.c @@ -0,0 +1,5 @@ + +//platform.h will handle patching Port 5 to be Port 3. + + +#include "msp430f2618.c" -- 2.20.1