mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-19 07:23:36 +08:00
[nuvoton] Fix ordering and configuration.
1. Update module starting ordering. 2. Fix QSPI PDMA configuration.
This commit is contained in:
parent
6ec6285e1b
commit
5af9085966
@ -212,6 +212,6 @@ int rt_soft_i2c_init(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
INIT_BOARD_EXPORT(rt_soft_i2c_init);
|
||||
INIT_DEVICE_EXPORT(rt_soft_i2c_init);
|
||||
|
||||
#endif //#if (defined(BSP_USING_SOFT_I2C) && defined(BSP_USING_GPIO) && defined(RT_USING_I2C_BITOPS) && defined(RT_USING_I2C) && defined(RT_USING_PIN))
|
||||
|
@ -212,6 +212,6 @@ int rt_soft_i2c_init(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
INIT_BOARD_EXPORT(rt_soft_i2c_init);
|
||||
INIT_DEVICE_EXPORT(rt_soft_i2c_init);
|
||||
|
||||
#endif //#if (defined(BSP_USING_SOFT_I2C) && defined(BSP_USING_GPIO) && defined(RT_USING_I2C_BITOPS) && defined(RT_USING_I2C) && defined(RT_USING_PIN))
|
||||
|
@ -472,12 +472,17 @@ config SOC_SERIES_NUC980
|
||||
select BSP_USING_SPI
|
||||
|
||||
if BSP_USING_QSPI
|
||||
config BSP_USING_QSPI0
|
||||
bool "Enable QSPI0"
|
||||
config BSP_USING_QSPI_PDMA
|
||||
bool
|
||||
select BSP_USING_SPI_PDMA
|
||||
default n
|
||||
|
||||
config BSP_USING_QSPI0_PDMA
|
||||
config BSP_USING_QSPI0
|
||||
bool "Enable QSPI0"
|
||||
|
||||
config BSP_USING_QSPI0_PDMA
|
||||
bool "Enable PDMA for QSPI0"
|
||||
select BSP_USING_SPI_PDMA
|
||||
select BSP_USING_QSPI_PDMA
|
||||
depends on BSP_USING_QSPI0
|
||||
endif
|
||||
|
||||
|
@ -224,6 +224,6 @@ int rt_soft_i2c_init(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
INIT_BOARD_EXPORT(rt_soft_i2c_init);
|
||||
INIT_DEVICE_EXPORT(rt_soft_i2c_init);
|
||||
|
||||
#endif //#if (defined(BSP_USING_SOFT_I2C) && defined(RT_USING_I2C_BITOPS) && defined(RT_USING_I2C) && defined(RT_USING_PIN))
|
||||
|
@ -235,6 +235,6 @@ exit_mnt_init_spiflash0:
|
||||
|
||||
return 0;
|
||||
}
|
||||
INIT_ENV_EXPORT(mnt_init_spiflash0);
|
||||
INIT_APP_EXPORT(mnt_init_spiflash0);
|
||||
#endif
|
||||
|
||||
|
@ -232,6 +232,6 @@ exit_mnt_init_spiflash0:
|
||||
|
||||
return 0;
|
||||
}
|
||||
INIT_ENV_EXPORT(mnt_init_spiflash0);
|
||||
INIT_APP_EXPORT(mnt_init_spiflash0);
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user