diff --git a/arch/arm/src/nrf52/Kconfig b/arch/arm/src/nrf52/Kconfig index 6b44e4af407..3dcc9a42857 100644 --- a/arch/arm/src/nrf52/Kconfig +++ b/arch/arm/src/nrf52/Kconfig @@ -691,6 +691,8 @@ endmenu menu "I2C Master Configuration" +if NRF52_I2C_MASTER + config NRF52_I2C_MASTER_DISABLE_NOSTART bool "Disable the I2C Master NOSTART flag support" default n @@ -714,6 +716,8 @@ config NRF52_I2C_MASTER_COPY_BUF_SIZE transaction will fit otherwise it will fall back on malloc. +endif # NRF52_I2C_MASTER + endmenu menu "QSPI Configuration" diff --git a/arch/arm/src/nrf53/Kconfig b/arch/arm/src/nrf53/Kconfig index 6250478dc64..6dcfe70b41b 100644 --- a/arch/arm/src/nrf53/Kconfig +++ b/arch/arm/src/nrf53/Kconfig @@ -658,6 +658,8 @@ endmenu # GPIO Interrupt Configuration menu "I2C Master Configuration" +if NRF53_I2C_MASTER + config NRF53_I2C_MASTER_DISABLE_NOSTART bool "Disable the I2C Master NOSTART flag support" default n @@ -681,6 +683,8 @@ config NRF53_I2C_MASTER_COPY_BUF_SIZE transaction will fit otherwise it will fall back on malloc. +endif # NRF53_I2C_MASTER + endmenu menu "QSPI Configuration"