[tuxdroid-svn] r483 - firmware/tuxdefs
Status: Beta
Brought to you by:
ks156
From: jaguarondi <c2m...@c2...> - 2007-09-05 15:21:47
|
Author: jaguarondi Date: 2007-09-05 17:21:44 +0200 (Wed, 05 Sep 2007) New Revision: 483 Modified: firmware/tuxdefs/commands.h firmware/tuxdefs/config.h firmware/tuxdefs/remote.h Log: * Updated the tuxdefs headers and licenses. * Removed the test enums. Modified: firmware/tuxdefs/commands.h =================================================================== --- firmware/tuxdefs/commands.h 2007-09-05 15:20:40 UTC (rev 482) +++ firmware/tuxdefs/commands.h 2007-09-05 15:21:44 UTC (rev 483) @@ -1,5 +1,5 @@ /* - * TUXCORE - Firmware for the 'core' CPU of tuxdroid + * TUXDEFS - Common defines used by the firmware and daemon of tuxdroid * Copyright (C) 2007 C2ME S.A. <tux...@c2...> * * This program is free software; you can redistribute it and/or modify @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: */ +/* $Id$*/ #ifndef _COMMAND_H_ #define _COMMAND_H_ @@ -361,34 +361,4 @@ #define RESERVED 0 -/* - * Test commands - */ - -#define TEST_MODE_CMD 0xB8 -/* 1st parameter: core CPU test mode */ - -enum test_mode_b_t -{ - BT_NO_TEST, /* run in normal mode, no tests activated */ - BT_TEST_ALL, /* production tests, enable spinning while plugged, continuous light measurement */ - BT_REMOTE, /* use the remote control to control movements and sounds of tux */ - BT_MBTEST, /* test of the MB naked */ - BT_MBTEST0, - BT_MBTEST1, - BT_MBTEST2, - BT_MBTEST3, -}; - -/* 2nd parameter: TUXAUDIO CPU test mode */ -enum test_mode_a_t -{ - AT_NO_TEST, /* run in normal mode, no tests activated */ - AT_NOSTATUSUP, /* flush the status buffer all the time so the I2C bus is running freely even without any RF connected */ - AT_MBTEST, /* test the flash,sends an acknowledge and enters audio link mode */ - AT_MBTEST1, - AT_MBTEST2, - AT_AUDIOLINK, /* link the microphone output to the speaker */ -}; - #endif /* _COMMAND_H_ */ Modified: firmware/tuxdefs/config.h =================================================================== --- firmware/tuxdefs/config.h 2007-09-05 15:20:40 UTC (rev 482) +++ firmware/tuxdefs/config.h 2007-09-05 15:21:44 UTC (rev 483) @@ -1,12 +1,24 @@ - -/* KySoH iTux agent +/* + * TUXDEFS - Common defines used by the firmware and daemon of tuxdroid + * Copyright (C) 2007 C2ME S.A. <tux...@c2...> * - * Config options for tux - * David Bourgeois - * -------------------------------------------------------- - * $Id$ + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +/* $Id$*/ + #ifndef _CONFIG_H_ #define _CONFIG_H_ Modified: firmware/tuxdefs/remote.h =================================================================== --- firmware/tuxdefs/remote.h 2007-09-05 15:20:40 UTC (rev 482) +++ firmware/tuxdefs/remote.h 2007-09-05 15:21:44 UTC (rev 483) @@ -1,12 +1,24 @@ - -/* KySoH iTux agent +/* + * TUXDEFS - Common defines used by the firmware and daemon of tuxdroid + * Copyright (C) 2007 C2ME S.A. <tux...@c2...> * - * General command listing - * David Bourgeois - * -------------------------------------------------------- - * $Id$ + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +/* $Id$*/ + #ifndef _REMOTE_H_ #define _REMOTE_H_ |