mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-26 14:54:35 +08:00
[drivers/spi]统一软件SPI配置
This commit is contained in:
@@ -7,10 +7,8 @@ src = ['dev_spi_core.c', 'dev_spi.c']
|
||||
CPPPATH = [cwd, cwd + '/../include']
|
||||
LOCAL_CFLAGS = ''
|
||||
|
||||
if GetDepend('RT_USING_SPI_BITOPS'):
|
||||
src += ['dev_spi_bit_ops.c']
|
||||
|
||||
if GetDepend('RT_USING_SOFT_SPI'):
|
||||
src += ['dev_spi_bit_ops.c']
|
||||
src += ['dev_soft_spi.c']
|
||||
|
||||
if GetDepend('RT_USING_QSPI'):
|
||||
|
||||
Reference in New Issue
Block a user