add i2c support for GPS (to be tested)

This commit is contained in:
Pascal Brisset
2009-10-12 09:00:31 +00:00
parent 30f9a8b266
commit c48c0ff74f
4 changed files with 160 additions and 42 deletions
+6 -1
View File
@@ -1,12 +1,17 @@
<!DOCTYPE module SYSTEM "module.dtd">
<!-- to be configured with
ap.CFLAGS += -DGPS -DUBX -DGPS_LINK=gps_i2c -DGPS_LED=2
ap.CFLAGS += -DGPS_CONFIGURE -DGPS_PORT_ID=GPS_PORT_DDC
-->
<module name="gps_i2c">
<header>
<file name="gps_i2c.h"/>
</header>
<init fun="gps_i2c_init()"/>
<periodic fun="gps_i2c_periodic()" freq="4." delay="4" autorun="TRUE"/>
<event fun="gps_i2c_event()"/>
<event fun="gps_i2cEvent()"/>
<makefile target="ap">
<file name="gps_i2c.c"/>
</makefile>