rtthread-bot
8278898783
Merge remote-tracking branch 'rtt_gitee/gitee_master'
2021-04-21 16:41:19 +00:00
RiceChen
0b9e01cced
add I2C bus control api
2021-04-20 00:26:28 +08: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
5ded4a1f52
Merge pull request #4476 from xfwangqiang/sensor_pr
...
[components][sensor]Optimize the Sensor Module
2021-03-23 20:09:26 +08:00
Meco Man
80256f6a92
[stm32][pin] 删除无用注释
2021-03-21 01:48:25 +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
dillon-min
247df39bfe
Merge branch 'master' into comp
2021-03-16 20:15:43 +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
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
d9b88ddf2b
Merge pull request #4290 from enkiller/0201-1456
...
优化工作队列体积,临界区保护更加完善
2021-03-03 08:53:27 +08:00
Bernard Xiong
4426af03f8
Revert "添加imxrt的pulse encoder和usb host驅動"
2021-02-23 09:44:27 +08:00
Bernard Xiong
d9c3459e11
Merge pull request #4295 from LeeChunHei/test_branch
...
添加imxrt的pulse encoder和usb host驅動
2021-02-23 09:41:27 +08:00
LeeChunHei
fa5c8e1502
modifly to use multi usb(not tested)
2021-02-13 18:50:47 +08:00
tangyuxin
83692a54c4
【workqueue】添加函数声明
...
rt_err_t rt_workqueue_cancel_all_work(struct rt_workqueue *queue);
2021-02-07 11:14:59 +08:00
tangyuxin
d6b44ca52e
[workqueue] 支持取消延时工作任务
2021-02-06 20:08:31 +08:00
iysheng
a281ee9874
code format
2021-02-05 11:46:44 +08:00
Trisuborn
3bf767dfe1
文本错误
2021-01-20 23:55:57 +08:00
Trisuborn
55402e19db
优化互补PWM输出功能的实现逻辑,兼容原本API,增加互补PWM使能/失能命令
2021-01-20 23:47:18 +08:00
Trisuborn
63239801d9
修改无意义代码
2021-01-20 11:24:00 +08:00
Trisuborn
aed3cc162f
为stm32的PWM驱动添加对STM32H7的支持、添加互补PWM功能的支持,补全pwm_get命令
2021-01-19 17:14:32 +08:00
Bernard Xiong
5af9540190
Merge pull request #4213 from mysterywolf/typo
...
Typo: rt_data_queue_peak() in dataqueue
2020-12-31 16:30:34 +08:00
Meco Man
a233495718
Typo: rt_data_queue_peak() in dataqueue
2020-12-31 16:02:42 +08:00
Bernard Xiong
5fd6aec3d1
Merge pull request #4097 from zhangsz0516/zhangsz_1127
...
[update][PM]更新RT-Thread PM2.0框架
2020-12-31 08:33:27 +08:00
张世争
5b4845089a
[update][PM]更新RT-Thread PM2.0框架
2020-12-30 15:21:17 +08:00
Bernard Xiong
e2d951ad2a
Merge pull request #3929 from geniusgogo/i2c_update
...
[dirver/i2c] i2c driver support bus lock, STOP control
2020-12-10 22:44:04 +08:00
张世争
9609bc032a
[RTC alarm]alarm功能优化,SOFT_RTC增加alarm功能
2020-12-03 17:52:03 +08:00
malongwei
d6c8b46dad
add 'rt_ringbuffer_peak' API
2020-11-22 14:20:02 +08:00
Bernard Xiong
3700283812
Merge pull request #3924 from qiyongzhong0/fix_bug_of_dataqueue
...
Fix bug of dataqueue
2020-11-18 08:09:34 +08:00
Bernard Xiong
065488e746
Merge pull request #3956 from xfwangqiang/gcc-fix
...
[Components]&&[BSP][imxrt]add ethernet configuration for imxrt1064-nxp-evk
2020-11-13 07:10:16 +08:00
张世争
8d3f687abb
add alarm flags, alarm can repeated by hour minute and second
2020-10-15 14:37:00 +08:00
WangQiang
10fb49318c
修改了一些文件头的copyright信息和Change Log
2020-10-14 10:27:17 +08:00
WangQiang
502378cf93
1. 抽象了PHY的设备模型,在components中增加了PHY设备的相关代码以及KCONFIG配置和SConscript脚本
...
2. 在IMXRT的Libraries中增加了peripherals目录,用于具体型号的设备驱动相关的代码的实现,不应与MCU的平台相关,实现PHY的设备对象中的相关接口。
3. 修改了BSP中的Sconstruct文件,增加了peripherals目录的构建
4. 修改了KEIL环境的SCT文件,用于实现以太网功能
2020-10-12 19:17:00 +08:00
xieyangrun
54c6e7d145
[dirver/i2c] i2c driver support bus lock, STOP control
2020-09-23 17:17:20 +08:00
qiyongzhong0
44baf269f7
fix bug of dataqueue
2020-09-18 09:33:34 +08:00
Bernard Xiong
36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
...
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
yangjie
9d0b860e54
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 11:14:53 +08:00
tangweikang
b2a9b8308e
[components][usb] word error : PROERTY -> PROPERTY
2020-08-04 11:01:22 +08:00
thread-liu
a84d575314
[update] format code
2020-06-24 12:53:24 +08:00
thread-liu
2fcd940b57
[update] add drivers for stm32mp1.
2020-06-23 11:26:11 +08:00
armink
202bde05ec
[DeviceDriver][SPI] Fix 3 wires SPI issue.
2020-06-13 11:24:26 +08:00
Wayne Lin
f0e4009c30
Fix rt_hw_inputcapture_isr public function name in header file.
...
Fix miss-break in HWTIMER_CTRL_INFO_GET case.
2020-05-20 16:04:31 +08:00
yangjie
1d7b34f471
[components][dataqueue]修改is_init为magic数
2020-04-08 11:05:37 +08:00
yangjie
dfcd38b74d
[components][dataqueue]add rt_data_queue_deinit
2020-04-07 17:36:56 +08:00
Yifeng Zhao
d906bf5b18
spi: support slave mode and master mode runtime config
...
support slave mode and master mode runtime config.
Change-Id: Iabadbade8997bb8e3adef8ce95f6c45f6bb35329
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
2020-03-16 10:20:03 +08:00
a1012112796
ab981a32b5
[Device/I2C] Chang debug message print way to ulog
2019-11-26 07:41:43 +08:00
MurphyZhao
260a61d36a
[components/drivers][pm] fix data type problem
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-09-23 18:02:46 +08:00