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
Bernard Xiong
789fb4a938
Merge pull request #2875 from Ingenic-community/mmc
...
sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.
2019-07-20 14:01:42 +08:00
Zhou Yanjie
de69a9b500
sdio: mmc.c: 修复缩进/Fix indentation.
...
修复版权信息中的缩进格式。
Fix indentation in copyright information.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie
976ea24112
sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.
...
修改“mmc_parse_ext_csd”函数,防止容量计算过程溢出。
Modify the "mmc_parse_ext_csd" function to prevent the capacity
calculation process from overflowing.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie
3c9375181d
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
...
在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。
In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,".
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 16:03:57 +08:00
armink
c33299ab93
[finsh] Fix the compile error when only using msh mode on x86_64 platform.
2019-07-19 15:44:36 +08:00
Bernard Xiong
9a1be9e73d
Merge pull request #2860 from willianchanlovegithub/sensor
...
[component][drivers][sensors]Increase the output of sensor information
2019-07-17 10:43:35 +08:00
Willian Chan
06b4a0611d
[component][drivers][sensors]Fix compilation warnings
...
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-17 09:27:30 +08:00
Willian Chan
7db27345c2
[component][drivers][sensors]Increase the output of sensor information
...
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-16 18:30:15 +08:00
tangyuxin
46498d5d1e
[components][drivers][wlan] 功能可裁剪
...
- WLAN 连接信息保存功能可裁剪
- WIFI MSH 命令功能可裁剪
- WLAN 管理功能可裁剪
- WLAN 自动连接功能可裁剪
- WLAN 自动连接时使用最新热点信息
- WLAN 用户事件回调由独立线程调用
- WLAN 独立线程可裁剪
- WLAN 协议管理功能可裁剪
- LWIP 协议层可裁剪
- SCAN 结果支持过滤
- WIFI 阻塞式连接支持多次扫描
- WLAN 新增网卡对象指针
- WLAN 获取信息时更新信号强度
- 其他优化性质改动
2019-07-16 18:26:31 +08:00
tangyuxin
1f2e8e1f3f
[components][drivers][hwcrypto] 更正一处命名错误
2019-07-15 13:48:14 +08:00
Bernard Xiong
2844e3d974
[dlib] Add more header files for IAR/dlib
2019-07-08 13:34:57 +08:00
Bernard Xiong
3eb3a736de
Merge pull request #2831 from Lawlieta/develop
...
[net][lwip][dhcpd] Fix dhcp server compile error in lwIP 2.1.0
2019-07-05 17:09:57 +08:00
chenyong
52d1c50efe
[net][lwip] Fix set_if() compile error when enable dhcpd fucntion and close finsh.
...
[net][dhcpd]Fix dhcpd fucntion compile error in lwIP 2.1.0.
2019-07-04 16:17:52 +08:00
guozhanxin
04296e97b6
[netdev] Add a non-null judgment to the netstat command.|为 netstat 命令添加非空判断。
2019-07-03 22:30:33 +08:00
chenyong
dcd8b8029b
[net][netdev] Delete network commands interrupt disable processing
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-07-03 10:49:19 +08:00
chenyong
48857d1e67
[net][netdev] Add FINSH_USING_MSH control for netdev network commands
2019-07-02 20:11:41 +08:00
guozhanxin
f128f155a4
[components] move freemodbus to package.|将freemodbus移到软件包。
2019-06-28 10:09:09 +08:00
BernardXiong
c92ec76df8
[Device Drivers] Remove backup mtd code
2019-06-27 07:43:53 +00:00
BernardXiong
0c07c2005d
[DeviceDrivers] Remove backup mtd code
2019-06-27 07:36:25 +00:00
tangyuxin
7d09071858
[components][dfs][nfs] 修复Linux NFS服务器认证问题
2019-06-26 14:38:52 +08:00
Bernard Xiong
2f1ab87138
Merge pull request #2808 from tyustli/cpp_thread
...
fix cpp thread class error
2019-06-25 21:33:36 +08:00
mulan
759848122e
Update Thread.cpp
2019-06-25 16:14:58 +08:00
chenyong
7d2ffe63e9
[net][sal][netdev] Add IPv6 option configuration and feature support in SAL and netdev
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-06-24 17:46:18 +08:00
tyustli
9efd293bb9
fix format display
2019-06-24 16:05:32 +08:00
tyustli
a559179e6f
fix cpp thread class error
2019-06-24 15:59:26 +08:00
guozhanxin
608ead86f4
[driver][nand] Fix hardfault errors.|修复 hardfault 错误。
2019-06-19 17:57:47 +08:00
guozhanxin
b2dedae40d
[driver][mtd_nand] Add debug command to MSH.|向 MSH 添加调试命令。
2019-06-19 17:21:43 +08:00
guozhanxin
c421757cc4
[driver][mtd_nand] Formatting code.|格式化代码。
2019-06-19 17:21:42 +08:00
Bernard Xiong
d8702aa568
Merge pull request #2793 from tyustli/cpp11_error
...
fix kernel and framework no cast type error
2019-06-19 15:33:27 +08:00
tyustli
d8eb0cfc1e
fix kernel and framework no cast type error
2019-06-18 20:09:19 +08:00
Bernard Xiong
b01eb52c25
Merge pull request #2789 from tyustli/touch
...
add touch index in Kconfig file
2019-06-18 18:11:42 +08:00
tyustli
e8e2e0af3c
add touch index in Kconfig file
2019-06-18 11:12:16 +08:00
guozhanxin
167342cf41
[dfs] fix some bug for uffs filesystem.|修复了一些uffs文件系统的BUG.
2019-06-18 10:45:54 +08:00
Bernard Xiong
93de68129e
Merge pull request #2780 from zhangjun1996/master
...
修复由于stm32系列的can驱动编译错误
2019-06-17 20:05:27 +08:00
Bernard Xiong
2acfc7009c
Merge pull request #2775 from Guozhanxin/sensor_fix
...
修复 sensor 设备关闭后分配的内存不释放的问题
2019-06-17 13:25:37 +08:00
zhangjun1996
537c2376f9
1,修复由于stm32系列的hal库升级导致stm32f1和stm32f4平台的can驱动编译错误
...
2,关闭components/drivers/Kconfig中默认打开的can硬件滤波器选项
3,为了让can波特率设置匹配stm32f429的时钟,给stm32f429增加波特率表
4,以上修复在stm32f103-fire-arbitrary,stm32f407-atk-explorer,stm32f429-atk-apollo三个bsp中测试通过
2019-06-15 11:52:11 +08:00
tyustli
06051905f0
修改函数出错时返回值为负值
2019-06-14 09:03:07 +08:00
guozhanxin
7d6fa2388d
[sensor] To streamline the code.| 精简代码,去除冗余的代码。
2019-06-13 17:52:52 +08:00
tyustli
116b7880c3
add enable/disable interrupt command
2019-06-13 16:48:40 +08:00
guozhanxin
2600f82e39
[sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误.
2019-06-13 16:01:23 +08:00
guozhanxin
44abc90990
[sensor] Add static keywords for internal functions.| 为内部函数添加 static 关键词。
2019-06-13 15:39:11 +08:00
guozhanxin
1ec6f5b101
[sensor] Fix the problem that memory is not free after the sensor is closed. | 修复sensor设备关闭后内存不释放的问题。
2019-06-13 15:39:11 +08:00
tyustli
10ac5f7a34
modify return value and delete device name calloc
2019-06-13 11:16:44 +08:00
tyustli
89b90592ee
add touch framework
2019-06-12 09:38:32 +08:00
Bernard Xiong
97ea1a3b6e
Merge pull request #2768 from lymzzyh/rndis
...
[Components][USB][RNDIS/ECM] 修复热插拔鲁棒性和delay linkup 使用硬件定时器时报错的问题
2019-06-11 17:29:51 +08:00
Bernard Xiong
71b0c1cb73
Merge pull request #2767 from Zero-Free/master
...
[components][pm]add pm ops support
2019-06-11 16:03:01 +08:00
ZYH
e1517a0981
[Components][USB][RNDIS] fix delay linkup using soft timer
2019-06-11 15:32:37 +08:00
ZYH
2a738e1ee2
[Components][USB][ECM] fix hotplug
2019-06-11 15:27:11 +08:00
ZYH
c12d59dc02
[Components][USB][RNDIS] fix hotplug
2019-06-11 15:24:21 +08:00
EvalZero
0008256663
[components][pm]add pm ops support
2019-06-11 11:33:21 +08:00
ZYH
7a75e449b6
[Components][USB][ECM] fix hotplug
2019-06-10 14:10:59 +08:00
ZYH
cc9ce52bae
[Components][USB][RNDIS] fix hotplug and "delay linkup"
2019-06-10 14:10:08 +08:00
Bernard Xiong
c8f0ae3f11
Merge pull request #2755 from Guozhanxin/sensor_fix
...
[sensor] Fixed error with mutex_lock take and release not matching.
2019-06-06 21:30:45 +08:00
guozhanxin
8ade4fff2e
[sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误.
2019-06-06 16:14:51 +08:00
tangyuxin
ab7c1530ea
[components][drivers] 硬件大数适应性调整
2019-06-05 16:57:09 +08:00
Bernard Xiong
91c858ead2
Merge pull request #2740 from loogg/master
...
Update shell.c
2019-05-30 08:37:19 +08:00
guozhanxin
34e5383f9a
[sensor] fixed step name display abnormal.
2019-05-30 00:06:44 +08:00
loogg
52d1e51e3e
Update shell.c
2019-05-29 20:34:03 +08:00
loogg
b29154673e
Update shell.c
2019-05-29 20:14:53 +08:00
Bernard Xiong
ebe6c55c75
Merge pull request #2733 from nicedayzhu/patch-1
...
[bugfix][net][netdev] Update netdev->ip_addr&gw&netmask after registered.
2019-05-29 18:11:35 +08:00
nicedayzhu
fe3ab4605d
[Bugfix]Update netdev info after registered
...
1.修复ifconfig命令无法正确显示IP,网关,掩码的问题
2.lwip_2.1.0,增加netdev->mtu = lwip_netif->mtu;
2019-05-29 15:34:02 +08:00
nicedayzhu
c8e1fbf673
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 15:22:11 +08:00
nicedayzhu
c10f087d9e
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 14:15:10 +08:00
armink
ab700d54aa
[DeviceDriver][SPI] Cleanup the at45db/gd25q/w25q/sst25v SPI flash driver. Please using SFUD instead of them.
2019-05-29 14:05:39 +08:00
nicedayzhu
6454fa81d8
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 13:42:06 +08:00
nicedayzhu
f5cb3ac760
[Bugfix]Update netdev info after registered
...
修复ifconfig命令无法正确显示IP,网关,掩码的问题
2019-05-29 13:37:16 +08:00
armink
f9a7b47955
[DeviceDrivers][i2c] Remove the fm24clxx driver in i2c.
2019-05-29 11:17:46 +08:00
nicedayzhu
c25f7cbfc7
bugfix
...
[net][netdev] Update netdev->ip_addr&gw&netmask after registered.
2019-05-29 11:12:05 +08:00
Bernard Xiong
7494b40d6a
Merge pull request #2728 from Lawlieta/develop
...
[net][at] Fix socket create failed issue when default netdev mismatch.
2019-05-28 20:11:46 +08:00
chenyong
1f9a668607
[net][at] Fix socket create failed issue when default netdev mismatch.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-28 16:25:42 +08:00
chenyong
4608e1164c
[net][sal] Improve the sal_bind() function
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-28 12:04:25 +08:00
chenyong
b5ad12573f
[net][at] update AT component V1.3.0, change as follows:
...
- AT Socket feature supports multi-client connections;
- Fix `send data error, current socket (0) state (0) is error` issue when the socket is closed;
- Improve dirty data processing when AT device hard reset;
- Improve `at_obj_set_urc_table()` fucntion, Support for setting multiple URC tables;
- Improve RAW data print format;
2019-05-27 12:03:04 +08:00
tangyuxin
1cb3c89bce
[components][drivers] add hardware crypto device
2019-05-25 10:59:12 +08:00
Bernard Xiong
cd8ed012fc
Merge pull request #2695 from BernardXiong/remove_gnu99
...
remove gnu99 code
2019-05-16 13:51:02 +08:00
Bernard Xiong
9e8c5033df
Merge pull request #2694 from armink/fix_ulog
...
[components][ulog] Make the asynchronous log output more timely.
2019-05-16 13:50:44 +08:00
Bernard Xiong
b7a6cc42de
Merge pull request #2690 from SummerGGift/master_rt-thread
...
[components][libc] Modify the gettimeofday() function
2019-05-16 13:49:45 +08:00
Bernard Xiong
6b1f8d9155
remove gnu99 code
2019-05-16 10:22:57 +08:00
armink
11b0c65921
[components][ulog] Make the asynchronous log output more timely.
2019-05-16 09:55:35 +08:00
Bernard Xiong
4539172f5c
Merge pull request #2687 from armink/fix_ulog
...
[components][ulog] Fix the log length error when using multiple non-c…
2019-05-16 09:38:08 +08:00
SummerGift
a900eaa053
Merge remote-tracking branch 'remotes/origin/master' into master_rt-thread
2019-05-16 09:33:14 +08:00
Bernard Xiong
b249ad77bb
Merge pull request #2689 from balanceTWK/pr_master
...
[components][freemodbus] update function : xMBPortSerialInit(); xMBMasterPortSerialInit
2019-05-16 09:16:31 +08:00
SummerGift
e809ced607
【完善】格式化 minilibc/time.c
2019-05-16 08:48:31 +08:00
SummerGift
9f300de9cc
【修改】dlib newlib minilib 中的 gettimeofday() 函数实现
2019-05-16 08:47:47 +08:00
SummerGift
ec99faf022
【修改】由于 gettimeofday 函数依赖 rtc 设备才能实现,因此如果无法获取 rtc 设备应当断言
2019-05-16 08:42:01 +08:00
tangweikang
4f44fa8f60
[components][freemodbus] update function : xMBPortSerialInit(...) and xMBMasterPortSerialInit(...) | 更新 xMBPortSerialInit() 与 xMBMasterPortSerialInit() 函数
2019-05-15 17:16:20 +08:00
chenyong
9abdebbec9
[net][sal] Fix fcntl() function not support F_GETFL/F_SETFL operations for socketfd.
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-15 14:45:31 +08:00
tangweikang
3dd64da78b
[components][freemodbus] update function : xMBPortSerialInit(...) and xMBMasterPortSerialInit(...) | 更新 xMBPortSerialInit() 与 xMBMasterPortSerialInit() 函数
2019-05-15 12:03:03 +08:00
armink
415d12220b
[components][ulog] Fix the log length error when using multiple non-color backends.
2019-05-15 08:57:45 +08:00
misonyo
f58e947da6
[components/drivers/serial]add low level DMA TX config support.
2019-05-13 15:57:04 +08:00
Bernard Xiong
9f7cc78b06
Merge pull request #2680 from BernardXiong/pthreads
...
[pthreads] Change the pthreads management.
2019-05-13 12:12:50 +08:00
Bernard Xiong
ab595cc864
[pthreads] fix the free ptd issue when there is no pthread slot.
2019-05-13 09:19:44 +08:00
Bernard Xiong
7038465d13
[pthreads] Add PTHREAD_NUM_MAX in Kconfig.
2019-05-12 21:48:54 +08:00
Bernard Xiong
bb506e8493
[pthreads] Add spinlock declare and fix code issue.
2019-05-12 21:44:28 +08:00
Bernard Xiong
a5b611bfd9
Merge pull request #2679 from Lawlieta/develop_sal
...
[net][sal] Fix sys/time.h missing error when not enabled POSIX support
2019-05-12 20:40:45 +08:00
chenyong
efdb51504c
[net][sal] Fix sys/time.h missing error when not enabled POSIX support
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-12 20:00:05 +08:00
Bernard Xiong
5d36fa78c0
[pthreads] Use pthread table for pthread management.
2019-05-12 17:56:11 +08:00
Bernard Xiong
b7cc4e9c8a
Merge pull request #2678 from BernardXiong/pthreads
...
[pthreads] The fields definition are more like those of newlib/glibc.
2019-05-12 17:01:26 +08:00
Bernard Xiong
ec6cb9f260
[BSP][qemu-vexpress-a9] code cleaup for compiling warning.
2019-05-12 15:07:26 +08:00
Bernard Xiong
3638e5129e
[pthreads] The fields definition are more like those of newlib/glibc.
2019-05-12 15:04:46 +08:00
chenyong
4de0533a51
[net][sal][netdev] Delete the link_up status judgment in the send/recv interface
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-10 15:57:58 +08:00
EvalZero
42a32fd473
[components][pm]add check for pm initialize.
2019-05-09 20:53:34 +08:00
Bernard Xiong
d0b686ed3c
Merge pull request #2653 from Zero-Free/pm_dev
...
改进低功耗组件
2019-05-09 09:42:19 +08:00
Bernard Xiong
abc5fff696
Merge pull request #2659 from Guozhanxin/sensor_fix
...
[sensor] 完善sensor框架
2019-05-08 15:27:12 +08:00
Bernard Xiong
955d78cd14
Merge pull request #2658 from Lawlieta/develop_sal
...
[net][sal] Improve ioctl interface to support socketfd operations
2019-05-08 15:26:28 +08:00
Bernard Xiong
dfaced4cb6
Merge pull request #2655 from Lawlieta/develop
...
[net][sal] Add options and types for UDP multicast traffic handling
2019-05-08 14:29:15 +08:00
guozhanxin
8f2f232887
[sensor] 完善sensor框架
...
* 修复开启 RTC 编译报错的问题。
* 在显示 sensor 数据时添加单位。
2019-05-08 11:47:07 +08:00
chenyong
25ebcc9c33
[net][sal] Improve ioctl interface to support for socketfd operations
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-08 10:48:17 +08:00
EvalZero
d51e0783ba
[components][pm]fix some issues with low power components
2019-05-07 21:03:48 +08:00
chenyong
cbe67ae354
[net][sal] Add options and types for UDP multicast traffic handling
...
[net][sal] Add options for level IPPROTO_IP
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-07 17:24:11 +08:00
EvalZero
c57f2370ad
[components][pm]improve low power management components
2019-05-06 18:17:55 +08:00
Bernard Xiong
4a2242b94d
Merge pull request #2650 from Lawlieta/develop
...
[net][netdev] Add default netdev automatic change features configuration
2019-05-06 09:26:29 +08:00
chenyong
7424e44e20
[net][netdev] Add default netdev automatic change features configuration
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 20:35:01 +08:00
Bernard Xiong
dd1a906b6d
Merge pull request #2638 from ericQiang/rtt_dev
...
[bug fix]不使能LWIP的TCP功能时,编译出错。
2019-05-05 18:18:08 +08:00
chenyong
9752dd7889
[net][sal] Delete the judgment of the default network interface device when socket is created
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-05-05 14:50:29 +08:00
Bernard Xiong
c2244a5c57
Merge pull request #2628 from HubertXie/master
...
实现多网卡自动切换功能
2019-05-01 20:25:31 +08:00
ericQiang
ee6671f22b
[bug fix]不使能LWIP的TCP功能时,编译出错。
2019-04-30 00:22:17 +08:00
HubretXie
fd05ad76d6
Update sal_socket.c
...
格式化代码
2019-04-28 15:26:52 +08:00
HubretXie
2d82b62111
Update netdev.c
...
根据family查找netdev时,优先查找family匹配并且已经联网的网卡
再查找family匹配但是未联网的网卡
2019-04-28 15:24:23 +08:00
HubretXie
f7e5f4cd50
Update sal_socket.c
...
创建sock时,默认网卡联网时才优先使用
2019-04-28 15:21:19 +08:00
tangyuxin
91345d62af
[components][drivers][ipc] 初始化工作对象所有成员
2019-04-28 14:31:57 +08:00
chenyong
c9bea68240
[net][lwip] Fix open the netdev and the lwip component, ping command export error issue
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-28 00:53:58 +08:00
chenyong
2721e7189a
[net][netdev] Fix netdev link_down status, socket create failed issue
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-27 17:24:58 +08:00
shaojinchun
1e7bd3d8a1
修改lwp支持中arm cortex-a的swi入口函数处理
2019-04-27 13:54:51 +08:00
Bernard Xiong
0f69471cfd
Merge pull request #2615 from yaojinrun/master
...
[components][drivers][can] can.c bug修复:
2019-04-26 13:49:44 +08:00
Bernard Xiong
688452841c
Merge pull request #2616 from Lawlieta/develop
...
[net][at] Modify AT commands send timeout error log level
2019-04-26 13:49:04 +08:00
chenyong
99c069ffd3
[net][at] Modify AT commands send timeout error log level
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-26 10:04:43 +08:00
yaomo718
b67a8152a5
[components][drivers][can] can.c bug修复:
...
在RT_CAN_USING_HDR宏关闭的时候,接收数据大小的计算应该是:已使用链表数*sizeof(struct rt_can_msg)。
2019-04-25 11:18:28 +08:00
Bernard Xiong
214c1a6d45
Merge pull request #2608 from misonyo/rttdev
...
[components/dfs]fix index overflow bug when not filesystem was selected
2019-04-24 21:15:42 +08:00
guozhanxin
0c3da7e367
[components/dfs/ramfs] Automatically select memheap when ramfs enabled.|当使能ramfs时自动选中memheap。
2019-04-24 15:11:49 +08:00
Bernard Xiong
ec0cb1e1e7
Merge pull request #2609 from Lawlieta/develop
...
[net][sal] fix sockfd initialize error problem
2019-04-24 08:57:19 +08:00
chenyong
6f732ebb7f
[net][sal] fix sockfd initialize error problem
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-24 00:11:04 +08:00
misonyo
958d42f32c
[components/dfs]fix index overflow bug when not filesystem was selected
2019-04-23 23:03:34 +08:00
Bernard Xiong
258e1e09c2
Merge pull request #2603 from Lawlieta/develop
...
[net][netdev] Improve netdev DNS setting function
2019-04-23 16:40:03 +08:00
chenyong
126fa9b561
[net][netdev] Improve netdev DNS setting function
2019-04-23 15:08:10 +08:00
yangjie
10595c48bd
[components/vbus]remove log_trace from vbus.c
2019-04-23 14:08:05 +08:00
yangjie
3ebd59f41d
[components/vmm]remove log_trace item from vmm
2019-04-23 14:01:55 +08:00
yangjie
36c78e5480
[components/utilities]delete log_trace,remove log_trace menu from Kconfig
2019-04-23 14:00:18 +08:00
Bernard Xiong
ca7ebe6175
Merge pull request #2600 from EvalZero/master
...
[components][workqueue]improve delayed work for reinit.
2019-04-22 19:28:25 +08:00
Bernard Xiong
a641540936
Merge pull request #2596 from Lawlieta/develop
...
[net][lwip] fix lwip netdev DNS address setup error
2019-04-22 19:23:35 +08:00
EvalZero
3ada52e353
[components][net]synchronize delayed work changes.
2019-04-22 11:50:39 +08:00
EvalZero
83b6260b3f
[components][workqueue]improve delayed work for reinit.
2019-04-22 11:43:45 +08:00
chenyong
f169ceb184
[net][lwip] fix lwip netdev DNS address setup error
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-22 11:28:45 +08:00
Bernard Xiong
c33431cda2
Merge pull request #2590 from Lawlieta/develop
...
[net] [netdev] Add network interface device(netdev) components
2019-04-18 23:26:34 +08:00
chenyong
9df6313537
[net][sal] fix delay_work timer not detach problem
...
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-17 18:42:10 +08:00
Zhou DingHua
fdc9683150
Add new sensor type and vendor type.
...
sensor type: force sensor
vendor type: MiraMEMS
2019-04-17 16:32:32 +08:00
chenyong
946484760e
[net][at][lwip] Modify AT component and lwIP components for netdev
2019-04-16 20:21:33 +08:00
chenyong
3d6e0ea374
[net][netdev]add network interface device components, SAL component adaptation netdev change
2019-04-16 18:24:55 +08:00
Bernard Xiong
ea9dbfa4f0
Merge pull request #2569 from armink/fix_dfs
...
[DFS] Update dfs file open log.
2019-04-13 10:41:09 +08:00
armink
6c92eb40da
[DFS] Update dfs file open log.
2019-04-12 10:39:05 +08:00
armink
fa4d4ab7cf
Update all of debug log definition to DBG_TAG and DBG_LVL.
2019-04-12 10:18:57 +08:00
MurphyZhao
9be085aa04
[components/net/lwip-1.4.1] 修复不开启 RT_USING_LIBC 时 errno 错误码重复定义的问题
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 15:14:20 +08:00
MurphyZhao
81e028105d
[components/net/lwip-1.4.1] 移除对 errno.h 的引入
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:28:59 +08:00
MurphyZhao
9596a94a8b
[compilers/newlib] 在 syscalls.c 增加 __errno () 函数实现,解决在使用 newlib 编译时 errno 无法重定向到 _rt_errno 的问题
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:24:36 +08:00
HubretXie
25cdd8bba9
fix use printf format bug
...
fix use printf format bug
2019-04-09 20:11:07 +08:00
Bernard Xiong
694878d4c3
Merge pull request #2540 from enkiller/dfs
...
[components][dfs]格式化代码
2019-04-08 17:19:46 +08:00