Merge pull request #4233 from xiaofengvskuye/master
修复NRF52840启用SPI驱动后编译错误问题
This commit is contained in:
commit
f2bfd34618
@ -325,6 +325,9 @@ menu "On-chip Peripheral Drivers"
|
|||||||
bool "Enable SPI0 bus"
|
bool "Enable SPI0 bus"
|
||||||
default y
|
default y
|
||||||
if BSP_USING_SPI0
|
if BSP_USING_SPI0
|
||||||
|
config NRFX_SPI0_ENABLED
|
||||||
|
int "Enable SPI0 instance"
|
||||||
|
default 1
|
||||||
config BSP_SPI0_SCK_PIN
|
config BSP_SPI0_SCK_PIN
|
||||||
int "SPI0 sck pin number set"
|
int "SPI0 sck pin number set"
|
||||||
range 0 47
|
range 0 47
|
||||||
@ -347,6 +350,9 @@ menu "On-chip Peripheral Drivers"
|
|||||||
bool "Enable SPI1 bus"
|
bool "Enable SPI1 bus"
|
||||||
default n
|
default n
|
||||||
if BSP_USING_SPI1
|
if BSP_USING_SPI1
|
||||||
|
config NRFX_SPI1_ENABLED
|
||||||
|
int "Enable SPI1 instance"
|
||||||
|
default 1
|
||||||
config BSP_SPI1_SCK_PIN
|
config BSP_SPI1_SCK_PIN
|
||||||
int "SPI0 sck pin number set"
|
int "SPI0 sck pin number set"
|
||||||
range 0 47
|
range 0 47
|
||||||
@ -369,6 +375,9 @@ menu "On-chip Peripheral Drivers"
|
|||||||
bool "Enable SPI2 bus"
|
bool "Enable SPI2 bus"
|
||||||
default n
|
default n
|
||||||
if BSP_USING_SPI2
|
if BSP_USING_SPI2
|
||||||
|
config NRFX_SPI2_ENABLED
|
||||||
|
int "Enable SPI2 instance"
|
||||||
|
default 1
|
||||||
config BSP_SPI2_SCK_PIN
|
config BSP_SPI2_SCK_PIN
|
||||||
int "SPI0 sck pin number set"
|
int "SPI0 sck pin number set"
|
||||||
range 0 47
|
range 0 47
|
||||||
|
Loading…
x
Reference in New Issue
Block a user