arch/{nrf52|nrf53}/Kconfig: hide I2C_MASTER options if I2C_MASTER not enabled

This commit is contained in:
raiden00pl 2023-05-31 17:23:56 +02:00 committed by Petro Karashchenko
parent a3b91bc183
commit 81b0ae064c
2 changed files with 8 additions and 0 deletions

View File

@ -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"

View File

@ -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"