* added "jam term" target, launches a terminal
This commit is contained in:
parent
315f99af16
commit
94ffbb12eb
1
Jamfile
1
Jamfile
@ -60,6 +60,7 @@ LOCATE on $(TARGET:S=.hex) = bin ;
|
|||||||
Doc doc ; # build the documentation
|
Doc doc ; # build the documentation
|
||||||
Flash flash : $(TARGET:S=.hex) ;
|
Flash flash : $(TARGET:S=.hex) ;
|
||||||
Reset reset ;
|
Reset reset ;
|
||||||
|
Terminal term ;
|
||||||
|
|
||||||
Debug debug : $(TARGET) ;
|
Debug debug : $(TARGET) ;
|
||||||
ListModules listmodules ;
|
ListModules listmodules ;
|
||||||
|
|||||||
2
Jamrules
2
Jamrules
@ -39,6 +39,8 @@ SUFFIX ?= "" ; # must be at least "" !!!
|
|||||||
TARGET = "$(BOARD)-$(PROJECT)$(SUFFIX)$(SUFEXE)" ; # main target binary
|
TARGET = "$(BOARD)-$(PROJECT)$(SUFFIX)$(SUFEXE)" ; # main target binary
|
||||||
OPENOCD_IF ?= olimex-jtag-tiny-a ;
|
OPENOCD_IF ?= olimex-jtag-tiny-a ;
|
||||||
|
|
||||||
|
TERMINAL ?= board/msba2/tools/bin/pseudoterm ;
|
||||||
|
|
||||||
if $(NT) || $(OS) = CYGWIN {
|
if $(NT) || $(OS) = CYGWIN {
|
||||||
PORT = $(PORT:E=1) ;
|
PORT = $(PORT:E=1) ;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@ -175,6 +175,13 @@ actions Reset
|
|||||||
$(RESET) > /dev/null 2>&1
|
$(RESET) > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# run a terminal
|
||||||
|
#
|
||||||
|
actions Terminal
|
||||||
|
{
|
||||||
|
$(TERMINAL) $(TERMOPTS) $(PORT)
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Run debug server
|
# Run debug server
|
||||||
rule Debug
|
rule Debug
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user