arch/{nrf52|nrf53}/Kconfig: hide I2C_MASTER options if I2C_MASTER not enabled
This commit is contained in:
parent
a3b91bc183
commit
81b0ae064c
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user