4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-19 05:51:24 +08:00

[nuvoton] Fix ordering and configuration.

1. Update module starting ordering.
2. Fix QSPI PDMA configuration.
This commit is contained in:
Wayne Lin 2021-03-18 15:07:09 +08:00
parent 6ec6285e1b
commit 5af9085966
6 changed files with 14 additions and 9 deletions

View File

@ -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))

View File

@ -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))

View File

@ -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

View File

@ -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))

View File

@ -235,6 +235,6 @@ exit_mnt_init_spiflash0:
return 0;
}
INIT_ENV_EXPORT(mnt_init_spiflash0);
INIT_APP_EXPORT(mnt_init_spiflash0);
#endif

View File

@ -232,6 +232,6 @@ exit_mnt_init_spiflash0:
return 0;
}
INIT_ENV_EXPORT(mnt_init_spiflash0);
INIT_APP_EXPORT(mnt_init_spiflash0);
#endif