Commit Graph

2428 Commits

Author SHA1 Message Date
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
tangyuxin e71ec65549 [components][dfs]格式化代码 2019-04-08 14:51:01 +08:00
Bernard Xiong b490052579
Merge pull request #2539 from EvalZero/master
[components][drivers][workqueue] increase the default stack size of t…
2019-04-03 22:48:32 +08:00
EvalZero c3ee1be7ee [components][drivers][workqueue] increase the default stack size of the workqueue thread. 2019-04-03 18:26:55 +08:00
tangyuxin ae41b850c4 [components][cplusplus] 格式化代码 2019-04-03 17:25:49 +08:00
Bernard Xiong bc5acf3bc0
Merge pull request #2537 from lymzzyh/finsh
[components][finsh][shell]remove finsh get char error print
2019-04-03 15:54:52 +08:00
ZYH 1030004e78 remove finsh get char error print 2019-04-03 14:43:02 +08:00
HubretXie 5066ba6a0e
Update at_socket.c
修复sock未初始化使用的问题
2019-04-02 16:10:54 +08:00
HubretXie 24c9e8cb3f
Update sfud.c
修复可能存在越界访问的问题
2019-04-02 16:09:17 +08:00
Bernard Xiong cfb4a9c323
Merge pull request #2525 from jesven/fix_dlopen
fix dlmodule_load(): return immediately when open file fail
2019-04-01 18:11:13 +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 98ff2c00ce
Merge pull request #2463 from EvalZero/master
[components][drivers][workqueue] add system default workqueue and delayed work.
2019-04-01 18:10:27 +08:00
Bernard Xiong ff00378728 [libc] Fix the unamed pipe close issue 2019-03-31 15:21:49 +08:00
shaojinchun 832fc23b02 fix dlmodule_load(): return immediately when open file fail 2019-03-31 14:24:58 +08:00
EvalZero c7ccb4f532 [components][drivers][workqueue] add system default workqueue and delayed work. 2019-03-30 14:29:30 +08:00
Bernard Xiong eabb04ed3d
Merge pull request #2491 from lymzzyh/size_t
[libc]fix size_t ssize_t
2019-03-29 08:53:21 +08:00
ZYH 6b7335a36f [libc]fix size_t ssize_t 2019-03-28 17:18:40 +08:00
tyustli 8327200072 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2019-03-26 14:06:13 +08:00
tyustli 1be90253d0 delete the CMSIS from components and add the CMSIS
and add the CMSIS in some specific BSP
2019-03-26 13:58:33 +08:00
Bernard Xiong 94e7f7316b
Merge pull request #2503 from qz721/libcpu_cortex_a
Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code.
2019-03-25 21:58:48 +08:00
qz721 2eb1bef773 Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code. 2019-03-25 20:03:49 +08:00
misonyo 97c930cd65 [components]add rt_device_ops for adc device and fix finsh_getchar() return wrong value in Big-endian status. 2019-03-23 09:47:45 +08:00
MurphyZhao e5c5215917 [components/utilities/utest] 增加测试运行测试打印
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-03-19 14:27:39 +08:00
Bernard Xiong 0adf83b6a1
Merge pull request #2352 from ylz0923/master
[bsp][stm32] add can driver.
2019-03-17 10:04:05 +08:00
Bernard Xiong fc5cfe0a5e
Merge pull request #2450 from jesven/fix_lf
Fix lf
2019-03-14 20:25:09 +08:00
Bernard Xiong 656d20362b
Merge pull request #2449 from qgyhd1234/checksum
[components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和
2019-03-14 20:23:36 +08:00
tangweikang fcdd5d197f [components] 添加 RT_USING_ALARM 选项 2019-03-14 18:05:31 +08:00
zylx bb97c76b59 [components][lwip]LWIP 1.4.1 支持硬件校验和 2019-03-14 17:33:29 +08:00
shaojinchun b225764b84 fix lwp SConscript的头文件目录为空的问题;lwp把arm9改名成arm926 2019-03-14 17:28:44 +08:00
杨连钊 afe802733f [components][drivers][can] can.c fix bug. 2019-03-14 17:12:27 +08:00
zylx 9818ee2d29 [components][lwip]添加 LWIP 硬件校验和选项,修改 STM32 系列和 rt1052 系列以太网驱动,支持硬件校验和 2019-03-14 16:39:50 +08:00
misonyo 14e048aa8e
[components/shell] shell will not work if ch is none zero as random value in stack
The serial getchar will only modify the LSB of ch, the MSB 3 bytes
will be unchanged as the random value on stack, so if MSB 3 bytes
not zero, the value got is wrong.
2019-03-13 22:05:03 +08:00
armink 3e4a93cc91 Delete the unused '--keep' link flag when used RT_USED marco. 2019-03-12 11:40:53 +08:00
gbcwbz 860f8d954d [finsh] change return type of finsh_getchar from ch to int
finsh_getchar invokes getchar, who's return type is int, and return value may < 0, which means error occurred or EOF.
finsh should handle that situation properly, and inform user about the error.
2019-03-10 15:50:03 +08:00
Bernard Xiong 6a12704bc6
Merge pull request #2412 from armink/fix_ulog
Update the ulog
2019-03-10 13:04:25 +08:00
liruncong 4f108dbadf [components/libc]armclang支持相关 2019-03-10 10:55:27 +08:00
liruncong ce9629cb57 [components/libc/compilers/armlibc]_sys_exit增加RT_WEAK限定,由具体bsp重新实现,通常需要关闭中断,关闭IO输出等 2019-03-10 10:55:24 +08:00
liruncong d0239b43a0 [components/cplusplus]修正cplusplus_system_init在arm V6下的问题 2019-03-10 10:55:22 +08:00
liruncong e5522d6292 [components/net]增加const限定 2019-03-10 10:55:11 +08:00
armink 584593071e [component][ulog] Fixed the thread name output. 2019-03-09 15:49:32 +08:00
guozhanxin f6eabb2d0a [sensor] Fixed a problem where threads were repeatedly created。| 修复线程被重复创建的问题 2019-03-08 10:37:48 +08:00
guozhanxin 507a90f055 [sensor] add irq_handle for driver. | 为底层驱动添加中断回调。 2019-03-08 10:34:10 +08:00
Bernard Xiong ce2cbb42ec
Merge pull request #2388 from armink/fix_rtdbg
Remove the DBG_COLOR and DBG_ENABLE definition.
2019-03-07 17:03:23 +08:00
armink 4f7c06f923 [component][DFS] Change the log level on dfs_file_open() func. 2019-03-07 15:56:39 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
chenyong 0d9b7d60db [net][sal_socket] improve closesocke/shutdown error handling
Signed-off-by: chenyong <1521761801@qq.com>
2019-03-05 19:25:05 +08:00
MLW 8b18522cfd 解决_tc_flush可能引起的缓冲区冲突 2019-03-03 14:12:01 +08:00
tangyuxin e094371969 [components][drivers][wlan] 修复一处加锁错误 2019-02-25 17:33:16 +08:00
Bernard Xiong 4723d5d472
Merge pull request #2361 from qgyhd1234/ymodem
[components][ymodem]ymodem 握手阶段增加超时重试,防止数据接收不全
2019-02-24 23:47:17 +08:00
zylx e2c0749d04 [components][ymodem]ymodem 握手阶段增加延时,防止数据接收不全 2019-02-21 11:09:41 +08:00
Bernard Xiong 89ff902ab5
Merge pull request #2358 from armink/fix_sfud
[DeviceDriver] Add rt_sfud_flash_find_by_dev_name function to SFUD
2019-02-20 18:37:16 +08:00
armink 65d94a4ecd [DeviceDriver] Add rt_sfud_flash_find_by_dev_name function to SFUD porting file. 2019-02-20 16:27:27 +08:00
mlw 6d947e4f49 更改AT_CMD_MAX_LEN介绍 2019-02-20 12:19:56 +08:00
马龙伟 b8c0c30c78 增加AT_CMD_MAX_LEN配置 2019-02-18 14:22:15 +08:00
Bernard Xiong c7a384b4f5
Merge pull request #2322 from zhaojuntao/update-utest-0213
[components][utest] 增加线程模式、loop功能、通配符指定名字
2019-02-15 13:42:15 +08:00
MurphyZhao e3546a5043 [components][utest] 增加 utest_help,用于输出帮助信息
[components][utest] 对于不支持的测试用例,增加输出日志

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-15 12:04:36 +08:00
guozhanxin fb9482d61b [sensor] change RT_SENSOR_FLAG_FIFO to RT_DEVICE_FLAG_FIFO_RX 2019-02-15 10:51:20 +08:00
guozhanxin 3d9c306454 [sensor] change heart rate unit form 'HZ' to 'bpm'. 2019-02-14 19:52:55 +08:00
MurphyZhao a305c6cca9 [components][utest] utest_run 增加 loop 功能,方便持续运行单一一个测试用例;
[components][utest] utest_run 指定测试用例名字的时候,增加通配符 `*` 的支持,及支持仅指定测试用例名字的前部分字节来运行测试用例。该功能会执行匹配成功的所有测试用例。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-14 15:28:56 +08:00
Bernard Xiong f9f7e6c520 [ptherad] Fix pthread_exit issue
When pthread invokes pthread_exit, it just detach self.
2019-02-14 13:45:25 +08:00
Bernard Xiong 509a6c14ac
Merge pull request #2325 from qgyhd1234/qspi
[components][driver]修复使用spi驱动在sfud的qspi模式下的断言问题
2019-02-14 12:14:21 +08:00
MurphyZhao 0dc7b9a5a2 [components][utest] utest 延时启动
在使用 utest 的线程模式的时候,utest_run 命令执行完成后,finsh 会输出 `msh >`,干扰了 utest 内部的日志结构,因此默认在 utest 启动前增加延时。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-14 12:03:29 +08:00
Bernard Xiong 23ae1997ba
Merge pull request #2320 from Guozhanxin/rtt_sensor
添加新的 sensor 框架
2019-02-13 18:30:24 +08:00
zylx 57dc5965cc [components][driver]fix qspi bug 2019-02-13 17:35:18 +08:00
guozhanxin b9937f076b rename sensor_test to sensor_cmd 2019-02-13 15:08:16 +08:00
guozhanxin 37d0400739 rename rt_sen_ to rt_sensor_ 2019-02-13 15:00:35 +08:00
MurphyZhao 82f022f6f0 [components][utest] 增加 utest 线程模式
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-02-13 14:37:08 +08:00