diag_config.h.in 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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 _DIAG_CONFIG_H_
  13. #define _DIAG_CONFIG_H_
  14. // @AUTO_GENERATION_NOTICE@
  15. /**
  16. * whether diag is enabled
  17. */
  18. #cmakedefine CONFIG_DIAG_ENABLED
  19. /**
  20. * diag default uart device
  21. */
  22. #cmakedefine CONFIG_DIAG_DEFAULT_UART @CONFIG_DIAG_DEFAULT_UART@
  23. /**
  24. * diag uart default baud rate
  25. */
  26. #cmakedefine CONFIG_DIAG_DEFAULT_UART_BAUD @CONFIG_DIAG_DEFAULT_UART_BAUD@
  27. /**
  28. * whether diag through usb serial is supported
  29. */
  30. #cmakedefine CONFIG_DIAG_DEVICE_USRL_SUPPORT
  31. /**
  32. * diag default usb serial device
  33. */
  34. #cmakedefine CONFIG_DIAG_DEFAULT_USERIAL @CONFIG_DIAG_DEFAULT_USERIAL@
  35. /**
  36. * pre-allocated buffer size
  37. */
  38. #cmakedefine CONFIG_DIAG_INBUF_SIZE @CONFIG_DIAG_INBUF_SIZE@
  39. /**
  40. * diag port debug support
  41. */
  42. #cmakedefine CONFIG_DIAG_DEBUG_SUPPORT
  43. /**
  44. * diag support enc data used static buffer.
  45. * solve the issue of not being able to download bluescreen when OOM.
  46. */
  47. #cmakedefine CONFIG_DIAG_ENC_BUF_STATIC
  48. /**
  49. * diag bt autotest support
  50. */
  51. #cmakedefine CONFIG_DIAG_BT_AUTOTEST_SUPPORT
  52. #endif