| Age | Commit message (Collapse) | Author |
|
Signed-off-by: vandoul <[email protected]>
|
|
|
|
|
|
Signed-off-by: Chen Wang <[email protected]>
|
|
There is a problem with the matching of case names
in the original code. Due to original code use memcmp
with len, if the input case name and the existing
case name have an inclusion relationship, for example,
if the actual case name is "gpip_irq", and run
`utest_run gpio` will also match successfully, but it's
not expected.
Modify the logic of exact matching and use strcmp instead.
Keep the original wildcard logic, that is,
`utest_run gpio*` can match both "gpio_irq" and "gpio".
Signed-off-by: Chen Wang <[email protected]>
|
|
|
|
|
|
K230 supports 3 GPIO groups:
group0: GPIO0 ~ GPIO31, support i/o and irq
group1: GPIO32 ~ GPIO63, support i/o and irq
group2: GPIO64 ~ GPIO71, only support i/o.
Signed-off-by: Chen Wang <[email protected]>
|
|
[cpp_check.py 80 INFO] components/drivers/misc/adc.c:76:12:
error: Uninitialized variable: result [legacyUninitvar]
return result;
^
Signed-off-by: Chen Wang <[email protected]>
|
|
gcc build warnings:
cast from pointer to integer of different size [-Wpointer-to-int-cast]
For rt_adc_ops.enabled, the type of second param is rt_int8_t,
original _adc_control also called with wrong type casting.
Convert first to rt_base_t, then cast to rt_int8_t to remove the
build warnings.
Signed-off-by: Chen Wang <[email protected]>
|
|
|
|
* [bsp]stm32f103-keysking ADC与PWM1驱动
* Update README.md
* 删除include main.h
* 增加I2C1驱动
* 添加yml
|
|
|
|
- include the year, month, and day for rtc_alarm_time_set API
- add local time conversion for get timeval and set stamp
Signed-off-by: Runcheng Lu <[email protected]>
|
|
- add the alarm using local time for calculation
Signed-off-by: Runcheng Lu <[email protected]>
|
|
* [kernel]add doxygen comments for scheduler.
* [kernel]fix spell error in comments.
|
|
|
|
Signed-off-by: Chen Wang <[email protected]>
|
|
等宏使用的是禁止调度的函数,无法保护中断与任务的临界资源,修改为禁止中断可以解决这个问题
|
|
K230 support 6 general hardware timers and 3 stc timers.
This patch only implement drivers for general hw timers.
Signed-off-by: Chen Wang <[email protected]>
|
|
|
|
|
|
Use utest assert API for utest cases.
Signed-off-by: Chen Wang <[email protected]>
|
|
|
|
修正对RV32E的支持,RV32E不支持s2寄存器,修改为s1寄存器
|
|
|
|
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 <[email protected]>
|
|
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 <[email protected]>
|
|
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 <[email protected]>
|
|
�的问题
|
|
|
|
|
|
is located
|
|
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 <[email protected]>
|
|
|
|
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 <[email protected]>
|
|
* 新增gd32470z-lckfb配套LCD驱动
* 1.使用RTT的编程规范修改注释 2.readme文件新增注意事项以及原作者信息
* Add maintainer info for gd32470z-lckfb-lcd
|
|
* [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.
|
|
|
|
1. Add ROM base info.
2. Save th PM status.
Signed-off-by: GuEe-GUI <[email protected]>
|
|
(#10314)
ci: Replace the judgment file modification mechanism of bsp_building.yml and incorporate the PR status show into bsp_building.yml
|
|
bsp: ESP32C3: Add dockerfile and update README
|
|
写满丢弃策略对dma_ping_buf的处理有误、细节调整
|
|
* fix scons --target=cmake command failure
* fix scons --menuconfig
scons: Reading SConscript files ...
Cannot found RT-Thread root directory, please check RTT_ROOT
|
|
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 <[email protected]>
|
|
warning issue.
|
|
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 <[email protected]>
|
|
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 <[email protected]>
|