提交 5af90859 编写于 作者: W Wayne Lin

[nuvoton] Fix ordering and configuration.

1. Update module starting ordering.
2. Fix QSPI PDMA configuration.
上级 6ec6285e
......@@ -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
bool "Enable QSPI0"
config BSP_USING_QSPI0_PDMA
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册