Refactored the power commands out from the sky-specific shell commands into its own module. Also added compower idle consumption in the energy and power reports.

This commit is contained in:
adamdunkels 2009-03-05 21:12:02 +00:00
parent dc7491f810
commit a3daf1d3cc
5 changed files with 319 additions and 199 deletions

View file

@ -5,7 +5,8 @@ shell_src = shell.c shell-reboot.c \
shell-rime-ping.c shell-rime-sniff.c shell-rime-netcmd.c \
shell-rime-debug.c shell-coffee.c \
shell-wget.c shell-httpd.c shell-irc.c \
shell-checkpoint.c
shell-checkpoint.c shell-power.c \
# shell-netcat.c
#shell-rsh.c
shell_dsc = shell-dsc.c
@ -27,6 +28,12 @@ ifndef PLATFORM_BUILD
override irc_src = ircc.c psock.c ircc-strings.c
endif
APPS += telnet
include $(CONTIKI)/apps/telnet/Makefile.telnet
ifndef PLATFORM_BUILD
override telnet_src = telnet.c
endif
ifeq ($(TARGET),sky)
shell_src += shell-sky.c shell-exec.c
endif