boards: cxd56xx: Register cxd5610 gnss driver
Register device file for cxd5610 gnss driver.
This commit is contained in:
parent
0ee2bb51b8
commit
2f1b4a49ce
|
@ -66,6 +66,7 @@
|
|||
#include "cxd56_rpr0521rs.h"
|
||||
#include "cxd56_scd41.h"
|
||||
#include "cxd56_sensors.h"
|
||||
#include "cxd56_gnss_addon.h"
|
||||
|
||||
#ifdef CONFIG_VIDEO_ISX012
|
||||
# include "cxd56_isx012.h"
|
||||
|
|
|
@ -493,6 +493,14 @@ int cxd56_bringup(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_CXD56_GNSS_ADDON) && !defined(CONFIG_CXD56_GNSS_ADDON_LATE_INITIALIZE)
|
||||
ret = board_gnss_addon_initialize("/dev/gps2", 0);
|
||||
if (ret < 0)
|
||||
{
|
||||
_err("ERROR: Failed to initialize gnss addon.\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CXD56_GEOFENCE
|
||||
ret = cxd56_geofenceinitialize("/dev/geofence");
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Reference in New Issue