diff options
| author | xiaofengvskuye <[email protected]> | 2021-01-12 16:12:24 +0800 |
|---|---|---|
| committer | tongwenfei <[email protected]> | 2021-01-12 16:16:28 +0800 |
| commit | 9271f66273df450eb88b5c57a717adc9b2f690cd (patch) | |
| tree | bf06483aedcc3eff9691c693bccb4424b48752ad /bsp | |
| parent | 6742f9a3abd4f51d89406831c6b3a5cd0113644f (diff) | |
修复NRF52840启用SPI驱动后编译错误问题
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/nrf5x/nrf52840/board/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bsp/nrf5x/nrf52840/board/Kconfig b/bsp/nrf5x/nrf52840/board/Kconfig index 94715c0bb9..c49ae1f44f 100644 --- a/bsp/nrf5x/nrf52840/board/Kconfig +++ b/bsp/nrf5x/nrf52840/board/Kconfig @@ -325,6 +325,9 @@ menu "On-chip Peripheral Drivers" bool "Enable SPI0 bus" default y if BSP_USING_SPI0 + config NRFX_SPI0_ENABLED + int "Enable SPI0 instance" + default 1 config BSP_SPI0_SCK_PIN int "SPI0 sck pin number set" range 0 47 @@ -347,6 +350,9 @@ menu "On-chip Peripheral Drivers" bool "Enable SPI1 bus" default n if BSP_USING_SPI1 + config NRFX_SPI1_ENABLED + int "Enable SPI1 instance" + default 1 config BSP_SPI1_SCK_PIN int "SPI0 sck pin number set" range 0 47 @@ -369,6 +375,9 @@ menu "On-chip Peripheral Drivers" bool "Enable SPI2 bus" default n if BSP_USING_SPI2 + config NRFX_SPI2_ENABLED + int "Enable SPI2 instance" + default 1 config BSP_SPI2_SCK_PIN int "SPI0 sck pin number set" range 0 47 |
