Bernard Xiong
3dc188fb7a
Merge pull request #4943 from chenyingchun0312/develop
...
【doc】add the comments of device-ipc completion
2021-08-24 09:57:12 +08:00
chenyingchun0312
39689ea5ed
Merge branch 'develop' of https://github.com/chenyingchun0312/rt-thread into develop
2021-08-23 18:54:03 +08:00
陈迎春
f0c963bf53
Merge branch 'RT-Thread:master' into develop
2021-08-23 18:53:42 +08:00
chenyingchun0312
5e02709c55
【doc】update completion.c comments
2021-08-23 18:52:31 +08:00
马志远
221da7f464
Remove C Style Command Shell
2021-08-23 17:30:05 +08:00
Meco Man
b39837f480
[ioctl] implement function of getting window's size(TIOCGWINSZ)
2021-08-22 09:36:02 -04:00
guo
a98860d146
Merge pull request #4942 from Jackistang/master
...
[add] add commets for ringbuffer and workqueue.
2021-08-19 09:51:37 +08:00
Jackistang
4c6b4028e3
Update the comments for ringbuffer and workqueue.
2021-08-18 22:51:00 +08:00
Bernard Xiong
d71e2ac582
Merge pull request #4484 from mysterywolf/security
...
[kernel][devices] add security devices
2021-08-18 19:24:58 +08:00
Bernard Xiong
69cd36b5d0
Merge pull request #4905 from mysterywolf/rb
...
[ringbuffer] rt_ringbuffer_data_len采用局部变量承接,防止出现资源竞争
2021-08-18 19:24:13 +08:00
chenyingchun0312
a6870449ba
【doc】update completion.c comments
2021-08-18 14:10:50 +08:00
Jackistang
3de03a072e
修改 ringbuffer 和 workqueue 注释的语法
2021-08-18 09:44:52 +08:00
Man, Jianting (Meco)
3e6578916f
Merge branch 'master' into security
2021-08-17 16:56:10 -05:00
Jackistang
6173c9d7d5
fix comments error in ringbuffer and workqueue.
2021-08-17 22:44:29 +08:00
chenyingchun0312
7f2aaa210c
【doc】format drivers/src/completion.c
2021-08-16 13:10:26 +08:00
chenyingchun0312
96f773ffa9
【doc】add the annotation of device-ipc completion
2021-08-15 21:27:14 +08:00
Jackistang
99de1a6220
format code
2021-08-14 14:32:58 +08:00
Jackistang
1b7468979f
[ringbuffer] 添加 ringbuffer 的接口注释
2021-08-14 13:47:05 +08:00
Jackistang
0b4603d581
[workqueue] 添加了 workqueue 接口的注释
2021-08-14 11:10:43 +08:00
Meco Man
94ed55f34d
[workqueue] remove rt_delayed_work_init()
2021-08-01 17:26:01 +08:00
Meco Man
84db60ecfa
[sdio] remove rt_mmcsd_blk_init
2021-08-01 07:31:32 +08:00
Meco Man
619fa4d9d8
[ringbuffer] 采用局部变量,防止出现资源竞争
2021-07-31 02:20:20 +08:00
rtthread-bot
26acd64cb1
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-07-30 16:26:31 +00:00
Meco Man
a25667a7e5
[rtc] add comments
2021-07-30 07:01:09 +08:00
Meco Man
94a9332915
[rtc] 移除rtc_core.c/.h 将内容转移到rtc.c/.h
2021-07-30 03:24:50 +08:00
Meco Man
9e47b95e61
rt_rtc_dev_register -> rt_hw_rtc_register
2021-07-30 02:31:33 +08:00
Meco Man
fb31ab9c72
[rtc] localtime 改 localtime_r
2021-07-30 02:03:55 +08:00
Meco Man
a8ed7b7769
[workqueue] 将rt_work_sys_workqueue_init函数私有化
2021-07-22 18:24:56 +08:00
arminker
2439232c8a
bugfix:write_index bug in rt_ringbuffer_put_force
2021-07-20 15:47:03 +08:00
Bernard Xiong
4919c41527
Merge pull request #4864 from linzhenxing-bit/master
...
修改mmc初始化错误,将card-》csd写成card-》cid
2021-07-14 17:09:07 +08:00
Bernard Xiong
10308a645b
Merge pull request #4860 from KyleChenjh/serial
...
[serial_v2] Serial_v2 support device ops feature
2021-07-13 09:05:09 +08:00
guozhanxin
40e7d5a23d
Merge remote-tracking branch 'remotes/gitee/master'
2021-07-12 10:14:20 +08:00
@lin12345678
9f9c3a2bb0
修改mmc初始化错误,将card-》csd写成card-》cid
2021-07-09 17:53:07 +08:00
chenjh
22139e66ca
[serial_v2] Serial_v2 support device ops feature
2021-07-09 11:27:46 +08:00
iysheng
2bd7e04827
[components][rtc] Add microsecond resolution support with RTC framework V2.0
2021-07-08 22:41:40 +08:00
iysheng
a2a7f3c2d9
[components][rtc] Add RTC framework V2.0 to simplify RTC registration process
2021-07-08 22:41:06 +08:00
HubretXie
0fc7158ffb
[drivers]serial.c
...
解决STM32串口使用DMA接收方式时,清空缓存bug
2021-07-01 14:21:06 +08:00
wanghaijing
5d4260ab6d
[pm] index should be less than PM_MODLUE_MAX_ID
2021-06-22 23:56:55 +08:00
Bernard Xiong
bccdf912c8
Merge pull request #4764 from KyleChenjh/master
...
[serial] 增加serial_v2版本的框架和基于stm32的串口驱动
2021-06-21 14:29:04 +08:00
chenjh
0613cf8ca2
[serial] 解决serial_close未清除回调接口的问题
2021-06-18 14:54:37 +08:00
rtthread-bot
1e7dfa694f
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-06-16 09:32:46 +00:00
chenjh
5ac5d92cbb
[serial] 优化发送非阻塞时,serial_close未执行rt_completion_done的问题。
2021-06-16 16:55:33 +08:00
Meco Jianting Man
4fd4074617
Merge branch 'RT-Thread:master' into ioctl
2021-06-13 16:19:59 +08:00
Meco Man
fbcaa667f8
add sys/ioctl for serial
2021-06-13 12:51:07 +08:00
Meco Man
ae0e0bdad4
[cputime] add sys/errno.h
2021-06-12 18:17:18 +08:00
Meco Man
740a810274
[errno][libc] 解决sys头文件在libc未开启时的引入问题
2021-06-12 18:11:51 +08:00
chenjh
fac3c5cda1
[serial] 优化dma接收处理流程,解耦驱动调用串口框架的API接口
2021-06-08 09:38:43 +08:00
chenjh
d94be14df5
[serial] 增加serial_v2版本的框架和基于stm32的串口驱动
2021-06-08 09:38:43 +08:00
liuduanfei
ec1f22b87d
添加 rt_workqueue_critical_work 声明
2021-05-28 17:32:01 +08:00
Meco Man
07cab33b50
add sys/ioctl.h for pipe.c
2021-05-23 00:30:29 +08:00
Bernard Xiong
1c823b3fc0
Merge pull request #4669 from mysterywolf/rtc_pre
...
[rtc] 将RTC框架内的NTP部分移除
2021-05-12 09:01:47 +08:00
Meco Man
7e7066f741
[Kconfig][driver]删除NTP相关配置
2021-05-09 19:43:50 +08:00
Meco Man
e71e693fd1
移除readme关于NTP部分
2021-05-09 16:10:58 +08:00
Meco Man
3fd276bb44
add comment
2021-05-09 15:59:27 +08:00
Meco Man
9de977a046
remove list_date
2021-05-08 23:51:47 +08:00
Meco Man
43e9aec85e
将rt_soft_rtc_init设为私有函数
2021-05-06 23:47:33 +08:00
Meco Man
f982d81389
[rtc driver]remove NTP
2021-05-06 23:43:44 +08:00
Bernard Xiong
ed900427cd
Merge pull request #4657 from OpenNuvoton/touch_class
...
[components/drivers/touch] Bypass controlling commands in touch class to device driver.
2021-05-05 21:38:54 +08:00
Meco Man
787e46c6a3
[rtc]调整rtc驱动框架函数位置,功能无影响,为后续新的RTC框架铺路
2021-05-04 13:06:24 +08:00
Wayne Lin
4ed550a96c
Bypass controlling commands in touch class to driver.
2021-05-03 13:21:47 +08:00
Aubr.Cool
e72008b614
update serial drv
2021-04-27 13:53:14 +08:00
Bernard Xiong
75e13c6866
Merge pull request #4631 from rtthread-bot/rtt_bot
...
[update] RT-Thread Robot automatic submission
2021-04-25 20:06:24 +08:00
Bernard Xiong
ed84d02eb3
Merge pull request #4618 from mysterywolf/key
...
[stm32 pandora] implement drv_key and modify drv_sdcard
2021-04-22 11:39:15 +08:00
rtthread-bot
8278898783
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-04-21 16:41:19 +00:00
guozhanxin
48bf53b6e0
【完善】uac class, 去除 GPL 代码
2021-04-21 16:39:14 +08:00
RiceChen
0b9e01cced
add I2C bus control api
2021-04-20 00:26:28 +08:00
Meco Man
8ca492e996
format pin.c
2021-04-17 18:01:20 +08:00
Meco Man
8956b2ea46
[stm32 pandora] implement drv_key and modify drv_sdcard
2021-04-17 16:28:09 +08:00
Jianjia Ma
398718f0f9
Update mmc.c
2021-04-13 18:27:53 +01:00
Jianjia Ma
4e74279d27
Add more trys when switching data width
...
Try a few times before switching to other data widths.
The original strategy (simply wait for 20ms ) failed on STM32H743 with an MTFC4GACAJCN-4M (4GB EMMC) when switching data width.
(unless the debugging info is enabled, which add more delays)
With this EMMC, the fixed delay was set to 50ms for it to be able to work.
Instead of a fixed delay, I think we better change to trying a few more times with smaller delays.
2021-04-13 18:04:59 +01:00
StackRyan
791ecc093f
[fix] fix measurement unit of "percentage" to "permillage" for accuracy.
2021-04-07 16:59:27 +08:00
StackRyan
e6f9ecfe26
[add] add spo2 sensor support in drivers/include/drivers/sensor.h and drivers/sensors/sensor.c
...
Signed-off-by: yuanjie <yuanjie@rt-thread.com>
2021-04-02 21:43:58 +08:00
Bernard Xiong
199f73c72d
Merge pull request #4547 from rtthread-bot/rtt_bot
...
[update] RT-Thread Robot automatic submission
2021-04-02 18:37:40 +08:00
Meco Man
75ae0a544b
NULL -> RT_NULL
2021-04-01 23:04:53 +08:00
Bernard Xiong
50700c8d9b
Merge pull request #4480 from iysheng/serial
...
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close seria…
2021-03-31 17:51:58 +08:00
Bernard Xiong
6bb07da6e8
Merge pull request #4439 from OpenNuvoton/sfud_dualio_issue
...
[sfud] Correct dual_io dummy cycle setting to 4.
2021-03-31 13:53:02 +08:00
rtthread-bot
11dd63e9e9
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-03-29 06:39:42 +00:00
wanghaijing
78c370d793
pipe name depend on RT_NAME_MAX
2021-03-27 11:56:50 +08:00
Bernard Xiong
5ded4a1f52
Merge pull request #4476 from xfwangqiang/sensor_pr
...
[components][sensor]Optimize the Sensor Module
2021-03-23 20:09:26 +08:00
wangqiang
c72227680d
Fixed formatting issues
2021-03-22 10:11:42 +08:00
Meco Man
80256f6a92
[stm32][pin] 删除无用注释
2021-03-21 01:48:25 +08:00
Meco Man
37a9231e62
[kernel][devices] add security devices
2021-03-19 13:26:12 +08:00
iysheng
fcffea4501
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close serial device regardless of DMA config
2021-03-18 10:51:50 +08:00
wangqiang
3487f2790a
1. 优化pin.h, sensor.h, rtdevice.h,避免反向包含
...
2. 优化rt_sensor_close函数,polling模式下不需要操作和rt_pin_irq_enable函数
3. 优化rt_device_register和sensor_polling的LOG信息
4. 修复sensor_polling函数打开设备时的标志错误的问题
2021-03-17 17:42:43 +08:00
wangqiang
da0e3ed35d
将sensor.h的头文件放置了一份在driver/include下面,rtdevice.h的头文件也包含了sensor.h,简化应用层调用sensor模块
2021-03-17 15:20:54 +08:00
wangqiang
58bb9f5b2e
优化ops的检测代码
2021-03-17 13:44:05 +08:00
xfwangqiang
613f89a372
检测rt_sensor_device下的ops和ops中的函数指针,防止因未定义ops中的函数而造成的问题
2021-03-17 13:44:05 +08:00
dillon-min
247df39bfe
Merge branch 'master' into comp
2021-03-16 20:15:43 +08:00
Bernard Xiong
b12615f344
Merge pull request #4427 from mysterywolf/components
...
[components] auto & manual formatted
2021-03-16 13:53:54 +08:00
Dillon Min
9789e4c930
component: driver: usb: enlarge uconfig_descriptor's data array space
...
if you add more compositive usb device(more than 4), the data[256]
can't hold all the devices's config information, array out of bounds.
Fixes: 60c27fc4b
("add USB composite and mass storage class features in USB device stack")
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
2021-03-12 16:30:39 +08:00
Dillon Min
effcee25b7
component: driver: usb: Add usb interface string(iInterface) setting
...
To make compositive usb device string more reansonable, not all devices
just show same "RTT Composite Device" on windows device manager.
add a interface rt_usbd_device_set_interface_string to set respective
interface string.
Signed-off-by: Dillon Min <dillon.minfei@gmail.com>
v1 -> v2: remove all tabs to space, to match rt-thread coding style
2021-03-11 17:29:41 +08:00
Wayne Lin
22ab98a59e
[sfud] Correct dual_io dummy cycle setting to 4.
2021-03-10 23:31:14 +08:00
Meco Man
0c9bcefc6c
[ioctl] 增加TIOCGWINSZ功能
2021-03-10 20:30:13 +08:00
Bernard Xiong
8bb2817d35
Merge pull request #4366 from whj4674672/wqueue
...
[fix] wait queue flag 赋的值使用宏
2021-03-09 20:59:28 +08:00
Meco Man
ab04030f8f
revert
2021-03-08 21:53:02 +08:00
Meco Man
3c05a4e719
[compoenets] auto & manual formatted
2021-03-08 18:19:04 +08:00
Bernard Xiong
7628f36f05
Merge pull request #4376 from LeeChunHei/hid_fix
...
修復usb host hid和umouse驅動
2021-03-03 13:54:54 +08:00
Bernard Xiong
d9b88ddf2b
Merge pull request #4290 from enkiller/0201-1456
...
优化工作队列体积,临界区保护更加完善
2021-03-03 08:53:27 +08:00
Howard Su
5a184c19b2
Return when i2c transfer 0 messages
...
msg->flags is accessed without proper intialized msg variable.
2021-02-28 16:42:27 +08:00
LeeChunHei
e03eaec462
update to new usb api in hid and mouse source file
2021-02-23 13:42:19 +08:00