Commit Graph

17195 Commits

Author SHA1 Message Date
GuEe-GUI ad2de6e477 [TOOLS] Add DTC (Devicetree Compiler) tools
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2025-06-30 09:42:39 +08:00
ricky 3e4f0ec015
bsp:<bsp/gd32/arm/libraries/gd32_drivers/drv_pwm.c>[Support for non-complementary PWM output with advanced timers] (#10426)
bsp:<bsp/gd32/arm/libraries/gd32_drivers/drv_pwm.c>
[Support for non-complementary PWM output with advanced timers]

1.当前结构体 TIMER_PORT_CHANNEL_MAP_Srt_int16_t 的成员channel为u16
为增加对非互补输出的支持 将uint16_t 改为int16_t
/* timer channel: -2 is ch_1n, -1 is ch_0n, 0 is ch0, 1 is ch1 */
2.对函数 channel_output_config 以及 drv_pwm_enable 进行修改,增加对非互补输出的支持

Signed-off-by: Yucai Liu <1486344514@qq.com>
2025-06-28 10:55:51 +08:00
Yaochenger d62f1e46b8 [bsp/xuantie] 修复bsp的dist功能 2025-06-27 16:53:50 +08:00
Yulong Wang b2ce955126 Remove extra semicolon in src/memheap.c 2025-06-27 16:52:33 +08:00
沐攸 c3125df8fa
bsp: Separate nuvoton drivers (#10435)
* bsp: Separate nuvoton drivers

* bsp: update nuvoton series project.uvprojx
2025-06-26 17:07:51 +08:00
Bernard Xiong 5a2352eb64
[scons] code cleanup for scons script. (#10429)
* [scons] move project_generation to targets; code clean for building.py.
2025-06-25 15:06:45 +08:00
Chen Wang 8e9872a554 doxygen: group name all in lowcase
This patch only updated the groups defined in documentation/0.doxygen.

Other groups will be moved into documentation/0.doxygen and updated at
that time.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-06-25 14:02:28 +08:00
沐攸 29ab5334af
bsp:Separate HC32F4 series library (#10427)
* bsp:Separate HC32F4 series library
2025-06-25 10:02:43 +08:00
qianjiuyuan 1fe2a0bbb6
[bsp]stm32 attach配置整理为yml(f0-f4、g、l系列) (#10417)
* f0-f405 attach整理为yml

* f4系列yml整理

* g系列整理yml

* l系列yml整理

* l475 f429 yml关闭strict检测

* revert stm32l475-atk-pandora的修改

* revert stm32f723-st-disco的修改

* revert stm32f429-armfly-v6的修改
2025-06-25 00:09:47 +08:00
CXSforHPU 3fe62df87c [MAINTAINERS] add more MAINTAINERS lists 2025-06-24 12:00:24 +08:00
kurisaw 4f903298a2 libcpu/bsp: fix the M33 assembly syntax errors and fix the compilation error of bsp 2025-06-24 11:04:01 +08:00
godmial 593ac8dbd6 1.更改armcc编译器为armclang 2.修改sconstruct代码为通用模式 3.删除SPI flash 在使用DFS时自动挂载逻辑 2025-06-22 17:13:00 +08:00
Chasel bf75b6665c [bsp][stm32] 1.Fixed the problem that the watchdog device was not registered, because the macro RT_USING_WDT was not introduced due to the missing header file. 2025-06-22 17:11:35 +08:00
Chen Wang e8b6d4e3fd bsp: k230: imprvove README
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-06-22 17:10:11 +08:00
rcitach 7178c933f4 Modify reference document link 2025-06-22 10:40:58 +08:00
rcitach 2e1f2eb5b1 add xuantie bsp to utest_auto_run 2025-06-22 10:40:58 +08:00
rcitach c9c1b9c8d0 Improve c906 smart qemu support 2025-06-22 10:40:58 +08:00
LittleGreyG 8dc000e5b3
[MAINTAINERS] add bsp_stm32h7xx MAINTAINERS lists
* [MAINTAINERS] add bsp_stm32h7xx MAINTAINERS lists
2025-06-22 10:15:28 +08:00
sakumisu 2ac969b4ca
update(cherryusb): update to v1.5.0 (#10409) 2025-06-20 16:19:38 +08:00
zhangshuxun c3da935369 bsp: Add a reminder when dependency packages fail to fetch 2025-06-18 18:03:54 +08:00
Chen Wang c050c8e642 doxygen: use layout to control the html display
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-06-18 08:45:40 +08:00
沐攸 5f9f522285
format: update all series of BSP configuration items (#10406) 2025-06-17 15:42:49 +08:00
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