Remote GPS via intermcu. Parses the IMCU_REMOTE_GPS message and publishes it onboard via ABI. gps,@datalink gps
ifdef SECONDARY_GPS ifneq (,$(findstring $(SECONDARY_GPS), intermcu)) # this is the secondary GPS $(TARGET).CFLAGS += -DGPS_SECONDARY_TYPE_H=\"modules/gps/gps_intermcu.h\" $(TARGET).CFLAGS += -DSECONDARY_GPS=GPS_IMCU else $(TARGET).CFLAGS += -DGPS_TYPE_H=\"modules/gps/gps_intermcu.h\" $(TARGET).CFLAGS += -DPRIMARY_GPS=GPS_IMCU endif else # plain old single GPS usage $(TARGET).CFLAGS += -DGPS_TYPE_H=\"modules/gps/gps_intermcu.h\" endif