Commit Graph

285 Commits

Author SHA1 Message Date
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
tangweikang b76d3dac8a [components][drivers] change name: encoder -> pulse_encoder 2019-08-30 15:58:52 +08:00
Bernard Xiong d682c35441
Merge pull request #2948 from balanceTWK/master_capture
[components][drivers] add input capture driven framework
2019-08-21 13:48:12 +08:00
tangweikang f9bad31d57 [components][drivers] change name: capture -> inputcapture 2019-08-21 10:51:02 +08:00
tyustli c81eebcd5d [bsp] [stm32] fix drv_can.c 2019-08-16 12:14:30 +08:00
tangweikang e1587de6f7 [components][drivers] update capture driven framework 2019-08-15 16:44:05 +08:00
tangweikang 473505053f [components][drivers] add capture driven framework 2019-08-13 20:33:23 +08:00
tangweikang 2b9a9e0163 [components][drivers] update : Move clear_count() function from ops->control() to ops->clear_count() 2019-08-12 13:47:03 +08:00
tangweikang e5dc60e3cf [components][drivers] update encoder driven framework 2019-08-11 16:15:43 +08:00
tangweikang cc565da5a1 [components][drivers] add encoder driven framework 2019-08-09 18:42:14 +08:00
Bernard Xiong ab37857609
Merge pull request #2922 from enkiller/workqueu
[components][drivers][ipc] 完善工作队列,增强稳定性
2019-08-07 13:30:24 +08:00
EvalZero e855fb8536 [components][audio]improve device ops interface and data flows. 2019-08-06 11:36:50 +08:00
tangyuxin badd211457 [components][drivers][ipc] 完善工作队列,增强稳定性
1. 可直接提交延时任务, 无需额外调用延时初始化
2. 修复延时任务 PENDING 时,取消任务会递归调用的问题
2019-08-05 14:18:15 +08:00
BernardXiong 0c07c2005d [DeviceDrivers] Remove backup mtd code 2019-06-27 07:36:25 +00:00
guozhanxin 608ead86f4 [driver][nand] Fix hardfault errors.|修复 hardfault 错误。 2019-06-19 17:57:47 +08:00
guozhanxin c421757cc4 [driver][mtd_nand] Formatting code.|格式化代码。 2019-06-19 17:21:42 +08:00
tyustli 89b90592ee add touch framework 2019-06-12 09:38:32 +08:00
tangyuxin 1cb3c89bce [components][drivers] add hardware crypto device 2019-05-25 10:59:12 +08:00
EvalZero d51e0783ba [components][pm]fix some issues with low power components 2019-05-07 21:03:48 +08:00
EvalZero c57f2370ad [components][pm]improve low power management components 2019-05-06 18:17:55 +08:00
tangyuxin 91345d62af [components][drivers][ipc] 初始化工作对象所有成员 2019-04-28 14:31:57 +08:00
EvalZero 83b6260b3f [components][workqueue]improve delayed work for reinit. 2019-04-22 11:43:45 +08:00
Bernard Xiong 2c8fb7022e
Merge pull request #2526 from BernardXiong/fix_pipe
[libc] Fix the unamed pipe close issue
2019-04-01 18:10:44 +08:00
Bernard Xiong ff00378728 [libc] Fix the unamed pipe close issue 2019-03-31 15:21:49 +08:00
EvalZero c7ccb4f532 [components][drivers][workqueue] add system default workqueue and delayed work. 2019-03-30 14:29:30 +08:00
Bernard Xiong bcd591c5f5
Merge pull request #2018 from dogandog/master
Update serial.h
2018-11-30 12:48:04 +08:00
Owen a3e4d57a54
Update serial.h
correct definition of struct serial_configure
2018-11-30 11:07:56 +08:00
armink 15b2feb60d [DeviceDriver] Update QSPI driver framework. 2018-11-24 15:02:53 +08:00
Bernard Xiong 70bfe427e6
Merge pull request #2001 from armink/fix_rbb
[DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_…
2018-11-23 17:17:46 +08:00
armink 74232f2de4 [DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_buf API.
Signed-off-by: armink <armink.ztl@gmail.com>
2018-11-22 18:08:12 +08:00
zylx 257ce972d0 [DeviceDrivers][spi]:add qspi support 2018-11-22 13:54:37 +08:00
chenchaoqun@rt-thread.com 049944529f [add] adc framework 2018-11-20 10:08:31 +08:00
armink 2d59fe0310 [DeviceDriver] Add power management device driver. 2018-10-29 09:54:52 +08:00
zyh d950ffc485 [Components][USB]修复拼写错误 2018-10-26 11:41:54 +08:00
liruncong d3764db892 解决以下问题:
1) usb驱动中时间未与RT_TICK_PER_SECOND关联问题,RT_TICK_PER_SECOND变化时,这些时间将发生变化
解决: 增加USB_TIMEOUT_BASIC/USB_TIMEOUT_LONG/USB_DEBOUNCE_TIME
2) 修正rt_usbh_detach_instance函数使用device->cfg_desc前未判断是否有效. 可导致abort
3) rt_usbh_hub_port_change增加device->port初始化,否则struct uhcd_ops相关函数无法直接得到端口号
2018-10-23 20:04:51 +08:00
Bernard Xiong e158d48de0 [license] Fix the bad license replace. 2018-10-15 00:50:04 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
guozhanxin 12b7634c62 [components][drivers][pwm] Add rt_pwm_disable function and API Interface 2018-09-26 17:29:39 +08:00
Bernard Xiong b5202d17fb
Merge branch 'master' into dev 2018-09-21 17:09:46 +08:00
heyuanjie87 b620c10014 更改许可 2018-09-20 09:41:05 +08:00
heyuanjie87 bc5a5f89e9 添加新的mtd接口 2018-09-18 18:41:33 +08:00
tangyuxin 324bfc5897 [DeviceDriver][wlan] add new wlan framework 2018-09-15 10:16:04 +08:00
armink dff8a2c513 [DeviceDriver] Add rbb (ring block buffer) data structure. 2018-09-12 08:59:58 +08:00
MurphyZhao 651149fcbb [components/drivers/spi] 增加 sfud flash 设备查找接口
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-08-16 14:48:46 +08:00
zyh b3eaf17e19 [Components][pipe]暴露 rt_pipe_delete 接口 2018-07-10 14:54:39 +08:00
zyh 151330b721 [Components][USB][Device]Support customer HID class|支持自定义HID设备 2018-07-04 14:13:09 +08:00
Bernard Xiong f0f883668c
Merge pull request #1579 from RT-Thread/fix_waitqueue
Fix waitqueue issue
2018-06-29 13:19:16 +08:00
luo jiao ef8398c2bb [components][drivers][pin module]:typo fix for pin_detach_irq 2018-06-26 22:18:58 +08:00
Bernard Xiong ef132f3c94 [Kernel] clean code for indentation. 2018-06-26 11:57:20 +08:00
Bernard Xiong a1a56ce1d1 [Kernel] Add flag in wait queue and fix wakeup issue. 2018-06-26 11:19:38 +08:00
liang yongxiang fef854a431 [DeviceDrivers] remove unused-assign code 2018-06-23 12:09:24 +08:00
aozima cdfef48395 [DeviceDrivers] add pwm driver framework. 2018-06-07 21:23:22 +08:00
zyh 1ed770039c [Coponents][USB device]add class register interface 2018-04-24 12:48:05 +08:00
ZYH 0ab93e70f0 [Components][USB Device]增加协议栈对HS设备的支持
- 增加winusb对HS的支持。其余class还在完善中
2018-03-16 16:02:57 +08:00
tangyuxin a745d5ee03 [drivers][pin]增加两种IO中断模式 2018-03-15 11:12:22 +08:00
Bernard Xiong ba2b1f0e56 [DeviceDrivers][MMC] rename fls to __rt_fls 2018-03-04 17:25:59 +08:00
armink cd23728070 [DeviceDriver][RTC] Add soft RTC and NTP auto sync time config to Kconfig. 2018-02-16 13:14:48 +08:00
BernardXiong 341f78fed7 [DeviceDrivers] Add more API.
1. Use float type for clock_cpu_getres() return value;
2. Add clock_cpu_microsecond/millisecond APIs.
2017-12-31 14:44:04 +08:00
bernard 09f2d42e5a [DeviceDrivers] Add device API in pipe device. 2017-12-29 22:33:39 +08:00
Bernard Xiong 7c4417855e [DeviceDrivers] Add CPU time 2017-12-24 00:06:29 +08:00
uestczyh222 18d42fe077 [Components][USBHOST]Core OK 2017-12-14 03:14:44 +08:00
uestczyh222 b42fc96408 [host first] 2017-12-13 15:58:11 +08:00
uestczyh222 049ed5047f [Components][USB][DFS][usb minimize stack size dfs fix build error
without finsh]
2017-12-07 07:24:37 +08:00
MiraculousConch a8fc894c19 [Components][Drivers][USB]fix OS proerty desc bug 2017-11-28 16:13:16 +08:00
MiraculousConch d40d5355b8 [Components][Drivers][USB]WinUSB And Core update
协议栈增加允许class在windows环境下枚举时向系统注册附加属性。并在winusb class中提供范例(注册GUID信息)
2017-11-28 03:02:48 +08:00
uestczyh222 cfc0304be5 [Compinents][USB]增加USB协议栈对微软OS描述符的支持,修复HID class的IAD接口,增加免驱新class WinUSB 2017-11-23 00:38:56 +08:00
uestczyh222 e365ff5473 [Components][Drivers][USB][HID]Update to common hid 2017-11-16 19:05:17 +08:00
uestczyh222 a3808362ac [Components][Drivers][USB]fix usb device core 2017-11-15 20:54:54 +08:00
tangyuxin cc54e0a74e [usb]update usb stack 2017-11-11 10:53:08 +08:00
tangyuxin f7a6078c5c [audio]新版本pipe导致audio编译错误,添加以前的pipe 2017-11-10 19:50:29 +08:00
armink ba2f149a4c [DeviceDriver] Change `pin_irq_enable` to `rt_pin_irq_enable`. 2017-11-08 00:05:46 +08:00