From 355b501126bdd534fc156d6b4ed379a6b886ef4d Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 20 Jan 2022 22:23:45 +0100 Subject: [PATCH] driver: show TWAI config menu only if TWAI is supported --- components/driver/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/components/driver/Kconfig b/components/driver/Kconfig index 9d132f9c00..f25bc53978 100644 --- a/components/driver/Kconfig +++ b/components/driver/Kconfig @@ -86,6 +86,7 @@ menu "Driver configurations" endmenu # SPI Configuration menu "TWAI configuration" + depends on SOC_TWAI_SUPPORTED config TWAI_ISR_IN_IRAM bool "Place TWAI ISR function into IRAM"