[Tinyos-2-commits] CVS: tinyos-2.x/support/make/tinynode bsl.extra, NONE, 1.1.4.2 digi.extra, NONE, 1.1.4.2 flash.gdb.in, NONE, 1.1.4.2 gdb.extra, NONE, 1.1.4.2 init.gdb.in, NONE, 1.1.4.2 noflash.extra, NONE, 1.1.4.2 noflash.gdb.in, NONE, 1.1.4.2 tinynode.rules, NONE, 1.1.4.2 xedebug.in, NONE, 1.1.4.2

Kevin Klues klueska at users.sourceforge.net
Mon May 15 11:35:31 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/support/make/tinynode
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18756/support/make/tinynode

Added Files:
      Tag: tos-2-resource-pm-eval-cand
	bsl.extra digi.extra flash.gdb.in gdb.extra init.gdb.in 
	noflash.extra noflash.gdb.in tinynode.rules xedebug.in 
Log Message:
Merging the development branch with the resource/power management evaluation branch.  After this merge all files except those already commited should be identical.

--- NEW FILE: bsl.extra ---
#-*-Makefile-*- vim:syntax=make
#$Id: bsl.extra,v 1.1.4.2 2006/05/15 18:35:28 klueska Exp $

MSP_BSL_FLAGS += --invert-reset


--- NEW FILE: digi.extra ---
#-*-Makefile-*- vim:syntax=make
#$Id: digi.extra,v 1.1.4.2 2006/05/15 18:35:28 klueska Exp $

MSP_BSL_FLAGS = --slow --invert-test


--- NEW FILE: flash.gdb.in ---
# Erase and program flash.
monitor erase all
load @EXE@

# Reset the chip to get to a known state.
monitor reset
flushregs

--- NEW FILE: gdb.extra ---
#-*-Makefile-*- 
PROGRAM = gdb

INIT_GDB = $(call TOSMake_find,tinynode/init.gdb.in)

FLASH_GDB ?= $(call TOSMake_find,tinynode/flash.gdb.in)
FLASH_GDB_NO_E ?= $(call TOSMake_find,tinynode/flashnoerase.gdb.in)

PROXY_HOST ?= localhost
ifdef BATCH
	GDB_ARGS = -batch
endif


program:	FORCE
	cat $(INIT_GDB) $(FLASH_GDB) $(GDB_SCRIPT) | sed -e "s/@HOST@/$(PROXY_HOST)/g" -e "s#@EXE@#$(MAIN_EXE)#g" -e "s#@PROMPT@#msp-gdb $(COMPONENT)#g"> build/init.gdb;	\
	msp430-gdb $(GDB_ARGS) -silent -x build/init.gdb -se $(MAIN_EXE);				\
 
program_no_e: FORCE
	@echo "    ...done"

program_bl: FORCE
	@echo "    installing $(PLATFORM) bootloader using gdb"
	@echo "    installing $(PLATFORM) binary using gdb (without mass erase)"
	cat $(INIT_GDB) $(FLASH_GDB) $(FLASH_GDB_NO_E) $(GDB_SCRIPT) | sed -e "s/@HOST@/$(PROXY_HOST)/g" -e "s#@EXE@#$(BOOTLOADER)#g" -e "s#@MAIN@#$(MAIN_EXE)#g" -e "s#@PROMPT@#msp-gdb $(COMPONENT)#g"> build/init.gdb;	\
	msp430-gdb $(GDB_ARGS) -silent -x build/init.gdb -se $(MAIN_EXE);
--- NEW FILE: init.gdb.in ---
set complaints 1
#set output-radix 16
#set input-radix 16

dir .
set prompt (@PROMPT@) 

# Various personal settings
display/i $pc

# Connect to msp430-gdbproxy.
set remoteaddresssize 16
set remotetimeout 999999
target remote @HOST@:3333

# Increase the packet size to improve upload speed.
set remote memory-read-packet-size 1024
set remote memory-read-packet-size fixed
set remote memory-write-packet-size 1024
set remote memory-write-packet-size fixed

b 'XE1205PhyP$xe1205error' 
b 'XE1205SpiImplP$xe1205error' 
b 'XE1205SendReceiveP$xe1205error' 
b 'XE1205IrqConfP$xe1205error' 
b 'XE1205PhyRssiConfP$xe1205error' 
#b 'TestXE1205C$xe1205error'

--- NEW FILE: noflash.extra ---
FLASH_GDB = $(call TOSMake_find,tinynode/noflash.gdb.in)

--- NEW FILE: noflash.gdb.in ---
# Reset the chip to get to a known state.
monitor reset
flushregs

--- NEW FILE: tinynode.rules ---
ifndef NOWIRING
include $(TINYOS_MAKE_PATH)/wiring.extra
endif

--- NEW FILE: xedebug.in ---
b 'XE1205PhyP$xe1205error' 
b 'XE1205SpiImplP$xe1205error' 
b 'XE1205IrqConfP$xe1205error' 



More information about the Tinyos-2-commits mailing list