Commit Graph

2426 Commits

Author SHA1 Message Date
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