Commit Graph

17273 Commits

Author SHA1 Message Date
liuyucai d5a1397d32 Maintainer: new reviewer applies to join. 2025-06-17 14:51:36 +08:00
Bernard Xiong 73fed292c7
[vscode] add sample workspace.json (#10399) 2025-06-17 08:32:59 +08:00
qianjiuyuan f35c775cd4
[bsp]bluepill readme补充flash描述,整理attachconfig为yml 2025-06-16 23:35:13 +08:00
下里巴人 3a11e40e48
[MAINTAINERS] add more MAINTAINERS lists (#10392) 2025-06-16 10:16:37 +08:00
vandoul 169d84d65a 修复单向列表移除节点时存在的安全风险.
Signed-off-by: vandoul <vandoul@ticks.cn>
2025-06-13 17:04:27 +08:00
wdfk-prog b23d87be06 Maintainer: new reviewer applies to join. 2025-06-13 15:42:43 +08:00
lianux-mm 232c31b53f Maintainer: new reviewer applies to join. 2025-06-12 19:44:24 +08:00
Chen Wang fe506d5157 bsp: k230: support adc
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-06-10 19:23:09 +08:00
Chen Wang 01ca3911ec componnets: utest: fix case-name matching problem
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 <unicorn_wang@outlook.com>
2025-06-10 19:22:25 +08:00
Yaochenger cec2dbd7e9
玄铁全系列RISC-V内核支持(E系列/R系列/C系列) (#10343) 2025-06-10 16:18:07 +08:00
ligr 24e5954764 Maintainer: new reviewer applies to join. 2025-06-10 14:27:28 +08:00
Chen Wang 14c147cb00 bsp: k230: add gpio driver
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 <unicorn_wang@outlook.com>
2025-06-10 14:22:21 +08:00
Chen Wang 60c6fc0e3a components: drivers: adc: fixed cppcheck error
[cpp_check.py 80 INFO] components/drivers/misc/adc.c:76:12:
error: Uninitialized variable: result [legacyUninitvar]
    return result;
           ^

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-06-10 14:21:46 +08:00
Chen Wang ae86c6e8bb componnets: drivers: adc: remove build warnings
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 <unicorn_wang@outlook.com>
2025-06-10 14:21:46 +08:00
kurisaw 719cc90b02 maintainers: new reviewer allocation 2025-06-10 13:21:44 +08:00
qianjiuyuan e97c5822b4
[bsp]stm32f103-keysking ADC PWM1 I2C1驱动 (#10356)
* [bsp]stm32f103-keysking ADC与PWM1驱动

* Update README.md

* 删除include main.h

* 增加I2C1驱动

* 添加yml
2025-06-09 16:33:35 +08:00
godmial aec10aa0a8
bsp: gd32470z-lckfb: 增加 SPI Flash 支持及使用说明 (#10347) 2025-06-09 16:31:19 +08:00
Runcheng Lu 7568ec9618 bsp: stm32: drv_rtc: add local time conversion for get timeval and set stamp
-  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 <runcheng.lu@hpmicro.com>
2025-06-09 13:31:16 +08:00
Runcheng Lu 72c45043b5 components: drivers: rtc: add the alarm using local time for calculation
- add the alarm using local time for calculation

Signed-off-by: Runcheng Lu <runcheng.lu@hpmicro.com>
2025-06-09 13:31:16 +08:00
Guorui Li f5bff56c5b
[kernel]add doxygen comments for scheduler. (#10366)
* [kernel]add doxygen comments for scheduler.

* [kernel]fix spell error in comments.
2025-06-08 15:03:26 +08:00
stranding 12ac742407
bsp: artpi2: init project. (#10364) 2025-06-08 12:41:27 +08:00
Chen Wang a84dc04307 bsp: k230: support pinctrl driver
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-06-08 12:40:33 +08:00
wangqiang 39dca869b4 修复了USB通信概率性挂掉的问题。原因是USB_OSA_ENTER_CRITICAL等宏使用的是禁止调度的函数,无法保护中断与任务的临界资源,修改为禁止中断可以解决这个问题 2025-06-05 12:15:12 +08:00
Chen Wang 8525e08709 bsp: k230: add hwtimer support
K230 support 6 general hardware timers and 3 stc timers.
This patch only implement drivers for general hw timers.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-05-31 19:50:07 +08:00
kurisaw fe1308976e version: version release preparation 2025-05-30 15:52:45 +08:00
ZhangJing c3d33f39d4
[bsp]增加超睿DP1000 bsp支持 2025-05-30 13:32:58 +08:00
Chen Wang 890a4bad72 bsp: k230: use utest asset api
Use utest assert API for utest cases.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-05-30 09:33:00 +08:00
Yaochenger f4e619a17c 移除无用文件,该文件未被任何BSP使用 2025-05-30 09:32:08 +08:00
Yaochenger 5889db6819 [libcpu/common] 修正对RV32E的支持,RV32E不支持s2寄存器,修改为s1寄存器 2025-05-30 09:32:08 +08:00
Yaochenger 898b9f1ff8 Update MAINTAINERS 2025-05-29 18:30:01 +08:00
Chen Wang 52acf7a413 doxygen: move device_driver under to components for pages
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>
2025-05-29 13:47:46 +08:00
Chen Wang a3339ca734 doxygen: change group_Drivers to group_device_driver
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>
2025-05-29 13:47:46 +08:00
Chen Wang e234cc8658 doxygen: change group_Device to group_device_driver
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>
2025-05-29 13:47:46 +08:00
yans dcf637dd30 [bsp][Infineon]修复psoc6-evaluationkit-062S2调用rt_adc_disable()时报错的问题 2025-05-29 13:04:49 +08:00
qianjiuyuan 2cf21619fb
[bsp]stm32f103-keysking 驱动:uart、pwm、pulse encoder (#10330) 2025-05-29 11:49:48 +08:00
zhangjing e3d7bbb47c [libcpu][risc-v]:add comment for the round down of symb_pc 2025-05-28 19:37:51 +08:00
zhangjing 3922ec7e99 [libcpu][risc-v] fix:only map the 1GB space where the original code segment is located 2025-05-28 19:37:51 +08:00
Chen Wang 951bc922bc bsp: k230: add watchdog support
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>
2025-05-28 13:49:49 +08:00
下里巴人 8f8354347e
[bsp][stm32] add descriptions of 2 board in README.md doc (#10327) 2025-05-27 11:02:45 +08:00
Chen Wang e0aee221d9 bsp: k230: fix kconfig warnings
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>
2025-05-26 17:45:13 +08:00
godmial 524ae345c1
新增gd32470z-lckfb配套LCD驱动 (#10311)
* 新增gd32470z-lckfb配套LCD驱动

* 1.使用RTT的编程规范修改注释 2.readme文件新增注意事项以及原作者信息

* Add maintainer info for gd32470z-lckfb-lcd
2025-05-24 11:19:44 +08:00
Chasel 5153f38047
[bsp][wch][risc-v] add drv_flash for ch32v307. (#10306)
* [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.
2025-05-23 22:41:30 +08:00
htl5241 31ff6fecc1
[clock]添加 rt_tick_get_delta 函数 2025-05-23 14:21:37 +08:00
GuEe-GUI 99fc1bb72b [DM/PCI] Add /proc access in RT-Smart user.
1. Add ROM base info.
2. Save th PM status.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-05-23 13:22:25 +08:00
hydevcode 51b6df9c16
ci: Replace the judgment file modification mechanism of bsp_building.… (#10314)
ci: Replace the judgment file modification mechanism of bsp_building.yml and incorporate the PR status show into bsp_building.yml
2025-05-23 09:33:23 +08:00
wumingzi 9e9669b47d
[bsp] [ESP32C3] Add dockerfile and update README (#10313)
bsp: ESP32C3: Add dockerfile and update README
2025-05-23 05:36:24 +08:00
ryancw 5c23485006 [components][serial_v2] 写满丢弃策略对dma_ping_buf的处理有误、细节调整 2025-05-22 21:32:21 +08:00
冥焱破晓 d64ce335fc
fix scons --target=cmake command failure (#10276)
* fix scons --target=cmake command failure

* fix scons --menuconfig
scons: Reading SConscript files ...
Cannot found RT-Thread root directory, please check RTT_ROOT
2025-05-21 22:15:04 +08:00
LTreeshu cd3789f8ec Update shell.c
To enhance the robustness of key recognition and solve the problem of errors and omissions caused by the lag of state assignment statement
增强方向键识别的鲁棒性,解决状态赋值语句滞后带来的错漏问题
2025-05-21 13:24:36 +08:00
ryancw 5e75fb0f4a MAINTAINERS: serial_v2 按照字母顺序进行排序 2025-05-21 11:50:34 +08:00