gnss_config.h.in 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _GNSS_CONFIG_H_
  13. #define _GNSS_CONFIG_H_
  14. // Auto generated. Don't edit it manually!
  15. #cmakedefine CONFIG_SUPPORT_GNSS
  16. #cmakedefine CONFIG_GPS_CHIP_VER_GREENEYE2
  17. #cmakedefine CONFIG_GPS_CHIP_VER_NONE
  18. #cmakedefine CONFIG_GPS_MODE_GPS_BD
  19. #cmakedefine CONFIG_GPS_MODE_GPS_GLONASS
  20. #cmakedefine CONFIG_GPS_TCARD_LOG_SUPPORT
  21. #cmakedefine CONFIG_GPS_MINI_LOG_SUPPORT
  22. #cmakedefine CONFIG_GPS_AGPS_SUPPORT_NONE
  23. #cmakedefine CONFIG_GPS_AGPS_SUPPORT_QX
  24. #cmakedefine CONFIG_GPS_AGPS_SUPPORT_SPRD_AGPS
  25. #cmakedefine CONFIG_GPS_TRANS_VIA_SIPC
  26. #cmakedefine CONFIG_GPS_TRANS_VIA_UART
  27. #cmakedefine CONFIG_GPS_SPREAD_ORBIT_SUPPORT
  28. #ifdef CONFIG_SUPPORT_GNSS
  29. #define GPS_SUPPORT
  30. #endif
  31. #ifdef CONFIG_GPS_CHIP_VER_GREENEYE2
  32. #define GPS_CHIP_VER_GREENEYE2
  33. #endif
  34. #ifdef CONFIG_GPS_MODE_GPS_BD
  35. #define GPS_MODE_GPS_BD
  36. #else
  37. #define GPS_MODE_GPS_GLONASS
  38. #endif
  39. #ifdef CONFIG_GPS_TCARD_LOG_SUPPORT
  40. #define GPS_TCARD_LOG_SUPPORT
  41. #endif
  42. #ifdef CONFIG_GPS_MINI_LOG_SUPPORT
  43. #define GPS_MINI_LOG_SUPPORT
  44. #endif
  45. #ifdef CONFIG_GPS_AGPS_SUPPORT_QX
  46. #define GPS_AGPS_SUPPORT_QX
  47. #endif
  48. #ifdef CONFIG_GPS_TRANS_VIA_SIPC
  49. #define GPS_TRANS_VIA_SIPC
  50. #else
  51. #define GPS_TRANS_VIA_UART
  52. #endif
  53. #ifdef CONFIG_GPS_SPREAD_ORBIT_SUPPORT
  54. #define GPS_SPREAD_ORBIT_SUPPORT
  55. #endif
  56. #define LOG_TAG_GNSS OSI_MAKE_LOG_TAG('G', 'N', 'S', 'S')
  57. #define GNSS_BASE_PATH "/gnss/"
  58. #define GNSS_TSXDAT_PATH GNSS_BASE_PATH"tsx.dat"
  59. #define GNSS_TXTXT_PATH GNSS_BASE_PATH"txdata.txt"
  60. #define FLASHCFG_GPS_PATH GNSS_BASE_PATH"FlashCfg_GPS.cg"
  61. #define FLASHCFG_GLO_PATH GNSS_BASE_PATH"FlashCfg_GLO.cg"
  62. #define FLASHCFG_BDS_PATH GNSS_BASE_PATH"FlashCfg_BDS.cg"
  63. #endif