Takahide | 1 Sep 2007 02:49
Picon

contiki-2.x/core/sys cc.h,1.2,1.3

Update of /cvsroot/contiki/contiki-2.x/core/sys
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv29716/core/sys

Modified Files:
	cc.h 
Log Message:
Fixed a glitch of CC_CONF_ASSIGN_AGGREGATE.

Index: cc.h
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/core/sys/cc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cc.h	30 Aug 2007 14:39:17 -0000	1.2
--- cc.h	1 Sep 2007 00:49:41 -0000	1.3
***************
*** 106,110 ****
   */
  #ifdef CC_CONF_ASSIGN_AGGREGATE
! #define CC_ASSIGN_AGGREGATE(dest, src)	CC_ASSIGN_AGGREGATE(dest, src)
  #else /* CC_CONF_ASSIGN_AGGREGATE */
  #define CC_ASSIGN_AGGREGATE(dest, src)	*dest = *src
--- 106,110 ----
   */
  #ifdef CC_CONF_ASSIGN_AGGREGATE
! #define CC_ASSIGN_AGGREGATE(dest, src)	CC_CONF_ASSIGN_AGGREGATE(dest, src)
  #else /* CC_CONF_ASSIGN_AGGREGATE */
  #define CC_ASSIGN_AGGREGATE(dest, src)	*dest = *src

(Continue reading)

Takahide | 1 Sep 2007 02:56
Picon

contiki-2.x/apps/vnc vnc-viewer.c,1.2,1.3

Update of /cvsroot/contiki/contiki-2.x/apps/vnc
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31955/apps/vnc

Modified Files:
	vnc-viewer.c 
Log Message:
Followed a coding convention of contiki, in which cast operation should not be followed by a space char.

Index: vnc-viewer.c
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/apps/vnc/vnc-viewer.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** vnc-viewer.c	30 Aug 2007 14:39:17 -0000	1.2
--- vnc-viewer.c	1 Sep 2007 00:56:03 -0000	1.3
***************
*** 85,89 ****

    memset(vs, 0, sizeof(struct vnc_viewer_state));
!   conn = uip_connect((uip_ipaddr_t *) server, htons(5900 + display));
    if(conn == NULL) {
      return;
--- 85,89 ----

    memset(vs, 0, sizeof(struct vnc_viewer_state));
!   conn = uip_connect((uip_ipaddr_t *)server, htons(5900 + display));
    if(conn == NULL) {
      return;

(Continue reading)

Takahide | 1 Sep 2007 03:08
Picon

contiki-2.x/cpu/z80 mtarch.c,1.1,1.2

Update of /cvsroot/contiki/contiki-2.x/cpu/z80
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv4186/cpu/z80

Modified Files:
	mtarch.c 
Log Message:
Followed a coding convention of contiki, in which cast operation should not be followed by a space char.

Index: mtarch.c
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/cpu/z80/mtarch.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mtarch.c	30 Aug 2007 14:39:17 -0000	1.1
--- mtarch.c	1 Sep 2007 01:08:07 -0000	1.2
***************
*** 58,70 ****

    /* A parameter for method for thread function. */
!   *t->sp = (u16_t) data;
    --t-≥sp;

    /* This will be a return address of thread function. */
!   *t->sp = (u16_t) mt_exit;
    --t-≥sp;

    /* The thread function, is used as a return address of mtarch_switch. */
!   *t->sp = (u16_t) function;
    --t-≥sp;
(Continue reading)

Takahide | 1 Sep 2007 03:09
Picon

contiki-2.x/cpu/z80 mtarch.h,1.1,1.2

Update of /cvsroot/contiki/contiki-2.x/cpu/z80
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv4574/cpu/z80

Modified Files:
	mtarch.h 
Log Message:
Added some comments.

Index: mtarch.h
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/cpu/z80/mtarch.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mtarch.h	30 Aug 2007 14:39:16 -0000	1.1
--- mtarch.h	1 Sep 2007 01:09:25 -0000	1.2
***************
*** 34,38 ****
    * 
    * \author
!   *		Takahide Matsutsuka <markn@...>
    */
  #ifndef __MTARCH_H__
--- 34,38 ----
    * 
    * \author
!   *	Takahide Matsutsuka <markn@...>
    */
  #ifndef __MTARCH_H__
***************
(Continue reading)

Takahide | 1 Sep 2007 03:09
Picon

contiki-2.x/cpu/z80 strcasecmp.c,1.1,1.2

Update of /cvsroot/contiki/contiki-2.x/cpu/z80
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv4589/cpu/z80

Modified Files:
	strcasecmp.c 
Log Message:
Followed a coding convention of contiki, in which cast operation should not be followed by a space char.

Index: strcasecmp.c
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/cpu/z80/strcasecmp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** strcasecmp.c	30 Aug 2007 14:39:16 -0000	1.1
--- strcasecmp.c	1 Sep 2007 01:09:48 -0000	1.2
***************
*** 47,50 ****
      str2++;
    }
!   return tolower(*(unsigned char *) str1) - tolower(*(unsigned char *) str2);
  }
--- 47,50 ----
      str2++;
    }
!   return tolower(*(unsigned char *)str1) - tolower(*(unsigned char *)str2);
  }

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
(Continue reading)

Simon Berg | 1 Sep 2007 11:57
Picon

contiki-2.x/cpu/at91sam7s/usb - New directory

Update of /cvsroot/contiki/contiki-2.x/cpu/at91sam7s/usb
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31919/usb

Log Message:
Directory /cvsroot/contiki/contiki-2.x/cpu/at91sam7s/usb added to the repository

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Simon Berg | 1 Sep 2007 12:00
Picon

contiki-2.x/cpu/at91sam7s/usb cdc-acm.c, NONE, 1.1 cdc-acm.h, NONE, 1.1 cdc.h, NONE, 1.1 descriptors.c, NONE, 1.1 descriptors.h, NONE, 1.1 string-descriptors.dtd, NONE, 1.1 string-descriptors.h, NONE, 1.1 string-descriptors.xml, NONE, 1.1 string-descriptors.xslt, NONE, 1.1 usb-api.h, NONE, 1.1 usb-config.h, NONE, 1.1 usb-handler.c, NONE, 1.1 usb-interrupt.c, NONE, 1.1 usb-interrupt.h, NONE, 1.1 usb-proto.c, NONE, 1.1 usb-proto.h, NONE, 1.1 usb.h, NONE, 1.1

Update of /cvsroot/contiki/contiki-2.x/cpu/at91sam7s/usb
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv32639/usb

Added Files:
	cdc-acm.c cdc-acm.h cdc.h descriptors.c descriptors.h 
	string-descriptors.dtd string-descriptors.h 
	string-descriptors.xml string-descriptors.xslt usb-api.h 
	usb-config.h usb-handler.c usb-interrupt.c usb-interrupt.h 
	usb-proto.c usb-proto.h usb.h 
Log Message:
Added USB (specifically CDC-ACM) support


--- NEW FILE: string-descriptors.h ---
#include "usb.h"
struct usb_st_string_language_map
{
  Uint16 lang_id;
  const struct usb_st_string_descriptor * const *descriptors;
};

struct usb_st_string_languages
{
  Uchar num_lang;
  Uchar max_index;
  const struct usb_st_language_descriptor *lang_descr;
  const struct usb_st_string_language_map map[1];
};
  
extern const struct usb_st_string_languages * const string_languages;
(Continue reading)

Simon Berg | 1 Sep 2007 12:00
Picon

contiki-2.x/cpu/at91sam7s Makefile.at91sam7s, 1.3, 1.4

Update of /cvsroot/contiki/contiki-2.x/cpu/at91sam7s
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv32639

Modified Files:
	Makefile.at91sam7s 
Log Message:
Added USB (specifically CDC-ACM) support

Index: Makefile.at91sam7s
===================================================================
RCS file: /cvsroot/contiki/contiki-2.x/cpu/at91sam7s/Makefile.at91sam7s,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Makefile.at91sam7s	21 Aug 2007 09:03:55 -0000	1.3
--- Makefile.at91sam7s	1 Sep 2007 10:00:35 -0000	1.4
***************
*** 6,10 ****
  ### Define the source files we have in the AT91SAM7S port

! CONTIKI_CPU_DIRS = . dbg-io loader

  AT91SAM7S     = clock.c debug-uart.c interrupt-utils.c newlib-syscalls.c sys-interrupt.c
rtimer-arch.c rtimer-arch-interrupt.c uip-log.c
--- 6,10 ----
  ### Define the source files we have in the AT91SAM7S port

! CONTIKI_CPU_DIRS = . dbg-io loader usb

  AT91SAM7S     = clock.c debug-uart.c interrupt-utils.c newlib-syscalls.c sys-interrupt.c
(Continue reading)

Simon Berg | 1 Sep 2007 12:04
Picon

contiki-2.x/platform/stepper-robot/gateway - New directory

Update of /cvsroot/contiki/contiki-2.x/platform/stepper-robot/gateway
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2052/gateway

Log Message:
Directory /cvsroot/contiki/contiki-2.x/platform/stepper-robot/gateway added to the repository

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Simon Berg | 1 Sep 2007 12:06
Picon

contiki-2.x/platform/stepper-robot/gateway Makefile, NONE, 1.1 gateway.c, NONE, 1.1

Update of /cvsroot/contiki/contiki-2.x/platform/stepper-robot/gateway
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv2372

Added Files:
	Makefile gateway.c 
Log Message:
Added a gateway application the routes between SLIP on USB and the radio.

--- NEW FILE: gateway.c ---
#include <stdio.h>
#include <sys/etimer.h>
#include <sys/process.h>
#include <sys/autostart.h>
#include <usb/usb-api.h>
#include <usb/cdc-acm.h>
#include <dev/leds.h>
#include <debug-uart.h>

#include <net/uip-fw-drv.h>
#include <dev/slip.h>

/* SLIP interface */

extern struct uip_fw_netif cc2420if;

static struct uip_fw_netif slipif =
{UIP_FW_NETIF(0,0,0,0, 255,255,255,255, slip_send)};

/* USB buffers */
static unsigned char input_buffer[128];
(Continue reading)


Gmane