mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-19 05:11:30 +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;
|
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))
|
#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;
|
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))
|
#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
|
select BSP_USING_SPI
|
||||||
|
|
||||||
if BSP_USING_QSPI
|
if BSP_USING_QSPI
|
||||||
config BSP_USING_QSPI0
|
config BSP_USING_QSPI_PDMA
|
||||||
bool "Enable QSPI0"
|
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"
|
bool "Enable PDMA for QSPI0"
|
||||||
select BSP_USING_SPI_PDMA
|
select BSP_USING_QSPI_PDMA
|
||||||
depends on BSP_USING_QSPI0
|
depends on BSP_USING_QSPI0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -224,6 +224,6 @@ int rt_soft_i2c_init(void)
|
|||||||
|
|
||||||
return 0;
|
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))
|
#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;
|
return 0;
|
||||||
}
|
}
|
||||||
INIT_ENV_EXPORT(mnt_init_spiflash0);
|
INIT_APP_EXPORT(mnt_init_spiflash0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -232,6 +232,6 @@ exit_mnt_init_spiflash0:
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
INIT_ENV_EXPORT(mnt_init_spiflash0);
|
INIT_APP_EXPORT(mnt_init_spiflash0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user