Commit Graph

1175 Commits

Author SHA1 Message Date
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 00727d6b6d provide possibility for multi usb host 2021-02-23 17:05:01 +08:00
LeeChunHei e03eaec462 update to new usb api in hid and mouse source file 2021-02-23 13:42:19 +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
tangyuxin 4f2359d34c [workqueue] 修复临界条件线程意外挂起问题
线程判断任务链表为空时,开中断挂起线程,在挂起线程的过程中,提交的任务不会被执行。

将线程的挂起与恢复放在中断保护内,确保挂起挂起恢复是一个完整的过程
2021-02-22 17:10:33 +08:00
tangyuxin 791b8a35de [workqueue] 系统默认工作队列初始化阶段提前 2021-02-22 11:23:20 +08:00
wanghaijing b39a7c4822 [fix] flag 的赋值使用宏的方式 2021-02-22 10:12:49 +08:00
Bernard Xiong 7d72bdf303
Merge pull request #4314 from mysterywolf/mktime1
[bug][localtime]解决底层驱动格林威治时间与当地时间混乱使用的问题
2021-02-15 09:26:52 +08:00
LeeChunHei b51c6339f0 finish testing 2021-02-13 18:50:58 +08:00
LeeChunHei fa5c8e1502 modifly to use multi usb(not tested) 2021-02-13 18:50:47 +08:00
LeeChunHei 75a4efc406 Add pulse encoder and usb host to imxrt (not tested) 2021-02-13 18:50:37 +08:00
Bernard Xiong 9345ebfa12
Merge pull request #4310 from mysterywolf/pin
[bug][pin] 修复错误码没有为负的错误
2021-02-08 09:09:05 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +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 a96156faf1 [workqueue] 提交正在执行的工作,返回 BUSY 2021-02-07 10:30:25 +08:00
tangyuxin 83dca09e1c [workqueue] 修复提交工作后立即取消,获取无效工作任务的问题
当高优先级任务提交工作后,立即取消。此时队列被唤醒,下面紧接着获取链表中第一个任务。但此时已经是空链表了。

每次线程被唤醒。检查当前任务链表是否未空
2021-02-06 21:54:25 +08:00
tangyuxin 7eabe5c9e9 [workqueue] 取消正在执行的工作返回BUSY 2021-02-06 20:39:52 +08:00
tangyuxin 3ef3fb50af [workqueue] 队列销毁时取消所有工作并释放内核对象 2021-02-06 20:15:50 +08:00
tangyuxin d6b44ca52e [workqueue] 支持取消延时工作任务 2021-02-06 20:08:31 +08:00
Meco Man 23304a77d9 [bug][pin] 修复错误码没有为负的错误 2021-02-06 02:27:18 +08:00
Bernard Xiong 9787116870
Merge pull request #4272 from iysheng/master
[bsp][gd32103c-eval] Add hwtimer driver and modify adc driver with LOG_x function
2021-02-06 00:15:41 +08:00
Bernard Xiong 7fc236dddb
Merge pull request #4306 from mysterywolf/rtc
[libc][stm32-driver RTC] 修复RTC驱动以及libc time.c库若干问题
2021-02-05 20:23:24 +08:00
Meco Man ffd270acef fix comment 2021-02-05 18:55:39 +08:00
wanghaijing f62d8938dc [sdio] free memory and enhance performance 2021-02-05 15:49:30 +08:00
Meco Man c2fca3dffe 修复RTC驱动以及libc time.c库若干问题 2021-02-05 13:13:22 +08:00
iysheng a281ee9874 code format 2021-02-05 11:46:44 +08:00
tangyuxin 0230d32ca0 添加断言及注释 2021-02-01 15:02:22 +08:00
tangyuxin b42506fb73 优化功能重复的代码 2021-02-01 15:02:21 +08:00
tangyuxin c5218b5eee 修复紧急工作队列插入问题
紧急工作仍插入队列尾部,先将其插入队列头部
2021-02-01 15:02:20 +08:00
tangyuxin 5b52e6c7e3 修复同步取消锁中断等信号的问题 2021-02-01 15:02:19 +08:00
tangyuxin 5a16a2060e 定时处理函数临界区保护更加完整
定时器回调函数中,添加工作之前打开了中断。此时在极端情况下,会导致状态不对。
2021-02-01 15:02:18 +08:00
tangyuxin 10b5aa8f59 合并 cancel 和 cancel_delayed 函数,优化代码体积
合并 _workqueue_cancel_work 和 _workqueue_cancel_delayed_work 函数,优化代码体积
2021-02-01 15:02:17 +08:00
tangyuxin 0c87becb3e 合并 submit 和 submit_delayed,优化代码体积
将 _workqueue_submit_delayed_work 和 _workqueue_submit_work 函数合并成一个。优化代码体积
2021-02-01 15:02:16 +08:00
Bernard Xiong f9c5007cae
Merge pull request #3271 from fmkong/sensor_irq_disable
[drivers/sensor]disable irq only when the sensor and module sensors a…
2021-01-22 18:35:21 +08:00
Bernard Xiong b36aeb46a6
Merge pull request #4226 from redocCheng/master
解决添加RT_USING_MTD_NOR编译报错的问题
2021-01-22 18:24:04 +08:00
redoc a04bb0be3a
删除换行 2021-01-22 13:45:41 +08:00
redoc d0743d6090
1、【删除】多余语句 2021-01-22 13:44:15 +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
shuobatian 791527caca add armclang support 2021-01-11 20:07:12 +08:00
redoc 3ac86d08cb
解决添加RT_USING_MTD_NOR编译报错的问题。 2021-01-07 16:28:54 +08:00
Meco Man e3fc77f288 update serial.c 2021-01-01 17:24:26 +08:00
Meco Man a657c00e72 update pipe.c 2021-01-01 17:21:48 +08:00
Meco Man a940728162 update serial 2021-01-01 17:07:11 +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 94ba15a80b
Merge pull request #4062 from luanxg/lxg_dev
[update] 获取timer count时,防止因中断到来导致overflow更新
2020-12-29 08:27:11 +08:00
yangjie eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
tyustli 48d7cf4af9 【修改】解耦 touch 和 pin 2020-12-25 17:31:16 +08:00
Prry a38e7768ac 缩进由“TAB键”改用为“空格” 2020-12-20 22:23:28 +08:00
yangjie ef62febf1f [SConscript]update group name 2020-12-19 16:49:11 +08:00
Prry e7ed764254 添加TOF传感器描述信息 2020-12-19 12:23:37 +08:00
Bernard Xiong 57ddea482f
Merge pull request #4150 from mysterywolf/setwin
[ioctl] add TIOCSWINSZ
2020-12-14 15:05:47 +08:00
mysterywolf 1404d208db [ioctl] add TIOCSWINSZ 2020-12-14 01:13:51 +08:00
Bernard Xiong 2a4b6453b0
Merge pull request #4145 from thread-liu/action
[Audio] Header files are repeatedly included
2020-12-11 17:38:09 +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
thread-liu c827a42a18 [update] audio deficiency head file, compile fail. 2020-12-10 16:56:59 +08:00
liuduanfei 1f7a8e46a4
Update audio.c
修改注释错误 repaly ---> replay
2020-12-07 11:50:15 +08:00
Bernard Xiong 497806c883
Merge pull request #4055 from DavidLin1577/patch-18
[components/drivers]fixed re-include '.h' file of audio
2020-12-05 14:56:52 +08:00
Bernard Xiong fbab9c8c11
Merge pull request #4054 from DavidLin1577/patch-17
[components / drivers]update audio_mic.c
2020-12-05 14:55:37 +08:00
张世争 9609bc032a [RTC alarm]alarm功能优化,SOFT_RTC增加alarm功能 2020-12-03 17:52:03 +08:00
Bernard Xiong 9d60727058
Merge pull request #4109 from bigmagic123/fix_raspi4
Fix raspi4
2020-12-03 08:10:37 +08:00
tangyuxin c3ba2b07fa [components][workqueue] Modify system work queue initialization level 2020-12-02 14:30:31 +08:00
bigmagic 7a1f0e0f67 when flag is RT_DEVICE_FLAG_STREAM, paser '\n' break! 2020-12-02 10:11:38 +08:00
Bernard Xiong 2ee715c411
Merge pull request #4088 from loogg/mlw
add 'rt_ringbuffer_peak' API
2020-12-02 07:35:07 +08:00
guozhanxin bb016927f8 Improve the clock Settings for switching to high speed mode in the SDIO framework. 2020-11-27 17:28:49 +08:00
Bernard Xiong 0228f7b31d
Merge pull request #4044 from zhangsz0516/zhangsz_1120a
[rtc.alarm][fix]fix alarm when update datetime
2020-11-25 16:24:47 +08:00
张世争 945053a833 [components][PM][Update]优化PM电源模式选择 2020-11-23 21:41:19 +08:00
malongwei d6c8b46dad add 'rt_ringbuffer_peak' API 2020-11-22 14:20:02 +08:00
luanxueguang accb73d8df [update] 获取timer count时,防止因中断到来导致overflow更新 2020-11-21 17:44:52 +08:00
David Lin 9f5d860d04
Update audio.c 2020-11-21 16:07:03 +08:00
David Lin 7f1aa82a88
Update audio_pipe.c 2020-11-21 16:05:24 +08:00
David Lin db71258051
[components / drivers]fixed re-include of audio 2020-11-21 16:00:40 +08:00
David Lin f086765401
Update cdc_vcom.c 2020-11-21 15:37:45 +08:00
David Lin b10c9b7b63
Update hid.c 2020-11-21 15:36:56 +08:00
David Lin cc6b6a6ee3
Update hid.c 2020-11-21 15:36:26 +08:00
David Lin da464e6cc3
Update mstorage.c 2020-11-21 15:35:53 +08:00
David Lin 107b2063c1
Update winusb.c 2020-11-21 15:32:09 +08:00
David Lin f273e52614
Update audio_speaker.c 2020-11-21 15:30:12 +08:00
David Lin b73775da85
Update audio_mic.c 2020-11-21 15:29:45 +08:00
David Lin 626e8537f0
[components / drivers]update audio_mic.c
1. delete '#include <rtservice.h>', because rtthread.h had include rtservice.h;
2. delete '#include <rtthread.h>', because rtdevice.h had include rtthread.h.
2020-11-21 15:25:27 +08:00
张世争 e8eb74da58 [rtc.alarm][fix]fix alarm when update datetime 2020-11-20 09:02:20 +08:00
guozhanxin 3952fd780f [fix] When enable audio and usb at the same time. The warning <"MIN" redefined> is shown. 2020-11-18 11:13:28 +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 37ecf07992
Merge pull request #4028 from zhangsz0516/zhangsz_1117
[componets/drivers/touch]完善Touch设备命令
2020-11-18 08:07:54 +08:00
张世争 10862586bf [componets/drivers/touch]完善Touch设备命令 2020-11-17 08:34:30 +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
Bernard Xiong 4b2b9a87c6
Merge pull request #3871 from OpenNuvoton/rtt_usbhost_issue
Fix USB host core bugs.
2020-11-07 14:42:37 +08:00
Bernard Xiong 932e14acb4
Merge pull request #3964 from zhangsz0516/zhangsz_1015
add alarm flags, alarm can repeated by hour minute and second
2020-11-03 07:55:41 +08:00
SimpleInit c495d5a247 1.Add sensor vendor MAXIM.
2.Fix: When printing sub-zero temperature, "-" is displayed after ".".

Signed-off-by: SimpleInit <63694297@qq.com>
2020-10-20 20:55:34 +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
qiyongzhong0 77f0814992 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into fix_bug_of_dataqueue 2020-09-29 12:35:13 +08:00
Bernard Xiong aa05fc1469
Merge pull request #3675 from DavidLin1577/patch-10
[drivers/usb]Fixed a bug may cause stackover flow
2020-09-27 08:23:55 +08:00
Bernard Xiong 08688f7095
Merge pull request #3712 from egbert-h/master
mstorage.c: fix bug in device descriptor that MAC OS enumeration failed.
2020-09-27 08:23:14 +08:00
xieyangrun 54c6e7d145 [dirver/i2c] i2c driver support bus lock, STOP control 2020-09-23 17:17:20 +08:00
qiyongzhong0 967cc968e8 fix difference of style 2020-09-18 09:45:47 +08:00
qiyongzhong0 44baf269f7 fix bug of dataqueue 2020-09-18 09:33:34 +08:00
Bernard Xiong 8afb8b1e29
Merge pull request #3918 from SimpleInit/master
删除非对齐地址访问语句和__CORTEX_M宏定义判断
2020-09-17 14:18:46 +08:00
Bernard Xiong 13c27246c8
Merge pull request #3916 from willianchanlovegithub/Willianchan
[drivers/serial]add a line feed to the carriage return character when…
2020-09-17 07:54:45 +08:00
SimpleInit a70808ce9e 删除非对齐地址访问语句和__CORTEX_M宏定义判断
Signed-off-by: SimpleInit <63694297@qq.com>
2020-09-14 23:57:14 +08:00
WillianChan ee3d05f583 [drivers/serial]resolve compile error
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 18:17:00 +08:00
WillianChan c6b4c2ea2b [drivers/serial]modify annotation
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 17:21:38 +08:00
WillianChan 183f8b9402 [drivers/serial]add a line feed to the carriage return character when using interrupt tx
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
2020-09-14 15:27:06 +08:00
luhuadong 6c25b839ee [sensor] support GPS/GNSS sensor class 2020-09-11 18:04:28 +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
Bernard Xiong 8ea34bf936
Merge pull request #3850 from SimpleInit/master
修复"response+1"导致STM32 HAL库SPI内存非对齐访问的hard fault
2020-09-11 09:15:32 +08:00
Wayne Lin f4d86cec7f Fix USB host core issues.
1. Limit >4 USB ports hubs.
2. Double free intf.
3. dname buffer size is too small.
4. Reset child pointer after detaching instance.
2020-09-02 17:49:17 +08:00
qiyongzhong0 c16c5b968f fix dataqueue, limit queue size to usable values (2,4,8,16...) to avoid errors when put_index exceed 0xffff. 2020-08-30 14:35:09 +08:00
SimpleInit 4a654414e3 修复"response+1"导致STM32 HAL库SPI内存非对齐访问的hard fault 2020-08-26 21:03:15 +08:00
thread-liu fcd844f982 update error SFUD support manufacturer (Micronix -> Macronix) and add MX25L51245G sfud flash info. 2020-08-15 14:34:19 +08:00
Bernard Xiong d463a5a0ba
Merge pull request #3802 from liuduanfei/master
Change I2C configuration hierarchy
2020-08-13 18:18:10 +08:00
liuduanfei 27a6ebf4b1
Update Kconfig 2020-08-05 10:06:20 +08:00
liuduanfei 719b71a015
Update Kconfig 2020-08-04 15:11:48 +08:00
liuduanfei ba5f2a5bb6
Update Kconfig
Change I2C configuration hierarchy
2020-08-04 15:10:43 +08:00
tangweikang b2a9b8308e [components][usb] word error : PROERTY -> PROPERTY 2020-08-04 11:01:22 +08:00
zhiweih 814b646d17
Specify date string length in FINSH date command.
libc ctime returns a fixed 25 character string without a NULL terminator. Print it without specifying length in FINSH date command prints extra contents and could potentially be dangerous.
2020-07-27 23:09:26 +08:00