Kconfig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. menuconfig RT_USING_RTC
  2. bool "Using RTC device drivers"
  3. default n
  4. if RT_USING_RTC
  5. config RT_USING_ALARM
  6. bool "Using RTC alarm"
  7. default n
  8. if RT_USING_ALARM
  9. config RT_ALARM_STACK_SIZE
  10. int "stack size for alarm thread"
  11. default IDLE_THREAD_STACK_SIZE
  12. config RT_ALARM_TIMESLICE
  13. int "timeslice for alarm thread"
  14. default 5
  15. config RT_ALARM_PRIORITY
  16. int "priority for alarm thread"
  17. default 10
  18. config RT_ALARM_USING_LOCAL_TIME
  19. bool "Using local time for the alarm calculation"
  20. default n
  21. depends on RT_USING_ALARM
  22. endif
  23. config RT_USING_SOFT_RTC
  24. bool "Using software simulation RTC device"
  25. default n
  26. endif
  27. config RT_RTC_DS1302
  28. bool "Dallas/Maxim DS1302"
  29. depends on RT_USING_DM
  30. depends on RT_USING_RTC
  31. depends on RT_USING_SPI
  32. default n
  33. config RT_RTC_DS1307
  34. bool "Dallas/Maxim DS1307/37/38/39/40, ST M41T11"
  35. depends on RT_USING_DM
  36. depends on RT_USING_RTC
  37. depends on RT_USING_I2C
  38. default n
  39. config RT_RTC_GOLDFISH
  40. bool "Goldfish Real Time Clock"
  41. depends on RT_USING_DM
  42. depends on RT_USING_RTC
  43. default n
  44. config RT_RTC_HYM8563
  45. bool "Haoyu Microelectronics HYM8563"
  46. depends on RT_USING_DM
  47. depends on RT_USING_RTC
  48. depends on RT_USING_I2C
  49. default n
  50. config RT_RTC_PCF8523
  51. bool "NXP PCF8523"
  52. depends on RT_USING_DM
  53. depends on RT_USING_RTC
  54. depends on RT_USING_I2C
  55. default n
  56. config RT_RTC_PCF8563
  57. bool "Philips PCF8563/Epson RTC8564"
  58. depends on RT_USING_DM
  59. depends on RT_USING_RTC
  60. depends on RT_USING_I2C
  61. default n
  62. config RT_RTC_PL031
  63. bool "ARM PL031"
  64. depends on RT_USING_DM
  65. depends on RT_USING_RTC
  66. default n
  67. config RT_RTC_RX8010
  68. bool "Epson RX8010SJ"
  69. depends on RT_USING_DM
  70. depends on RT_USING_RTC
  71. depends on RT_USING_I2C
  72. default n
  73. if RT_USING_DM && RT_USING_RTC
  74. osource "$(SOC_DM_RTC_DIR)/Kconfig"
  75. endif