logo       

bagder: firmware/export config-gmini120.h, 1.4, 1.5 config-ondiofm.h, 1.19,: msg#00182

systems.archos.rockbox.cvs

Subject: bagder: firmware/export config-gmini120.h, 1.4, 1.5 config-ondiofm.h, 1.19, 1.20 config-ondiosp.h, 1.19, 1.20 config.h, 1.17, 1.18

Update of /cvsroot/rockbox/firmware/export
In directory labb:/tmp/cvs-serv11980/export

Modified Files:
config-gmini120.h config-ondiofm.h config-ondiosp.h config.h
Log Message:
introducing CONFIG_I2C for kind of I2C in use


Index: config.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- config.h 10 Jan 2005 22:03:05 -0000 1.17
+++ config.h 27 Jan 2005 12:16:45 -0000 1.18
@@ -60,6 +60,11 @@
#define BL_PA14_HI 2 /* Ondio, PA14 high active */
#define BL_IRIVER 3 /* IRiver GPIO */

+/* CONFIG_I2C */
+#define I2C_PLAYREC 0 /* Archos Player/Recorder style */
+#define I2C_ONDIO 1 /* Ondio style */
+#define I2C_GMINI 2 /* Gmini style */
+
/* now go and pick yours */
#if defined(ARCHOS_PLAYER)
#include "config-player.h"

Index: config-gmini120.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config-gmini120.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- config-gmini120.h 23 Jan 2005 00:28:12 -0000 1.4
+++ config-gmini120.h 27 Jan 2005 12:16:45 -0000 1.5
@@ -22,6 +22,8 @@
/* Define this if you have a gmini 100 style LCD */
#define CONFIG_LCD LCD_GMINI100

+#define CONFIG_I2C I2C_GMINI
+
/* Type of mobile power, FIXME: probably different, make new type */
#define CONFIG_BATTERY BATT_LIION2200
#define BATTERY_SCALE_FACTOR 6465

Index: config-ondiosp.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config-ondiosp.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- config-ondiosp.h 10 Jan 2005 22:03:05 -0000 1.19
+++ config-ondiosp.h 27 Jan 2005 12:16:45 -0000 1.20
@@ -50,7 +50,7 @@
#define HAVE_DISPLAY_FLIPPED

/* Define this for different I2C pinout */
-#define HAVE_ONDIO_I2C
+#define CONFIG_I2C I2C_ONDIO

/* Define this for different ADC channel assignment */
#define HAVE_ONDIO_ADC

Index: config-ondiofm.h
===================================================================
RCS file: /cvsroot/rockbox/firmware/export/config-ondiofm.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- config-ondiofm.h 10 Jan 2005 22:03:05 -0000 1.19
+++ config-ondiofm.h 27 Jan 2005 12:16:45 -0000 1.20
@@ -22,6 +22,9 @@
/* Define this to the CPU frequency */
#define CPU_FREQ 12000000

+/* Define this for different I2C pinout */
+#define CONFIG_I2C I2C_ONDIO
+
/* Type of mobile power */
#define CONFIG_BATTERY BATT_3AAA_ALKALINE


_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise