liYang~
32ed7dcfd2
修复了pwm互补输出的一些bug,并在finsh中添加使用说明 ( #6191 )
...
* Fix the bug of complementary output
2022-07-26 10:07:07 +08:00
Tangyuxin
f82705db1d
[touch] 调整触摸头文件至 rtdevice.h 中 ( #6180 )
2022-07-23 11:48:26 +08:00
Jiang Runnan
37fcfdb972
Solve the problem that LOG_W() may not be recognized when the INPUT CAPTURE module is enabled,which may cause the compilation failure.
2022-07-22 14:25:43 +08:00
Man, Jianting (Meco)
5b6a257c20
chore: fix a typo ( #6154 )
2022-07-10 18:00:12 +08:00
Dengguiling
aa2d2c63f6
[compoenets][driver][usb] fix usbhost hid issues. ( #6116 )
...
* [compoenets][driver][usb] fix usbhost hid issues.
1.Set idle function should receive an empty package.
2.Fix uinst_t reference error in hid enable function.
2022-07-07 16:10:43 +08:00
BreederBai
b2bc0dcd16
[rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数 ( #6130 )
...
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
2022-07-04 10:40:42 +08:00
Meco Man
1c95670bef
[rtdevices] eliminate recursion
2022-06-22 14:48:00 +08:00
Meco Man
4f1f8566f4
[spi] fix issue report #6008
...
rt_spi_sendrecv8()存在可能未初始化值返回的情况
2022-06-22 11:52:06 +08:00
Man, Jianting (Meco)
fb941e6d8d
[fingbuffer] fix a typo ( #6075 )
2022-06-17 18:46:46 +08:00
solar_li
a50018c57e
[stm32][soft spi] implement soft spi ( #6078 )
...
* [stm32][soft spi] implement soft spi
2022-06-16 10:54:30 +08:00
Meco Man
808259135f
[cputime] suuport perf_counter
2022-06-15 17:30:28 +08:00
wanghaijing
0827ca64d0
Fix rt_qspi_send symbol extension BUG
2022-06-15 10:37:49 +08:00
Meco Man
50f041f5c2
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
2022-06-09 07:01:59 +08:00
Tangyuxin
f5c88add37
Fix compiler warnings ( #6023 )
2022-06-08 01:21:50 +08:00
Man, Jianting (Meco)
02b176f8cb
[arduino] add comment ( #6016 )
2022-06-04 13:20:30 +08:00
Man, Jianting (Meco)
c52c1c5521
[spi device] remove _spi_bus_device_control ( #5898 )
2022-05-30 18:05:05 +08:00
xfwangqiang
e8d775f888
[componnets][pin]add pin operate command in MSH ( #5892 )
...
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
2022-05-30 18:00:26 +08:00
Stanley Lwin
04a17d469a
[device][adc] implement adc_get_vref ( #5988 )
...
* add adc_get_vref
add stm32_adc_get_vref
2022-05-29 10:22:33 +08:00
Tangyuxin
ccfd2c3b28
[drivers][hwcrypto] Correct function return value definition ( #5984 )
2022-05-28 10:02:19 +08:00
Chester guo
1e27372e3e
Modify wlan framework ( #5076 )
...
* update auto connect use sys work.
* add fast connect.
* update wlan cmd, support scan result report user-level callback.
Co-authored-by: zetingxu <zetingxu@bestechnic.com>
Co-authored-by: liu2guang <liuguang@rt-thread.com>
Co-authored-by: guodi <guodi@rt-thread.com>
Co-authored-by: geniusgogo <xpxyr@sina.com>
2022-05-25 10:25:33 +08:00
Meco Man
42a136288d
[adc][pwm] correct the command description
2022-05-25 10:04:33 +08:00
Wayne
37d9921aa8
[MTD-NAND] Add private data pointer. ( #5974 )
...
* Disable TRNG function in default configuration.
* Fix building issue
* To catch context of upper file system.
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-05-23 01:47:07 +08:00
Stanley Lwin
f92c26a60b
[adc.c] add finsh voltage conversion command ( #5937 )
...
* Update adc.c
add finsh voltage conversion command
2022-05-19 10:36:50 +08:00
lgnq
50a42331e6
Add RT_SENSOR_VENDOR_MELEXIS in sensor_cmd.c ( #5966 )
...
* Add RT_SENSOR_VENDOR_MELEXIS in sensor_cmd.c
print vendor information of Melexis in the function sensor()
2022-05-19 10:20:39 +08:00
Stanley Lwin
3ecfe9c61e
[rt_drv_pwm.c] add finsh pwm function ( #5944 )
...
* add finsh pwm function
2022-05-19 10:18:55 +08:00
lgnq
9ab2094ef6
Add RT_SENSOR_VENDOR_MELEXIS in sensor.h
...
Melexis is the fourth largest automotive sensor manufacturer in the world.
www.melexis.com
2022-05-18 08:43:36 +08:00
Meco Man
d5eeec2872
[hwtimer] add disable interrupt protection for hwtimer_isr function
2022-05-11 15:28:50 +08:00
Man, Jianting (Meco)
0d2b96d7cc
[stm32][l4] add tim7 support | 设备框架以及驱动错误码处理逻辑存在问题 ( #5901 )
2022-05-09 22:59:27 +08:00
Man, Jianting (Meco)
6295ec108e
[kernel] remove the register keyword ( #5888 )
2022-04-29 06:34:42 +08:00
BreederBai
c28b79b7d7
硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口 ( #5881 )
...
* 硬件驱动(VCOM):增加获取USB虚拟串口连接状态的接口
2022-04-28 20:30:51 +08:00
Tangyuxin
7f1157e0de
[drivers][serial] ioctl add F_SETFL cmd ( #5876 )
2022-04-26 13:13:51 +08:00
tyx
13f8a99e46
[drivers][usb] Fix compilation warning
2022-04-23 23:08:47 +08:00
tyx
8aecd43c78
[drivers][hwtimer] Fix compilation warning
2022-04-23 23:08:47 +08:00
Meco Man
175ca2ee09
[dac] add get resolution method
2022-04-23 23:03:59 +08:00
Man, Jianting (Meco)
2c6a279ac3
[pwm] 优化pwm框架 ( #5857 )
2022-04-22 22:31:29 +08:00
Man, Jianting (Meco)
c2a0995545
[adc] 支持adc框架获取BSP的ADC分辨率 ( #5853 )
2022-04-22 22:26:41 +08:00
blta
2d08dca65a
[USB] fix stall bug on control transfers
2022-04-20 14:33:12 +08:00
thewon86
f5b0bfd3f4
uniform code writing-disable interrupt
2022-04-20 14:22:43 +08:00
guozhanxin
08bebb40ba
[usb audio] fix building error.
2022-04-20 09:10:52 +08:00
Meco Man
991b6e78b3
[bug] 修正rtc对时间参数范围的处理 | fix a bug of rtc
2022-04-19 11:48:59 +08:00
tyx
e414cb459d
[components][drivers] Update device type definition and command definition
2022-04-18 09:38:56 +08:00
Wayne
615dbe946c
Fix return value of rt_dac_write function. ( #5816 )
...
Co-authored-by: Wayne Lin <wclin@nuvoton.com>
2022-04-15 17:09:37 +08:00
Judd
80f20f668b
fix comment
...
fix comment on return value of `rt_hwcrypto_crc_update`
2022-04-13 16:20:39 +08:00
Yang sheng
eb2fc60207
[bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64… ( #5785 )
...
* [bsp] Make all warnings into errors with qemu-vexpress-a9 qemu-virt64-aarch64 and stm32f411-st-nucleo.
* [RTC] Fix compile errors
2022-04-09 00:39:00 +08:00
Tangyuxin
da3d61e043
[device]Detailed classification of devices types ( #5769 )
2022-04-06 21:12:39 +08:00
tyx
782b9dd45a
[components][sdio] Support DDR mode
2022-04-06 16:06:46 +08:00
tyx
cceefd5ef9
[hwcrypto]Optimize memory usage
2022-04-06 10:29:05 +08:00
tyx
b80f581562
[compilers] Fix c/c++ compilation warnings and errors
2022-04-06 10:27:38 +08:00
tyx
e896021b56
[drivers][rtc]Add comments
2022-04-06 10:26:04 +08:00
tyx
c4f107f528
[drivers][alarm]Compact alarm output
2022-04-06 10:26:04 +08:00
tyx
b91f6f1206
[drivers][alarm] Optimize some codes
2022-04-06 10:26:04 +08:00
tyx
b3f20ff9d2
[drivers][alarm] Fix week alarm bug
2022-04-06 10:26:04 +08:00
tyx
f35c9d6df7
[drivers][rtc] Enhanced date command
2022-04-06 10:26:04 +08:00
tyx
8a7babadda
[drivers][rtc]Add get/set timestamp function
2022-04-06 10:26:04 +08:00
tyx
9a4bd20149
[drivers][rtc] Optimize execution efficiency
2022-04-06 10:26:04 +08:00
tyx
0ef4560030
[drivers][rtc] Adjust ops function input parameters
2022-04-06 10:26:04 +08:00
Tangyuxin
59e751eb2a
[sensor]Add blood pressure sensor type ( #5766 )
2022-04-05 19:35:23 +08:00
朱天龙 (Armink)
039efbb075
完善 Serial V2 框架 ( #5770 )
...
* [stm32] fix h7 uart V2 driver unused code.
* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.
* [stm32][art-pi] using serial v2 by default
* [DeviceDriver][SerialV2] Add termios for serial@V2 .
* [BSP][STM32] Add hardware flow control for STM32 serial@V2 driver.
* [DeviceDriver][Serial@V2] Add hardware flow control for serial V2.
2022-04-04 17:25:04 +08:00
guo
b2e2ab28e5
[update] Fix some spelling mistakes. ( #5738 )
2022-03-29 21:29:08 +08:00
朱天龙 (Armink)
bae1be0f45
完善串口 V2 框架 ( #5720 )
...
* [stm32] fix h7 uart V2 driver unused code.
* [DeviceDriver][serialv2] fix the serialv2 when using for console device on DMA mode.
* [stm32][art-pi] using serial v2 by default
2022-03-27 00:52:41 +08:00
kylepengchn
851d16b18f
Soft spi ( #5712 )
...
* add soft-spi
* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval
* use formatting.py scripts for scanning
Signed-off-by: kyle <kylepengchn@163.com>
2022-03-25 23:06:43 +08:00
Man, Jianting (Meco)
ba6f78bd8e
format code ( #5699 )
2022-03-24 08:30:41 +08:00
Man, Jianting (Meco)
2a1272ecfb
消除c99 ( #5696 )
2022-03-23 14:28:24 +08:00
kylepengchn
5810f4de7d
[components][drivers][spi]: 基于SPI总线驱动框架添加模拟SPI总线扩展 ( #5656 )
...
* add soft-spi
* add spi-bit-ops.c/h to components/drivers/spi
* add a drv_soft_spi example for gd32303e-eval
Signed-off-by: kyle <kylepengchn@163.com>
* Fixed the format and the certificate.
Signed-off-by: kyle <kylepengchn@163.com>
* Update the certificate data.
Signed-off-by: kyle <kylepengchn@163.com>
2022-03-23 14:16:14 +08:00
打盹的消防车
0c82e033dc
Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed ( #5684 )
...
* fix:Open RT_USING_POSIX_STDIO caused serial_v2 to compile failed
2022-03-20 10:29:16 +08:00
xiangxistu
ffae7a2612
[fix] add the header file to avoid compiler error. ( #5643 )
2022-03-08 11:35:11 +08:00
Man, Jianting (Meco)
91ea28a625
[pipe.h] 移除多余的头文件,防止形成头文件递归包含 ( #5621 )
2022-03-02 18:45:19 +08:00
woody
6d0caf7bfc
修改dac.c函数名称错误 ( #5591 )
2022-02-10 18:18:52 +08:00
guo
580194f5f0
Merge pull request #4740 from Guozhanxin/scheduler_check
2022-01-28 16:38:32 +08:00
geniusgogo
039e2ff530
fixed wlan driver dhcp multitask safety
2022-01-28 11:35:10 +08:00
Henson
500d26c257
optimize code
2022-01-26 21:39:06 +08:00
guozhanxin
9b44535740
add RT_DEBUG_SCHEDULER_AVAILABLE check
2022-01-26 16:03:31 +08:00
guozhanxin
2f6f9da5e3
fix usbhost issue by #4378
2022-01-26 11:39:39 +08:00
guo
9b44734643
Merge pull request #4378 from LeeChunHei/usbh_construct
...
添加多過一個usb host的可能性
2022-01-26 10:39:46 +08:00
thewon86
4db9cfbebe
return thread error when resumed by signal
2022-01-25 13:58:33 +08:00
Meco Man
e10173daff
[device] rename src folder as ipc
2022-01-22 16:43:51 +08:00
Bernard Xiong
b5de986122
Merge pull request #5542 from mysterywolf/keil
...
[sconscript.platform] 优化针对编译器判断
2022-01-20 21:01:00 +08:00
Meco Man
8bf5a28528
[workqueue] 增加rt_work_urgent
2022-01-20 20:58:46 +08:00
Meco Man
36cbc1fd2f
[workqueue] time参数改为ticks,防止误解单位为ms
2022-01-20 20:58:46 +08:00
Meco Man
3a789b3317
[workqueue] improve comment
2022-01-20 20:58:46 +08:00
Meco Man
1874bd25aa
[timer] improve parameter checking
2022-01-20 20:58:46 +08:00
guo
7c403d3587
Merge branch 'master' into keil
2022-01-20 14:20:43 +08:00
Meco Man
884218588a
[sconscript.platform] 优化针对编译器判断的脚本
...
- 删除啰嗦的代码
related: https://github.com/RT-Thread/rt-thread/issues/3046
2022-01-19 23:24:47 -05:00
liukangcc
27511885f3
[update] change ccflags to cflags
2022-01-20 11:50:30 +08:00
Meco Man
8213bbd92e
update
2022-01-14 23:09:32 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
Meco Man
f89a162ea3
[core] 使用rt_memcpy rt_memset代替memcpy memset
2022-01-09 00:23:18 +08:00
Meco Man
918ee6147c
add RT_USING_POSIX_STDIO
2022-01-05 23:11:58 +08:00
nongxiaoming
cec72c92c7
[components][sdio] fix compile warning and optimized code.
2021-12-31 17:05:42 +08:00
nongxiaoming
57165329ac
[components][usb] fix compile warning in cdc_vcom.c
2021-12-30 01:38:16 +08:00
Meco Man
c8dcf7cc68
[libc]rename group name
2021-12-30 01:27:25 +08:00
guo
dcce9886e9
Update sensor.c
2021-12-24 10:10:59 +08:00
guo
51569a068a
Merge pull request #5418 from mysterywolf/revert-5412-clang-arm
...
Revert "add clang-arm support."
2021-12-24 09:17:41 +08:00
Wayne Lin
9dc4ca0d31
Remove unused comment.
2021-12-24 05:36:12 +08:00
Wayne Lin
28f91a86f5
Correct sem's name of sd block device.
2021-12-24 05:36:12 +08:00
Wayne Lin
f508d58c05
Strip tailing space.
2021-12-24 05:36:12 +08:00
Wayne Lin
bac75e24bd
[SDIO] Create SD block device.
...
1. New naming rule for multiple cards: sdXpY. Ex: sd0, sd0p0, sd0p1, sd1, sd1p0, sd1p1, .... sdXpY.
2. Always create super-node for backward-compatible and fdisk-like utility. EX: sd0, sd1, ..... sdX.
3. Shrink code.
2021-12-24 05:36:12 +08:00
Wayne Lin
600e67f952
Revert to RT_IPC_FLAG_PRIO.
2021-12-24 05:36:12 +08:00
Wayne Lin
7e6ffd3447
Support multi-partition/-card mounting.
2021-12-24 05:36:12 +08:00
Wayne Lin
c84952d9cd
Fix infinite-loop in rt_mmcsd_blk_remove.
...
1. Issue on traveling latest node in list if multi-partitions on card.
2021-12-24 05:36:12 +08:00
Man, Jianting (Meco)
ed1f8b3f64
Revert "add clang-arm support."
...
This reverts commit a5f6fdc780
.
2021-12-22 18:57:16 -05:00
guozhanxin
a5f6fdc780
add clang-arm support.
2021-12-22 13:03:05 +08:00
guo
fb7b9f4fb4
Merge pull request #5318 from enkiller/1201
...
[components][src] Optimize interrupt disable time
2021-12-21 17:40:59 +08:00
chenyingchun0312
417efc370f
[drivers/i2c] optimize i2c driver framework
2021-12-17 10:25:08 +08:00
guo
6373523c31
Merge pull request #5343 from ousugo/addAnnotation
...
Add pipe.c function annotation
2021-12-15 12:00:42 +08:00
ousugo
9261bab77b
Fix format
2021-12-14 21:17:00 +08:00
ousugo
c9cbc6fb0c
Fix annotation grammatical mistake
2021-12-14 21:17:00 +08:00
ousugo
db32aba3d4
fix format
2021-12-14 21:17:00 +08:00
ousugo
f62bd0373a
add waitqueue.c function annotation
2021-12-14 21:17:00 +08:00
ousugo
3e9757888f
Fix format and mistake
2021-12-14 14:13:02 +08:00
guo
92cf02a34d
Merge pull request #5262 from ShermanShao/master
...
[BSP/RA6M4-CPK] 添加 CAN、RW007 的支持
2021-12-14 11:24:47 +08:00
Sherman
0f0093aa3e
[UPDATE]添加新驱动、完善 BSP
...
- [update] 更新 template 工程配置
- [update] 更新 PLATFORM 配置
- [add] 添加 ra icu 驱动文件
- [add] 增加传感器类型 IAQ、EtOH
- [add] 添加 CAN 驱动
- [add] 添加 RW007 驱动及使用说明
- [fix] GCC 编译问题
- [fix] flash 驱动
- [fix] 修改 scons 脚本配置
2021-12-14 11:04:46 +08:00
ousugo
4820dbb0b3
Merge branch 'master' into addAnnotation
2021-12-14 10:42:18 +08:00
张世争
7455e2487b
[components] PM框架更新
2021-12-14 06:12:55 +08:00
Meco Man
7ff976dab3
[posix] [pipe] add IPC for POSIX and add pipe for it
2021-12-14 06:12:04 +08:00
ousugo
a237f805b9
fix format
2021-12-07 16:08:00 +08:00
ousugo
7f698140e8
Add pipe.c function annotation
2021-12-07 16:05:01 +08:00
Meco Man
67e14adc4f
[posix] 按照高级unix环境编程整理IO类别
2021-12-05 23:07:41 -05:00
Bernard Xiong
36d5154256
Merge pull request #5320 from mysterywolf/pse-master
...
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
Bernard Xiong
0453536384
Merge pull request #5331 from recan-li/master_fix
...
【PR】修改bsp/qemu-vexpress-a9的若干问题
2021-12-05 09:58:57 +08:00
recan-li
cf92ae747f
fix: Fix compile warnings on qemu-vexpress-a9 platform (-Wimplicit-function-declaration)
2021-12-04 01:03:26 +08:00
guo
fda37d55f8
Merge pull request #5319 from RT-Thread/master
...
【PSE分支】同步master到PSE分支
2021-12-02 10:09:37 +08:00
aozima
c2fec1bf45
update cputime_cortexm.c support 64bit.
2021-12-01 20:08:32 +08:00
aozima
9a3d0a0ea2
cputime support 64bit.
2021-12-01 20:08:32 +08:00
Bernard Xiong
1cf8370b1b
Merge pull request #5295 from ousugo/addComment
...
Add dataqueue.c function annotation
2021-12-01 18:01:54 +08:00
ousugo
b329611e35
Update annotation
2021-12-01 14:43:53 +08:00
tangyuxin
a77cc81876
[components][drivers] format file
2021-12-01 14:41:13 +08:00
tangyuxin
5128a27c43
[components][src] Optimize interrupt disable time
2021-12-01 14:19:25 +08:00
Meco Man
43ebe094e3
[pipe] 补充注释
2021-12-01 00:29:02 -05:00
Meco Man
7973ede5a8
增加RT_USING_POSIX_FS
2021-11-29 00:53:46 -05:00
Bernard Xiong
e055a00778
Merge pull request #5299 from mysterywolf/rtc
...
modify time.h to sys/time.h
2021-11-27 02:43:21 +08:00
Meco Man
7c789d4b11
revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
2021-11-24 09:47:55 -05:00
ousugo
2ef0d40aff
Fix space
2021-11-24 21:59:37 +08:00
Bernard Xiong
6a6b43fe3e
Merge pull request #5261 from mysterywolf/weak
...
[kernel] prepare to support full functional sprintf-family functions
2021-11-24 17:38:15 +08:00
ousugo
02ca44bf1f
Fix annotation grammatical mistake
2021-11-24 15:21:30 +08:00
ousugo
1deaa8fe50
Update annotation format
2021-11-24 14:19:25 +08:00
ousugo
2c2a1fe64e
Update annotation format
2021-11-24 14:14:45 +08:00
Meco Man
a1cc3d43e7
modify time.h to sys/time.h
2021-11-23 22:38:00 -05:00
ousugo
afdbee97ed
fix extra space
2021-11-23 16:40:55 +08:00
ousugo
dc1f2631ee
Add dataqueue.c function annotation
2021-11-23 16:05:17 +08:00
Meco Man
df9a23c534
[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO
2021-11-17 15:57:15 -05:00
Meco Man
040f05f40d
[sfud][cfg] 取消rt_kprintf声明
2021-11-16 12:12:47 -05:00
guo
7dd686faa7
fix sensor_cmd.c build error.
2021-11-09 20:37:16 +08:00
Bernard Xiong
31bf735d21
Merge pull request #5210 from mysterywolf/workqueue
...
[workqueue] rename rt_workqueue_critical_work as rt_workqueue_urgent_work
2021-10-27 10:40:15 +08:00
guo
574e11f62a
Merge pull request #5183 from tfx2001/tinyusb_stm32
...
[bsp][stm32] add TinyUSB support
2021-10-25 09:57:20 +08:00
Meco Man
e538c5aa70
[workqueue] rename rt_workqueue_critical_work as rt_workqueue_urgent_work
2021-10-20 15:48:07 -04:00
tfx2001
c1d3d87494
[bsp][stm32] add TinyUSB support
2021-10-15 00:49:11 +08:00
guo
1f28bd89f8
Merge pull request #5174 from mysterywolf/timewarning
...
[libc][time] Ensure the data types are consistent
2021-10-14 13:35:50 +08:00
mazhiyuan
f04941c951
[cdc_vcom.c]adapt to both v1 and v2 of serial
2021-10-14 11:42:05 +08:00
Meco Man
396b7da6fd
[libc][time] Ensure the data types are consistent
2021-10-13 23:24:17 -04:00