mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-28 09:58:23 +08:00
add i2c support for GPS (to be tested)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user