SparkFun Forums 

Where electronics enthusiasts find answers.

Hardware or product specific questions are best asked here.
User avatar
By Skyveyor
#223892
Hello,

I could use a little help.

I have a redboard Artemis OLA and Ublox F9 Sparkfun Board. They are connected via qwic.

I have reviewed the OpenLog_Artemis_GNSS_Logger repository. I installed OpenLog_Artemis-V10-v19.bin

I am trying to compile and load OpenLog_Artemis_GNSS_Logging.ino with the IDE. I get the following error when I try to compile.

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\storeData.ino:368:23: note: suggested alternative: 'RTC'
myRTC.setTime(UBXbuffer[22], UBXbuffer[23], UBXbuffer[24], centis, UBXbuffer[21], UBXbuffer[20], (rtcYear - 2000)); //Set the RTC
^~~~~
RTC
Multiple libraries were found for "SdFat.h"
Used: C:\Users\User\Documents\Arduino\libraries\SdFat
Not used: C:\Users\User\Documents\Arduino\libraries\SdFat_-_Adafruit_Fork
exit status 1
no matching function for call to 'arduino::MbedI2C::MbedI2C(int)'

I have the board set to Red Board Artemis ATP

I am using the recommended Sparkfun Variable Loader.

I read installing the Apollo board installs all of the libraries but I don't know if I have all of the required libraries installed.

Any help is kindly appreciated.

Thank you
User avatar
By PaulZC
#223893
Hi David,
OpenLog Artemis currently only compiles under version 1.2.1 of the Apollo3 boards. We haven't been brave enough to upgrade to v2 - yet...
Hope all is well. Let me know if you need any more help,
Paul
User avatar
By Skyveyor
#223895
Paul,

I installed 1.2.1. I got the following error when compiled the code:
Code: Select all
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "SparkFun RedBoard Artemis ATP, 115200, SparkFun Variable Loader (Recommended)"

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino: In function 'bool beginSensors()':

Sensors:87:37: error: 'UBLOX_CFG_I2COUTPROT_UBX' was not declared in this scope

       gpsSensor_ublox.newCfgValset8(UBLOX_CFG_I2COUTPROT_UBX, VAL_LAYER_RAM | VAL_LAYER_BBR); // CFG-I2COUTPROT-UBX : Enable UBX output on the I2C port (in RAM and BBR)

                                     ^~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:87:37: note: suggested alternative: 'VAL_ID_I2COUTPROT_UBX'

       gpsSensor_ublox.newCfgValset8(UBLOX_CFG_I2COUTPROT_UBX, VAL_LAYER_RAM | VAL_LAYER_BBR); // CFG-I2COUTPROT-UBX : Enable UBX output on the I2C port (in RAM and BBR)

                                     ^~~~~~~~~~~~~~~~~~~~~~~~

                                     VAL_ID_I2COUTPROT_UBX

Sensors:88:37: error: 'UBLOX_CFG_I2COUTPROT_NMEA' was not declared in this scope

       gpsSensor_ublox.addCfgValset8(UBLOX_CFG_I2COUTPROT_NMEA, 0); // CFG-I2COUTPROT-NMEA : Disable NMEA output on the I2C port

                                     ^~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:88:37: note: suggested alternative: 'VAL_ID_I2COUTPROT_NMEA'

       gpsSensor_ublox.addCfgValset8(UBLOX_CFG_I2COUTPROT_NMEA, 0); // CFG-I2COUTPROT-NMEA : Disable NMEA output on the I2C port

                                     ^~~~~~~~~~~~~~~~~~~~~~~~~

                                     VAL_ID_I2COUTPROT_NMEA

Sensors:91:39: error: 'UBLOX_CFG_I2COUTPROT_RTCM3X' was not declared in this scope

         gpsSensor_ublox.addCfgValset8(UBLOX_CFG_I2COUTPROT_RTCM3X, 0); // CFG-I2COUTPROT-RTCM3X : Disable RTCM3 output on the I2C port (Precision modules only)

                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:91:39: note: suggested alternative: 'VAL_ID_I2COUTPROT_RTCM3'

         gpsSensor_ublox.addCfgValset8(UBLOX_CFG_I2COUTPROT_RTCM3X, 0); // CFG-I2COUTPROT-RTCM3X : Disable RTCM3 output on the I2C port (Precision modules only)

                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~

                                       VAL_ID_I2COUTPROT_RTCM3

Sensors:93:56: error: 'UBLOX_CFG_INFMSG_UBX_I2C' was not declared in this scope

       uint8_t success = gpsSensor_ublox.sendCfgValset8(UBLOX_CFG_INFMSG_UBX_I2C, 0, 2100); // CFG-INFMSG-UBX_I2C : Disable UBX INFo messages on the I2C port (maxWait 2100ms)

                                                        ^~~~~~~~~~~~~~~~~~~~~~~~

Sensors:115:43: error: 'UBLOX_CFG_USB_ENABLED' was not declared in this scope

         success = gpsSensor_ublox.setVal8(UBLOX_CFG_USB_ENABLED, 0, VAL_LAYER_RAM, 1100); // CFG-USB-ENABLED (in RAM only)

                                           ^~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:115:43: note: suggested alternative: 'UBX_CFG_USB'

         success = gpsSensor_ublox.setVal8(UBLOX_CFG_USB_ENABLED, 0, VAL_LAYER_RAM, 1100); // CFG-USB-ENABLED (in RAM only)

                                           ^~~~~~~~~~~~~~~~~~~~~

                                           UBX_CFG_USB

Sensors:135:43: error: 'UBLOX_CFG_UART1_ENABLED' was not declared in this scope

         success = gpsSensor_ublox.setVal8(UBLOX_CFG_UART1_ENABLED, 0, VAL_LAYER_RAM, 1100); // CFG-UART1-ENABLED (in RAM only)

                                           ^~~~~~~~~~~~~~~~~~~~~~~

Sensors:155:43: error: 'UBLOX_CFG_UART2_ENABLED' was not declared in this scope

         success = gpsSensor_ublox.setVal8(UBLOX_CFG_UART2_ENABLED, 0, VAL_LAYER_RAM, 1100); // CFG-UART2-ENABLED (in RAM only)

                                           ^~~~~~~~~~~~~~~~~~~~~~~

Sensors:175:43: error: 'UBLOX_CFG_SPI_ENABLED' was not declared in this scope

         success = gpsSensor_ublox.setVal8(UBLOX_CFG_SPI_ENABLED, 0, VAL_LAYER_RAM, 1100); // CFG-SPI-ENABLED (in RAM only)

                                           ^~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:175:43: note: suggested alternative: 'UBX_CFG_GEOFENCE'

         success = gpsSensor_ublox.setVal8(UBLOX_CFG_SPI_ENABLED, 0, VAL_LAYER_RAM, 1100); // CFG-SPI-ENABLED (in RAM only)

                                           ^~~~~~~~~~~~~~~~~~~~~

                                           UBX_CFG_GEOFENCE

Sensors:262:38: error: 'UBLOX_CFG_RATE_MEAS' was not declared in this scope

       gpsSensor_ublox.newCfgValset16(UBLOX_CFG_RATE_MEAS, measRate, VAL_LAYER_RAM); // CFG-RATE-MEAS : Configure measurement period (in RAM only)

                                      ^~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:262:38: note: suggested alternative: 'UBX_CFG_RATE'

       gpsSensor_ublox.newCfgValset16(UBLOX_CFG_RATE_MEAS, measRate, VAL_LAYER_RAM); // CFG-RATE-MEAS : Configure measurement period (in RAM only)

                                      ^~~~~~~~~~~~~~~~~~~

                                      UBX_CFG_RATE

Sensors:263:49: error: 'UBLOX_CFG_RATE_NAV' was not declared in this scope

       success = gpsSensor_ublox.sendCfgValset16(UBLOX_CFG_RATE_NAV, 1, 2100); // CFG-RATE-NAV : 1 measurement per navigation solution (maxWait 2100ms)

                                                 ^~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:263:49: note: suggested alternative: 'UBX_CFG_RATE'

       success = gpsSensor_ublox.sendCfgValset16(UBLOX_CFG_RATE_NAV, 1, 2100); // CFG-RATE-NAV : 1 measurement per navigation solution (maxWait 2100ms)

                                                 ^~~~~~~~~~~~~~~~~~

                                                 UBX_CFG_RATE

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino: In function 'uint8_t disableMessages(uint16_t)':

Sensors:464:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_CLOCK_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.newCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_CLOCK_I2C, 0, VAL_LAYER_RAM); // CFG-MSGOUT-UBX_NAV_CLOCK_I2C (in RAM only)

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:465:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_ATT_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_ATT_I2C, 0); // CFG-MSGOUT-UBX_NAV_ATT_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:466:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_DOP_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_DOP_I2C, 0); // CFG-MSGOUT-UBX_NAV_DOP_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:467:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_ODO_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_ODO_I2C, 0); // CFG-MSGOUT-UBX_NAV_ODO_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:468:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_POSECEF_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_POSECEF_I2C, 0); // CFG-MSGOUT-UBX_NAV_POSECEF_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:469:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_POSLLH_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_POSLLH_I2C, 0); // CFG-MSGOUT-UBX_NAV_POSLLH_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:470:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_PVT_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_PVT_I2C, 0); // CFG-MSGOUT-UBX_NAV_PVT_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:471:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_STATUS_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_STATUS_I2C, 0); // CFG-MSGOUT-UBX_NAV_STATUS_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:472:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_TIMEUTC_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_TIMEUTC_I2C, 0); // CFG-MSGOUT-UBX_NAV_TIMEUTC_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:473:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_VELECEF_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_VELECEF_I2C, 0); // CFG-MSGOUT-UBX_NAV_VELECEF_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:474:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_VELNED_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_VELNED_I2C, 0); // CFG-MSGOUT-UBX_NAV_VELNED_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:475:45: error: 'UBLOX_CFG_MSGOUT_UBX_RXM_SFRBX_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_RXM_SFRBX_I2C, 0); // CFG-MSGOUT-UBX_RXM_SFRBX_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:476:46: error: 'UBLOX_CFG_MSGOUT_UBX_TIM_TM2_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.sendCfgValset8(UBLOX_CFG_MSGOUT_UBX_TIM_TM2_I2C, 0, maxWait); // CFG-MSGOUT-UBX_TIM_TM2_I2C

                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:479:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSECEF_I2C' was not declared in this scope

   success2 &= gpsSensor_ublox.newCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSECEF_I2C, 0, VAL_LAYER_RAM); // CFG-MSGOUT-UBX_NAV_HPPOSECEF_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:480:46: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSLLH_I2C' was not declared in this scope

   success2 &= gpsSensor_ublox.sendCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSLLH_I2C, 0, maxWait); // CFG-MSGOUT-UBX_NAV_HPPOSLLH_I2C

                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:482:46: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_RELPOSNED_I2C' was not declared in this scope

   uint8_t success3 = gpsSensor_ublox.setVal8(UBLOX_CFG_MSGOUT_UBX_NAV_RELPOSNED_I2C, 0, VAL_LAYER_RAM, maxWait); // CFG-MSGOUT-UBX_NAV_RELPOSNED_I2C

                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:484:46: error: 'UBLOX_CFG_MSGOUT_UBX_RXM_RAWX_I2C' was not declared in this scope

   uint8_t success4 = gpsSensor_ublox.setVal8(UBLOX_CFG_MSGOUT_UBX_RXM_RAWX_I2C, 0, VAL_LAYER_RAM, maxWait); // CFG-MSGOUT-UBX_RXM_RAWX_I2C

                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino: In function 'uint8_t enableMessages(uint16_t)':

Sensors:510:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_CLOCK_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.newCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_CLOCK_I2C, settings.sensor_uBlox.logUBXNAVCLOCK, VAL_LAYER_RAM); // CFG-MSGOUT-UBX_NAV_CLOCK_I2C (in RAM only)

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:511:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_DOP_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_DOP_I2C, settings.sensor_uBlox.logUBXNAVDOP); // CFG-MSGOUT-UBX_NAV_DOP_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:512:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_ODO_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_ODO_I2C, settings.sensor_uBlox.logUBXNAVODO); // CFG-MSGOUT-UBX_NAV_ODO_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:513:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_POSECEF_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_POSECEF_I2C, settings.sensor_uBlox.logUBXNAVPOSECEF); // CFG-MSGOUT-UBX_NAV_POSECEF_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:514:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_POSLLH_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_POSLLH_I2C, settings.sensor_uBlox.logUBXNAVPOSLLH); // CFG-MSGOUT-UBX_NAV_POSLLH_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:515:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_PVT_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_PVT_I2C, settings.sensor_uBlox.logUBXNAVPVT); // CFG-MSGOUT-UBX_NAV_PVT_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:516:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_STATUS_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_STATUS_I2C, settings.sensor_uBlox.logUBXNAVSTATUS); // CFG-MSGOUT-UBX_NAV_STATUS_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:517:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_TIMEUTC_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_TIMEUTC_I2C, settings.sensor_uBlox.logUBXNAVTIMEUTC); // CFG-MSGOUT-UBX_NAV_TIMEUTC_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:518:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_VELECEF_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_VELECEF_I2C, settings.sensor_uBlox.logUBXNAVVELECEF); // CFG-MSGOUT-UBX_NAV_VELECEF_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:519:45: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_VELNED_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_VELNED_I2C, settings.sensor_uBlox.logUBXNAVVELNED); // CFG-MSGOUT-UBX_NAV_VELNED_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:520:45: error: 'UBLOX_CFG_MSGOUT_UBX_RXM_SFRBX_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_MSGOUT_UBX_RXM_SFRBX_I2C, settings.sensor_uBlox.logUBXRXMSFRBX); // CFG-MSGOUT-UBX_RXM_SFRBX_I2C

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:521:46: error: 'UBLOX_CFG_MSGOUT_UBX_TIM_TM2_I2C' was not declared in this scope

   success1 &= gpsSensor_ublox.sendCfgValset8(UBLOX_CFG_MSGOUT_UBX_TIM_TM2_I2C, settings.sensor_uBlox.logUBXTIMTM2, maxWait); // CFG-MSGOUT-UBX_TIM_TM2_I2C

                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:526:47: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSECEF_I2C' was not declared in this scope

     success2 &= gpsSensor_ublox.newCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSECEF_I2C, settings.sensor_uBlox.logUBXNAVHPPOSECEF, VAL_LAYER_RAM); // CFG-MSGOUT-UBX_NAV_HPPOSECEF_I2C

                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:527:48: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSLLH_I2C' was not declared in this scope

     success2 &= gpsSensor_ublox.sendCfgValset8(UBLOX_CFG_MSGOUT_UBX_NAV_HPPOSLLH_I2C, settings.sensor_uBlox.logUBXNAVHPPOSLLH, maxWait); // CFG-MSGOUT-UBX_NAV_HPPOSLLH_I2C

                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:533:40: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_RELPOSNED_I2C' was not declared in this scope

     success3 = gpsSensor_ublox.setVal8(UBLOX_CFG_MSGOUT_UBX_NAV_RELPOSNED_I2C, settings.sensor_uBlox.logUBXNAVRELPOSNED, VAL_LAYER_RAM, maxWait); // CFG-MSGOUT-UBX_NAV_RELPOSNED_I2C

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:539:40: error: 'UBLOX_CFG_MSGOUT_UBX_RXM_RAWX_I2C' was not declared in this scope

     success4 = gpsSensor_ublox.setVal8(UBLOX_CFG_MSGOUT_UBX_RXM_RAWX_I2C, settings.sensor_uBlox.logUBXRXMRAWX, VAL_LAYER_RAM, maxWait); // CFG-MSGOUT-UBX_RXM_RAWX_I2C

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sensors:545:40: error: 'UBLOX_CFG_MSGOUT_UBX_NAV_ATT_I2C' was not declared in this scope

     success5 = gpsSensor_ublox.setVal8(UBLOX_CFG_MSGOUT_UBX_NAV_ATT_I2C, settings.sensor_uBlox.logUBXNAVATT, VAL_LAYER_RAM, maxWait); // CFG-MSGOUT-UBX_NAV_ATT_I2C

                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino: In function 'uint8_t enableConstellations(uint16_t)':

Sensors:570:44: error: 'UBLOX_CFG_SIGNAL_GPS_ENA' was not declared in this scope

   success &= gpsSensor_ublox.newCfgValset8(UBLOX_CFG_SIGNAL_GPS_ENA, settings.sensor_uBlox.enableGPS, VAL_LAYER_RAM);  //CFG-SIGNAL-GPS_ENA   : Enable GPS (in RAM only)

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:570:44: note: suggested alternative: 'UBX_MGA_GPS_EPH'

   success &= gpsSensor_ublox.newCfgValset8(UBLOX_CFG_SIGNAL_GPS_ENA, settings.sensor_uBlox.enableGPS, VAL_LAYER_RAM);  //CFG-SIGNAL-GPS_ENA   : Enable GPS (in RAM only)

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

                                            UBX_MGA_GPS_EPH

Sensors:571:44: error: 'UBLOX_CFG_SIGNAL_GLO_ENA' was not declared in this scope

   success &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_SIGNAL_GLO_ENA, settings.sensor_uBlox.enableGLO);                 //CFG-SIGNAL-GLO_ENA   : Enable GLONASS

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:571:44: note: suggested alternative: 'UBX_MGA_GLO_EPH'

   success &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_SIGNAL_GLO_ENA, settings.sensor_uBlox.enableGLO);                 //CFG-SIGNAL-GLO_ENA   : Enable GLONASS

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

                                            UBX_MGA_GLO_EPH

Sensors:572:44: error: 'UBLOX_CFG_SIGNAL_GAL_ENA' was not declared in this scope

   success &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_SIGNAL_GAL_ENA, settings.sensor_uBlox.enableGAL);                 //CFG-SIGNAL-GAL_ENA   : Enable Galileo

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:572:44: note: suggested alternative: 'UBX_MGA_GAL_EPH'

   success &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_SIGNAL_GAL_ENA, settings.sensor_uBlox.enableGAL);                 //CFG-SIGNAL-GAL_ENA   : Enable Galileo

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

                                            UBX_MGA_GAL_EPH

Sensors:573:44: error: 'UBLOX_CFG_SIGNAL_BDS_ENA' was not declared in this scope

   success &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_SIGNAL_BDS_ENA, settings.sensor_uBlox.enableBDS);                 //CFG-SIGNAL-BDS_ENA   : Enable BeiDou

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:573:44: note: suggested alternative: 'UBX_MGA_BDS_EPH'

   success &= gpsSensor_ublox.addCfgValset8(UBLOX_CFG_SIGNAL_BDS_ENA, settings.sensor_uBlox.enableBDS);                 //CFG-SIGNAL-BDS_ENA   : Enable BeiDou

                                            ^~~~~~~~~~~~~~~~~~~~~~~~

                                            UBX_MGA_BDS_EPH

Sensors:574:45: error: 'UBLOX_CFG_SIGNAL_QZSS_ENA' was not declared in this scope

   success &= gpsSensor_ublox.sendCfgValset8(UBLOX_CFG_SIGNAL_QZSS_ENA, settings.sensor_uBlox.enableQZSS, maxWait);     //CFG-SIGNAL-QZSS_ENA  : Enable QZSS (maxWait 2100 ms)

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\Sensors.ino:574:45: note: suggested alternative: 'UBX_MGA_QZSS_EPH'

   success &= gpsSensor_ublox.sendCfgValset8(UBLOX_CFG_SIGNAL_QZSS_ENA, settings.sensor_uBlox.enableQZSS, maxWait);     //CFG-SIGNAL-QZSS_ENA  : Enable QZSS (maxWait 2100 ms)

                                             ^~~~~~~~~~~~~~~~~~~~~~~~~

                                             UBX_MGA_QZSS_EPH

C:\Users\User\Desktop\F9 Logger\Artemis Logger\OpenLog_Artemis_GNSS_Logger-master\Firmware\OpenLog_Artemis_GNSS_Logging\storeData.ino: In function 'bool storeData()':

storeData:183:60: error: 'class SFE_UBLOX_GPS' has no member named 'getI2CTransactionSize'

       uint16_t maxTransaction = (uint16_t)(gpsSensor_ublox.getI2CTransactionSize());

                                                            ^~~~~~~~~~~~~~~~~~~~~

Multiple libraries were found for "SdFat.h"

 Used: C:\Users\User\Documents\Arduino\libraries\SdFat

 Not used: C:\Users\User\Documents\Arduino\libraries\SdFat_-_Adafruit_Fork

exit status 1

'UBLOX_CFG_I2COUTPROT_UBX' was not declared in this scope



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
User avatar
By PaulZC
#223896
Hi David,
OLA now uses the shiny new version of the u-blox GNSS library. Click on the link in line 213 in OpenLog_Artemis.ino to install it:
https://github.com/sparkfun/OpenLog_Art ... s.ino#L213
You can have the old and new versions installed at the same time.
Old:
https://github.com/sparkfun/SparkFun_Ub ... no_Library
New and shiny:
https://github.com/sparkfun/SparkFun_u- ... no_Library
BW,
Paul
User avatar
By PaulZC
#223897
Sorry... Cancel that...
You're trying to compile the "GNSS Logger" version of the OLA code...
That one still uses the _old_ version...
https://github.com/sparkfun/OpenLog_Art ... g.ino#L175
Let me know if you hit more problems. I haven't built that version for a while and, really, it could do with being upgraded to the new u-blox library.
There are some examples here that might do what you are looking for?
https://github.com/sparkfun/SparkFun_u- ... ta_Logging
User avatar
By Skyveyor
#223899
Hey Paul,

I have both Arduino U-blox Libraries installed. And I am using DataLoggingExample3_RXM, SFRBX_and_RAWX.

When I compile I get CS was not declared in this scope.

Line 60.

Sorry I require so much assistance.

Dave
User avatar
By PaulZC
#223901
Hi Dave,
Not a problem.
The data logging examples are written for the MicroMod Artemis and MicroMod Data Logging Carrier Board.
You need to change CS (Chip Select) to match the pin on your OpenLog Artemis.
On the OLA, the CS pin is 23 or 10 depending on whether you have a Red V10 board or the older black X04 board (see pin definitions below).
Now then, thinking about this a bit more, you are about to run into more problems because on OLA you will also need to enable power for the Qwiic bus (so the GNSS has power), enable power for the SD card and enable the SPI CIPO pull-up.
The extra bits of code you need to copy and paste are:
https://github.com/sparkfun/OpenLog_Art ... #L106-L138
https://github.com/sparkfun/OpenLog_Art ... #L764-L766
https://github.com/sparkfun/OpenLog_Art ... #L819-L832
https://github.com/sparkfun/OpenLog_Art ... #L516-L546
I have an outstanding action to write a proper data logging example for OLA using the new u-blox GNSS library ( https://github.com/sparkfun/OpenLog_Artemis/issues/73 ) but I haven't got around to it yet... Sorry about that! I can't look at it right now, but I will try and get to it in a few days.
Best wishes,
Paul
User avatar
By Skyveyor
#223909
Paul,
I went back to OpenLog_Artemis_GNSS_Logging.ino with Apollo 1.2.1.

I also deleted an Adafruit_Fork for the SDFat and an old U_blox Library that may have created some conflicts. It compiled, uploaded and it's logging data as I type.

I really like the menu option through the serial terminal. That is really slick. Nice work!

I think I am logging everything I need to post process with RTKLIB. I am logging a 1hz and while probably not necessary I disabled outputs to SPI, UART1 and UART2.

Thanks for the great work and amazing customer support.

David
User avatar
By PaulZC
#223913
Thanks David - glad that's working for you,
I will try and get that dedicated example for OLA done soon - for my own piece of mind if nothing else!
Best wishes,
Paul
User avatar
By Skyveyor
#223944
Paul,

I am pleased to report the ubx file processed well with OPUS and RTKLIB. Everything is working well.

Thanks for your help, patience and a cool product.

Dave
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]