In line with the layout of the source code, the
Device-Driver submodule should belong to components.
The doxygen Module part has been adjusted. This commit
modifies the markdown document part and moves the
device-driver pages under to components.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
The originally defined "group_Drivers" should actually
be part of the device-driver component, so
"group_Drivers" is renamed to "group_device_driver".
In this way, the original "group_Device" and
"group_Drivers" are merged into "group_device_driver".
Adjusted the writing method of doxygen comments in the
driver code to be unified as follows:
```c
* @defgroup group_XXX XXX
* @brief xxxxxx
* @ingroup group_device_driver
```
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
The originally defined "group_Device" should actually
be part of the device-driver component, so create
a new "group_device_driver" and then rename
"group_Device" to "group_device_driver".
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
K230 has two watchdog timers.
Add unit tests based on utest framework.
Watchdog and test are both configuable, disabled by default.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
scons --menuconfig will report:
```
warning: the choice symbol PKG_USING_ZLIB_LATEST_VERSION
(defined at /home/u/.env/packages/packages/misc/zlib/Kconfig:31)
is selected by the following symbols, but select/imply has no
effect on choice symbols
- BSP_ROOTFS_TYPE_CROMFS (defined at Kconfig:36)
warning: default on the choice symbol BSP_USING_SDIO0
(defined at board/Kconfig:20) will have no effect, as defaults
do not affect choice symbols
warning: default on the choice symbol BSP_USING_SDIO1
(defined at board/Kconfig:34) will have no effect, as defaults
do not affect choice symbols
```
Fix and remove these warnings.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
* [bsp][wch][risc-v] add drv_flash for ch32v307.
* [bsp][wch][risc-v] 1. add yml file for ch32v307.
2. fix programs a word at chip flash timeout.
3. priority use of fast mode.
* [bsp][wch][risc-v] fix spi device for ch32v307.
To enhance the robustness of key recognition and solve the problem of errors and omissions caused by the lag of state assignment statement
增强方向键识别的鲁棒性,解决状态赋值语句滞后带来的错漏问题
Support sdio work for 01Studio board.
01Studio connect TF socket with sdio0, which is
different from standard canmv v1.0/v1.1 board
(which uses sdio1).
Updated configuration menu,
- SDIO devices are now a choice of two.
- Root file system types are also a choice of multiple.
Currently only cromfs and elmFAT are supported.
- Modified the default mount partition of the root file
system to sd0p1
Deleted the configuration BSP_SD_SDIO_DEV, and now
directly set mmcsd_change according to the selection of
the SDIO device.
Eliminated the warning of the drv_sdhci.c and
egularized the code format. The logic of this file
has not been essentially modified.
Sync and update the .config/rtconfig.h to the latest.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Add a script to call rttpkgtool's sdcard.sh.
Ths script encapsulate checking and downloading
of rttpkgtool and call ./script/sdcard.sh.
It also print new message so user need not
learn how to use sdcard.sh.
Update README.md.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Previously, `scons -c` did not clean up the build directory
and the automatically generated link.lds.generated.
This is fixed now.
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
- Implemented vDSO functionality for the RISC-V architecture, including the necessary source files and linker scripts.
- Introduced a new `vdso_sys.c` file for RISC-V, containing functions to handle time retrieval using the vDSO mechanism.
- Created architecture-specific linker scripts (`vdso.lds.S`) for both AArch64 and RISC-V.
- Updated the build system to support vDSO compilation for RISC-V, including necessary adjustments in `SConstruct` files.
- Refactored existing vDSO code to improve compatibility and maintainability across architectures.
- Adjusted the maximum number of PTY devices in the terminal configuration from 64 to 32 for better resource management.
- Fixed minor issues in existing code, including correcting the path for the vDSO shared library and ensuring proper function definitions.
Achieve driver framework by operating memory to simulate audio
peripheral drivers. And it could be as a draft standrad for other
drivers test framework.
Signed-off-by: 1078249029 <1078249029@qq.com>
This hardlock is required by some other drivers, such
as sysctl power.
This driver can be enable/disabled by configuration.
Signed-off-by: Wang Chen <unicorn_wang@outlook.com>