Commit Graph

2649 Commits

Author SHA1 Message Date
wangk-ge 649f75f861
修改内存泄漏问题 2019-11-11 16:46:43 +08:00
chenyong df07cccccc [components][finsh] fix compile error when the symbol table feature closed 2019-11-11 10:36:49 +08:00
Bernard Xiong 3777bec075
Merge pull request #3140 from tanglj86/master
fix rt_thread_mdelay parameter error bug;
2019-11-11 08:19:14 +08:00
Ernest f82d4f1f6f [DeviceDrivers] add warning about overflow by serial receiver 2019-11-01 10:38:07 +08:00
tanglj86 5e16a09cfb fix rt_thread_mdelay parameter error bug; 2019-10-19 15:00:15 +08:00
qinpan1003 b838280d24 fix bug for pthread_create memory leak 2019-10-10 22:42:14 +08:00
Bernard Xiong 6aa07774bb
Merge pull request #3105 from zhangjun1996/master
[components]添加ftruncate、flock、getuid、umask接口
2019-10-09 20:20:59 +08:00
zhangjun d08f533659 [components][dfs][filesystems][elmfat]修正代码风格 2019-10-08 09:11:35 +08:00
tyustli 7adbabca87 fix Queue.h mpool bug 2019-09-30 14:47:45 +08:00
zhangjun f7e7170536 [components][libc][compilers][newlib]添加flock接口 2019-09-26 14:34:59 +08:00
zhangjun 8ed3daed5f [components][libc][compilers][newlib]添加getuid和umask函数 2019-09-26 11:27:37 +08:00
zhangjun 60f2ae4d3c [components][dfs]添加ftruncate接口 2019-09-26 10:22:33 +08:00
chenyong 2b50d3d32c [components][finsh] Decouple RT_USING_DEVICE dependency for msh feature
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-25 20:14:39 +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
Bernard Xiong 32baa8e998
Merge pull request #3041 from FlyLu/master
fix i2c flags bug
2019-09-21 10:08:21 +08:00
Bernard Xiong 4d63839024
Merge pull request #3092 from liu2guang/finsh_update_dev
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input leng…
2019-09-21 07:54:54 +08:00
流光 dfd9fa4d9d [修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input length exceeding 256 bytes 2019-09-20 14:48:01 +08:00
guozhanxin 711ce4a0ea [usbd] Fixed Windows first recording failure.|修复windows下第一次录音失败的问题。
windows下第一次录放音失败的原因是:第一录放音时 windows 会先连续发送开始、结束检测设备,然后才正式开始。线程来不及处理两次开始事件不会累积,最后导致直接结束,
2019-09-19 23:12:24 +08:00
guozhanxin 98b1956937 [usbd] Add usb audio class. 2019-09-19 21:01:25 +08:00
guozhanxin cde81a296d [usbd] Fixed an error where change the interface did not call handler.|修正了改变接口不调用回调的问题 2019-09-19 20:58:58 +08:00
Bernard Xiong ae7a33c27c
Merge pull request #3077 from jesven/fix_mempool
修正rt_mp_free有可能唤醒一个错误任务指针的问题
2019-09-17 14:11:14 +08:00
shaojinchun 770cc2ffeb 修改mempool使用rt_list_for_each宏进行遍历 2019-09-17 11:02:34 +08:00
shaojinchun ae1fdc70f0 修正rt_mp_free有可能唤醒一个错误任务指针的问题 2019-09-16 16:55:40 +08:00
Bernard Xiong 1b2a1263df
Merge pull request #3075 from liruncong/libc
[components/libc/compilers]c++文件引用libc.h支持
2019-09-16 08:47:49 +08:00
liruncong 408bb22af6 [components/libc/compilers]撤销由VS编辑器在键入}后自动引起的缩进 2019-09-15 11:47:11 +08:00
Bernard Xiong 6db1bd4516
Merge pull request #3062 from yangjie11/yj_kconfig_com
[bsp]解除组件初始化与使用user main的依赖,并修改相应的 Kconfig
2019-09-15 09:35:42 +08:00
Bernard Xiong 00c2e46d5b
Merge pull request #3067 from Lawlieta/develop
[net][netdev] fix IMEI spell mistake in ifconfig command
2019-09-15 09:34:25 +08:00
liruncong d76d30cf50 [components/libc/compilers]c++文件引用libc.h支持 2019-09-14 22:52:06 +08:00
liruncong 7953cdfae3 [components/utilities/utest]修正无测试用例时,执行utest_run时跑飞问题. utest_init增加__CLANG_ARM编译开关判断 2019-09-14 22:44:44 +08:00
guozhanxin 59dfbb1266 [usb device] Fix the problem of multiple altsetting of interface failing to properly enumerate.
修复多备用设备的接口不能正常枚举的问题。
2019-09-12 18:04:44 +08:00
chenyong 438d17e27b [net][netdev] fix IMEI spell mistake in ifconfig command
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-12 14:34:54 +08:00
Bernard Xiong 900cc4b13b
Merge pull request #3052 from Lawlieta/develop
[net] Remove libc select in SAL and AT Socket function
2019-09-12 08:42:51 +08:00
zhangjun 3f39059217 [components][libc][compilers][common]移除time.c中未使用的变量timezone 2019-09-11 18:51:10 +08:00
zhangjun 43f4e10b9a Merge branch 'master' of https://github.com/rt-thread/rt-thread 2019-09-11 18:42:31 +08:00
yangjie 476dfe51f7 [components/Kconfig]解除组件初始化与使用user main的依赖,默认两者均不使能 2019-09-11 12:03:37 +08:00
Bernard Xiong 7464427894 [SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition 2019-09-11 10:24:50 +08:00
chenyong 4da818f8c2 [net] Remove libc select in SAL and AT Socket function
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-10 14:20:44 +08:00
zhangjun a186ada6da [components][libc][compilers]移动time相关头文件到common目录 2019-09-10 09:59:11 +08:00
Bernard Xiong 1370a4c79b
Merge pull request #3044 from yangjie11/stm32-lib
[bsp][stm32] update Stm32 lib
2019-09-09 08:08:43 +08:00
yangjie 27222e9cd8 [compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义 2019-09-07 18:06:03 +08:00
Bernard Xiong 187a860e17
Merge pull request #3045 from loogg/mlw-fs
at_socket的socket成员可能重复问题
2019-09-07 13:37:51 +08:00
malongwei b0ccfa31ab fix at_socket.c 2019-09-07 11:47:15 +08:00
tangyuxin 8a3e66bc27 [components][drivers][wlan] 修复WLAN事件附加数据为空的问题 2019-09-06 15:28:46 +08:00
linch 55b69111dc fix i2c flags bug 2019-09-06 14:44:50 +08:00
Bernard Xiong 30c43a098a
Merge pull request #3030 from enkiller/pr
[components][net][sal]修复多线程访问创建相同fd的问题
2019-09-05 08:04:13 +08:00
tangyuxin 2f2933245e [components][drivers][sdio]修复 SDIO product 为空的问题 2019-09-03 16:55:10 +08:00
tangyuxin 4219eb7fc3 [components][net][sal]修复多线程访问创建相同fd的问题 2019-09-03 16:16:10 +08:00
zhangjun dabe951415 [components][libc][common]修改__IAR_SYSTEMS_ICC__宏定义的作用范围 2019-09-02 14:52:32 +08:00
tangweikang 0f74ee7e20 Merge branch 'master' of https://github.com/RT-Thread/rt-thread into drv_encoder
# Conflicts:
#	components/drivers/misc/encoder.c
2019-08-30 16:11:46 +08:00
tangweikang b76d3dac8a [components][drivers] change name: encoder -> pulse_encoder 2019-08-30 15:58:52 +08:00
zhangjun 6910a9e97b 修复IAR8.1之后出现的__localtime32等重定义错误 2019-08-27 15:03:01 +08:00
Bernard Xiong 6f8ea1dac9
Merge pull request #3003 from Lawlieta/develop_at
[network][at] Fix the end sign "\r\n" conversion error in AT server,and at_server_send、at_server_recv function
2019-08-26 15:59:57 +08:00
chenyong 108b85f2af [network][at] Fix the end sign "\r\n" conversion error,and at_server_send、at_server_recv function
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-26 14:55:38 +08:00
Bernard Xiong a9866f9372
Merge pull request #3001 from Lawlieta/develop
[network][netdev] Improve the ping command error log prompt
2019-08-26 13:46:55 +08:00
Bernard Xiong 4652480b64
Merge pull request #2993 from balanceTWK/encoder_perfect
[components][drivers][encoder] update
2019-08-26 13:45:27 +08:00
chenyong f39b44ce80 [network][netdev] Improve the ping command error log prompt
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-24 16:37:26 +08:00
tyustli 363c9b1460 [bsp] [stm32] fix drv_can.c and can.c bug 2019-08-23 20:40:09 +08:00
tangweikang 086d26e0b4 [components][drivers][encoder] update 2019-08-23 14:43:44 +08:00
chenyong 0d8a216260 [network][netdev] Improve the default netdev operation and format code
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:30 +08:00
chenyong d588940dac [network][lwip] Fix DNS server address set error when multiple network device.
Signed-off-by: chenyong <1521761801@qq.com>
2019-08-22 18:33:29 +08:00
Bernard Xiong 61f151f463
Merge pull request #2981 from LaoYeNing/rtt-branch
[stm32][driver_eth] 修复开启自动协商时出错的 bug
2019-08-22 17:31:24 +08:00
zhangjun 9714b520c4 [components][libc]修改Kconfig选项名 2019-08-22 15:59:51 +08:00
zhangjun 3ede7630c0 [components][libc][compilers][common]拆分armcc和iar的time相关函数到common目录,同时修复原来在使用LIBC时time相关函数的BUG(armcc下使用gmtime、localtime、mktime会导致崩溃) 2019-08-22 15:34:50 +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
Bernard Xiong 0425f913ef
Merge pull request #2949 from enkiller/wlan
[components][drivers][wlan] 1.修复异步调用 dhcp 无法停止的bug 2.支持解挂载 lwip 协议
2019-08-20 08:44:29 +08:00
tyustli 32cffea71e [bsp] [stm32] fix drv_can.c 2019-08-19 09:15:03 +08:00
tangyuxin d6fb6fec47 [components][drivers][wlan] 1.修复异步调用 dhcp 无法停止的bug 2.支持解挂载 lwip 协议 2019-08-18 20:16:21 +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
laoyening cdb70c696e 1、修复因LAN8720A重启无效而导致无法进行自动协商,引起网卡初始化失败。
2、LWIP-1.4.1中tcp协议栈的初始化顺序有误,导致使用netdev组件时,网卡无法正常注册,该问题之前在LWIP-2.0.2和LWIP-2.1.0已经修复。
2019-08-15 10:37:58 +08:00
tangweikang 473505053f [components][drivers] add capture driven framework 2019-08-13 20:33:23 +08:00
Bernard Xiong ed1db32196
Merge pull request #2937 from balanceTWK/master_encoder
[components][drivers] add encoder driven framework
2019-08-13 11:39:37 +08:00
Bernard Xiong 94b0b0cd2c
Merge pull request #2943 from enkiller/wlan
[components][drivers][wlan] WLAN 支持被动扫描
2019-08-13 11:38:44 +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
tangyuxin 70dd41d24b [components][drivers][wlan] WLAN 支持被动扫描 2019-08-11 15:17:04 +08:00
tangyuxin 16304f14a8 [components][net] 1.网卡可卸载 2.dhcpd 服务可停止 2019-08-11 11:53:28 +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
Bernard Xiong 45a3172719
Merge pull request #2911 from enkiller/wlan
[components][drivers][wlan] 修复密码临界值判断错误
2019-08-05 08:34:48 +08:00
armink 8feb6af992 [component/ulog] Fix ulog hexdump show issue. 2019-08-03 16:52:37 +08:00
tangyuxin 7d801615b2 [components][drivers][wlan] 修复密码临界值判断错误 2019-07-31 11:57:37 +08:00
Bernard Xiong 4bd0ce9bfe
Merge pull request #2899 from gbcwbz/fix-dfs-list_fd
[components][dfs] Fix fd error in command list_fd
2019-07-29 13:33:49 +08:00
Bernard Xiong fafdbeaf78
Merge pull request #2898 from ouyangshengduo/master
修改at_socket.c文件中的sendto函数,len局部变量没有给初始值
2019-07-29 13:31:43 +08:00
Bernard Xiong dfc81e2d1b
Merge pull request #2901 from enkiller/netdev
[components][net][netdev] 修复一处BUG
2019-07-29 13:31:07 +08:00
tyustli 85a9f5add9 fix bug in Thread.cpp/Thread.h/components.c files 2019-07-27 17:33:36 +08:00
Bernard Xiong 5180262010
Merge pull request #2837 from BernardXiong/fix_dlib
[dlib] Add more header files for IAR/dlib
2019-07-27 14:26:22 +08:00
tangyuxin afd0140e67 [components][net][netdev] 修复一处BUG 2019-07-27 09:13:19 +08:00
tangyuxin 77ce9148d7 [components][drivers][wlan] 修复自动连接 32 密码长度失败的问题,增强代码稳定性 2019-07-26 20:27:42 +08:00
gbcwbz 97c9abffd1 [components][dfs] Fix fd error in command list_fd 2019-07-26 19:07:05 +08:00
senduo 350947b190
修改at_socket.c文件中的sendto函数,len局部变量没有给初始值
len值如果不给初始值0,到最后__exit的时候,result = len会导致result的值变成一个不可预估的值,进而导致mbedtls库的while循环无法正常结束,其中mebedtls中发生异常的地方在ssl_tls.c文件中的mbedtls_ssl_flush_output函数while( ssl->out_left > 0 ),因为out_left 是一个无符号整型,退出的条件只能是 out_left = 0,又因为这里面的len没有给初始值0,返回出来的值是一个很大的整型数字,导致了mbedtls中的死循环
2019-07-26 18:33:33 +08:00
Bernard Xiong 531f07172b
Merge pull request #2895 from Lawlieta/develop
[net][sal] Fix not clean event issue after poll get the error event in lwIP
2019-07-26 05:57:19 +08:00
Bernard Xiong 20130d19b5
Merge pull request #2894 from enkiller/wlan
[components][drivers][wlan] 自动连接周期可配置,可指定扫描通道
2019-07-25 18:52:16 +08:00
chenyong 232019e8d1 [net][sal] Fix not clean event issue after poll get the error event in lwIP.
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-25 11:20:40 +08:00
tangyuxin 6fbc7494b8 [components][drivers][wlan] 自动连接周期可配置,可指定扫描通道 2019-07-25 10:30:54 +08:00
SummerGift 0cfcb906d5 【完善】去除串口 dma 中无法触发的代码判断 2019-07-23 16:16:12 +08:00
Bernard Xiong 423544d1c3
Merge pull request #2873 from Ingenic-community/master
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
2019-07-21 12:10:12 +08:00