mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +08:00
[modules] gps_ubx_i2c: depends on gps_ublox
also set default to i2c1
This commit is contained in:
@@ -5,9 +5,11 @@
|
|||||||
<description>
|
<description>
|
||||||
U-blox GPS (I2C)
|
U-blox GPS (I2C)
|
||||||
</description>
|
</description>
|
||||||
<configure name="GPS_UBX_I2C_DEV" value="i2cX" description="set i2c peripheral (default: i2c0)"/>
|
<configure name="GPS_UBX_I2C_DEV" value="i2cX" description="set i2c peripheral (default: i2c1)"/>
|
||||||
</doc>
|
</doc>
|
||||||
|
|
||||||
|
<depends>gps_ublox</depends>
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<file name="gps_ubx_i2c.h"/>
|
<file name="gps_ubx_i2c.h"/>
|
||||||
</header>
|
</header>
|
||||||
@@ -16,7 +18,7 @@
|
|||||||
<event fun="GpsUbxi2cEvent()"/>
|
<event fun="GpsUbxi2cEvent()"/>
|
||||||
|
|
||||||
<makefile>
|
<makefile>
|
||||||
<configure name="GPS_UBX_I2C_DEV" default="i2c2" case="upper|lower"/>
|
<configure name="GPS_UBX_I2C_DEV" default="i2c1" case="upper|lower"/>
|
||||||
<define name="USE_$(GPS_UBX_I2C_DEV_UPPER)"/>
|
<define name="USE_$(GPS_UBX_I2C_DEV_UPPER)"/>
|
||||||
<define name="GPS_UBX_I2C_DEV" value="$(GPS_UBX_I2C_DEV_LOWER)"/>
|
<define name="GPS_UBX_I2C_DEV" value="$(GPS_UBX_I2C_DEV_LOWER)"/>
|
||||||
<define name="GPS_I2C"/>
|
<define name="GPS_I2C"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user