diff --git a/drivers/at/Kconfig b/drivers/at/Kconfig index d01af0e1a4..d85deca01c 100644 --- a/drivers/at/Kconfig +++ b/drivers/at/Kconfig @@ -4,6 +4,51 @@ # General Public License v2.1. See the file LICENSE in the top level # directory for more details. # + +menuconfig MODULE_AT + bool "AT (Hayes) command set library" + depends on HAS_PERIPH_UART + depends on TEST_KCONFIG + depends on MODULE_ISRPIPE + depends on MODULE_ISRPIPE_READ_TIMEOUT + select MODULE_FMT + select MODULE_PERIPH_UART + +if MODULE_AT + +config MODULE_AT_URC + bool "Support Unsolicited Result Codes (URC)" + +config MODULE_AT_URC_ISR + bool "Process URCs when they arrive" + depends on MODULE_AT_URC + depends on MODULE_EVENT_THREAD + +choice + bool "Thread priority" + depends on MODULE_AT_URC_ISR + default MODULE_AT_URC_ISR_MEDIUM + help + To process URCs upon arrival an event thread is used. The + MODULE_EVENT_THREAD symbol should be set. Choose a priority for the + thread that processes the URCs. + +config MODULE_AT_URC_ISR_LOW + bool "Low" + select MODULE_EVENT_THREAD_LOW + +config MODULE_AT_URC_ISR_MEDIUM + bool "Medium" + select MODULE_EVENT_THREAD_MEDIUM + +config MODULE_AT_URC_ISR_HIGHEST + bool "Highest" + select MODULE_EVENT_THREAD_HIGHEST + +endchoice + +endif # MODULE_AT + menuconfig KCONFIG_USEMODULE_AT bool "Configure AT driver" depends on USEMODULE_AT diff --git a/sys/isrpipe/Kconfig b/sys/isrpipe/Kconfig index dc4d8ce867..6519d4e328 100644 --- a/sys/isrpipe/Kconfig +++ b/sys/isrpipe/Kconfig @@ -14,4 +14,5 @@ menuconfig MODULE_ISRPIPE config MODULE_ISRPIPE_READ_TIMEOUT bool "ISR Pipe read with timeout" - depends on MODULE_ISRPIPE && MODULE_XTIMER + depends on MODULE_ISRPIPE + select MODULE_XTIMER