Commit Graph

2428 Commits

Author SHA1 Message Date
guozhanxin 9458791c28 add const keyword for sensor ops 2019-02-12 16:53:27 +08:00
Bernard Xiong 7383269905 [Kernel] Code cleanup for compiling warning. 2019-02-12 14:33:45 +08:00
Bernard Xiong f182626681
Merge pull request #2310 from weety/dev
Fixed data loss issue when USB CDC serial works in dma transmission m…
2019-02-12 14:27:41 +08:00
guozhanxin eae4394329 add "extern "C" {}" for c++ 2019-02-12 14:17:50 +08:00
guozhanxin 64813b6b07 add first version 2019-02-12 14:09:34 +08:00
Bernard Xiong c003bdf44f [pthreads] Add _pthread_destroy to release pthread resource. 2019-02-07 23:50:49 +08:00
Bernard Xiong f87db0908e
Merge pull request #2312 from Ingenic-community/master
net:  lwip-2.1.0: 修复编译过程中的警告/Fix compile-time warnings
2019-02-06 07:48:58 +08:00
Zhou Yanjie 4c585c2d31 lwip-2.1.0: ethernetif.c: 修复编译过程中的警告/Fix compile-time warnings
在第334行中,“(rt_uint32_t*)&msg”应改为“(rt_ubase_t *)&msg”。
在第366行中,“(rt_uint32_t*)&msg”应改为“(rt_ubase_t *)&msg”。

In line 334, "(rt_uint32_t*)&msg" should be changed to "(rt_ubase_t *)&msg".
In line 366, "(rt_uint32_t*)&msg" should be changed to "(rt_ubase_t *)&msg".

Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-05 15:30:23 +08:00
Zhou Yanjie 949468f34c lwip-2.1.0: sys_arch.c: 修复编译过程中的警告/Fix compile-time warnings
在第519行中,“(rt_uint32_t *)msg”应改为“(rt_ubase_t *)msg”。
在第550行中,“(rt_uint32_t *)msg”应改为“(rt_ubase_t *)msg”。

In line 519, "(rt_uint32_t *)msg" should be changed to "(rt_ubase_t *)msg".
In line 550, "(rt_uint32_t *)msg" should be changed to "(rt_ubase_t *)msg".

Signed-off-by: Zhou Yanjie <zhou_yan_jie@163.com>
2019-02-05 15:22:29 +08:00
weety 5293175998 Fixed data loss issue when USB CDC serial works in dma transmission mode. 2019-02-03 20:36:34 +08:00
Bernard Xiong b24dde2525
Merge pull request #2287 from misonyo/dev
[components/drivers & bsp/stm32]fix kconfig syntax error etc.
2019-01-30 11:35:56 +08:00
Bernard Xiong c974949cee
Update Kconfig 2019-01-30 09:24:47 +08:00
Bernard Xiong 14fd4e34a9
Merge pull request #2249 from PiscesLyn/patch-2
ymodem support multiple files transmission
2019-01-30 09:12:40 +08:00
misonyo 227b6eb30d [components/drivers & bsp/stm32]fix kconfig syntax error and add rx buffer size config 2019-01-28 13:54:20 +08:00
qiaoqidui 32d1bfd949 fix lwip2.1.0 port bug
fix lwip2.1.0 port bug
2019-01-27 18:01:31 +08:00
MurphyZhao 655c4ad36b [component][utest] 增加 utest 日志输出级别配置,提供 ASSERT 和 ALL 两个级别,便于测试用例控制 log 输出
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-25 17:25:29 +08:00
Bernard Xiong 71da3392fc
Merge pull request #2263 from RT-Thread/fix_fdopen
[DFS] Remove opened file check
2019-01-25 03:16:21 +08:00
Bernard Xiong 3b4a9f51c7 [DFS] Remove opened file check
Remove opened file check in dfs_file_open function. It will be replaced with POSIX flock/fcntl.
2019-01-24 20:55:27 +08:00
Bernard Xiong a68bdc94e4
Merge pull request #2250 from gztss/master
实现_sys_flen()函数并解决了unistd.h和dirent.h不能同时包含的问题。
2019-01-24 09:43:36 +08:00
gztss 11751d60e0 实现_sys_flen()函数 2019-01-24 09:05:41 +08:00
Bernard Xiong 358a3884f6
Merge pull request #2254 from misonyo/dev
[driver/ringbuffer]illegal access to freed memory
2019-01-23 11:11:03 +08:00
MurphyZhao f9e5d87c98 [components][utest] 将 utest_assert.h 加入 utest.h,以后测试用例仅需要包含 utest.h
[components][utest] 增加 buf 类型的字节比较 assert 宏
[components][utest] 修复错误日志打印的输出类型为 ERR 级别

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-22 15:46:12 +08:00
Lyn 626d0e9e06
ymodem support multiple files transmission 2019-01-22 13:58:59 +08:00
misonyo e02d6e616b [driver/ringbuffer]illegal access to freed memory 2019-01-21 21:59:39 +08:00
Bernard Xiong bef1d55736
Merge pull request #2244 from RT-Thread/fix_libc_posix
Fix libc posix
2019-01-21 19:41:38 +08:00
Bernard Xiong 929e9c8f4b
Merge pull request #2243 from EvalZero/master
[lwIP] the errno definition of rt_libc.h is used by default.
2019-01-21 18:18:06 +08:00
Bernard Xiong 97560dd8e2 [libc] Fix the addr=NULL issue in mmap. 2019-01-21 17:19:07 +08:00
Bernard Xiong 75061a2712 [libc] Fix the result length issue in aio_read_work. 2019-01-21 17:18:48 +08:00
EvalZero b676d7230d [lwIP] the errno definition of rt_libc.h is used by default. 2019-01-21 15:50:25 +08:00
armink 59a4e4b2b7 [DeviceDriver][wlan] Add device ops to wlan. 2019-01-18 20:41:39 +08:00
Bernard Xiong 3b21ead135
Merge pull request #2200 from RT-Thread/thread_stat
[Kernel] Enable RUNNING status in thread.
2019-01-16 17:36:22 +08:00
陈迎春 e45d7da503
Update serial.c
"remove  #ifdef RT_SERIAL_USING_DMA in rt_serial_open, always check device open dma flag"
2019-01-16 13:21:20 +08:00
armink 9e7254ef59 [DeviceDriver][SFUD] Change the rt_sfud_flash_find() function position. 2019-01-15 20:13:49 +08:00
Noe Xu 52729bb62d Fix rtthread CAN driver issue.
Reset rx tx handler when closing CAN device, Or it will not work after
reopening.

Change-Id: I43482c21263a989322f8df2ac9349128f7cb630a
2019-01-13 23:37:15 -08:00
Bernard Xiong d55a9cd62a
Merge pull request #2202 from RT-Thread/fix_lwp
[lwp] Fix compiling warning in lwP.
2019-01-13 21:41:22 +08:00
Bernard Xiong b998c4ed8d
[DFS][romfs] code cleanup 2019-01-13 14:33:24 +08:00
Bernard Xiong 9af2d29351
[DFS][romfs] code cleanup 2019-01-13 14:31:55 +08:00
Bernard Xiong 711c923614 [lwp] Fix compiling warning in lwP. 2019-01-13 14:25:52 +08:00
Bernard Xiong bd7ebbf17b [DFS][romfs] fix the mkrom issue when file/dir size zero 2019-01-13 14:24:00 +08:00
Bernard Xiong c2a85453b3 [finsh] Add RUNNING stat in thread 2019-01-13 14:22:13 +08:00
yangfasheng c16d3de633 update dfs.c dfs_file.c dfs_file.h
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2019-01-09 17:40:32 +08:00
Hao Zhu d3c2cb5845 [components][libc] add extern "C" for header file 2019-01-09 15:13:03 +08:00
MurphyZhao 5d6c7e0df7 [components][dfs] Refix #2100 PR
#2100 PR 增加 `#include <libc.h>` 后,如果定义了 `RT_USING_DFS_DEVFS`,那就必须要开启 LIBC 才可以成功编译,增加了对 RT_USING_LIBC 的依赖。但是,这个修复又是关于开启 POSIX 的时候遇到的问题,因此建议在引入 <libc.h> 的地方,加入对 `RT_USING_POSIX` 的依赖。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-05 14:20:44 +08:00
MurphyZhao 5ea985d0fb [components][utilities/ulog] 修改 ulog_console_backend_init 从 `INIT_COMPONENT_EXPORT` 修改为 `INIT_PREV_EXPORT` 级别的自动初始化,与 ulog_init 同级
目的是为了组件初始化中的其他模块可以使用 ulog 输出日志。

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-01-04 18:59:51 +08:00
朱天龙 (Armink) c7daacc96f
[component][ulog] Fix the ulog_strcpy function. 2019-01-03 15:31:04 +08:00
Bernard Xiong 9556288e54
Merge pull request #2103 from thomasonegd/master
fix socket nullptr bug
2019-01-02 10:47:52 +08:00
Bernard Xiong 56f1a8af4f
Merge pull request #2100 from gbcwbz/vi
Fix stdio fd error when POSIX api is used
2018-12-30 18:31:18 +08:00
Bernard Xiong 38c49099c9 [libc] Fix the printf issue when disable DFS 2018-12-28 21:41:01 +08:00
Bernard Xiong 214652fd7e
Merge pull request #2130 from jesven/fix_list_thread
修正rt_object_get_information参数类型不匹配警告
2018-12-27 19:08:55 +08:00
shaojinchun fdfc7e541a 修正rt_object_get_information参数类型不匹配警告 2018-12-27 17:48:38 +08:00
Bernard Xiong e70cece9b5
Merge pull request #2128 from lymzzyh/master
[components][USB][Device][Core]fix the device_qualifier error respond on fullspeed
2018-12-27 17:39:40 +08:00
Bernard Xiong 137ed381c7
Merge pull request #2123 from jesven/fix_list_thread
修正list_thread关中断时间过长的问题
2018-12-27 17:16:32 +08:00
zyh b18534e1af [components][USB][Device][Core]fix the device_qualifier error respond on fullspeed 2018-12-27 16:48:29 +08:00
shaojinchun ed9a558da9 list_*时,提供对第一层object的原子保护 2018-12-27 16:31:22 +08:00
Bernard Xiong 61b6fca3dd [bsp] Update tm4c19x and fix the mb_recv warning in lwip-1.4.1 2018-12-27 12:04:48 +08:00
Bernard Xiong 96e6deac29 [Kernel] Fix the errno definitions in armcc/iar. 2018-12-27 09:11:07 +08:00
shaojinchun 3f79a78393 修正list_thread关中断时间过长的问题 2018-12-26 11:51:35 +08:00
misonyo 3b4bb18c06 [components/drivers/hwtimer]修复定时器向下计数模式时时间获取错误bug 2018-12-25 09:59:16 +08:00
thomasonegd 71c3c35c3c fix socket nullptr bug 2018-12-24 08:31:54 +08:00
gbcwbz 48848c2917 [libc][armlibc] Fix getchar error after exit vi
- _sys_istty() add stdio as tty
 - without this, after exit vi program getchar will return -1, I don't know why it works
2018-12-23 19:15:20 +08:00
gbcwbz 0924d277f6 [dfs] Fix stdio fd error when POSIX api is used
POSIX api e.g. poll read write
2018-12-23 19:14:14 +08:00
Bernard Xiong 9b9dc591f5 [lwp] Correct the change log. 2018-12-19 20:10:33 +08:00
Bernard Xiong 12b8a0cc38
Merge pull request #2020 from enkiller/dev
[components][drivers][wlan] 更正表意错误的返回值类型
2018-12-18 14:16:05 +08:00
HubretXie 716823bfec
减少sfud对任务栈的占用
用全局空间换栈空间,当多个任务需要使用sfud时,可以节省内存
例如多个任务需要使用文件系统,任务栈可以减少
2018-12-17 18:09:02 +08:00
zhaohengbo afcd8b4521 fix some bug when stack grows upward 2018-12-15 11:20:24 +08:00
Bernard Xiong f12d5bfba0
Merge pull request #2065 from qgyhd1234/hwtimer
完善 hwtimer 测试例程,修改 readme 显示错误
2018-12-14 11:05:58 +08:00
Bernard Xiong 1f37de29c4 Fix the value width issue under 32/64 bit arch. 2018-12-13 14:54:26 +08:00
zylx 6ea32ee488 [components][drivers] delete redundant judgment 2018-12-13 10:00:03 +08:00
zylx f497b17111 [components][drivers]fix hardware timer 2018-12-12 17:20:55 +08:00
Bernard Xiong dcf7bce2cc
Merge pull request #2041 from zhaojuntao/utest-dev
[components][utilities] 增加 utest(单元测试框架)
2018-12-12 12:55:36 +08:00
Bernard Xiong a5b22a5b06
Merge pull request #2043 from HubertXie/master
Update at_socket.c
2018-12-12 12:55:21 +08:00
HubretXie 3a8c6f32c0
Update at_socket.c
修改socket读取遗留数据逻辑
2018-12-12 11:29:14 +08:00
Bernard Xiong b628ac0e7e
Merge pull request #2052 from jesven/lwp_ok
add lwp support
2018-12-10 20:00:25 +08:00
shaojinchun 2b21d2316a 修改许可协议
修改cpu目录名及相关修改
2018-12-10 18:23:21 +08:00
shaojinchun a8953e9211 add lwp support 2018-12-10 16:44:48 +08:00
Bernard Xiong 9677fe6f2c
Merge pull request #2045 from ErnestChen1/master
[add] DMA choice of serial
2018-12-10 09:29:42 +08:00
Bernard Xiong d43fcbcd80
Merge pull request #2047 from zhangxiaosen88/master
Update adc.c
2018-12-10 09:25:10 +08:00
shaojinchun 56c0df1e58 修正dfs在fd_get时,未检查有效性的问题 2018-12-10 08:33:17 +08:00
KE1VG8CBMISQ6ED\Administrator 895fb5c1a9 Update adc.c
check fun is NULL, error
2018-12-08 22:56:34 +08:00
MurphyZhao bce7f85907 [components/utilities/utest] 移除不那么必要的日志接口 redefine
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-08 15:01:08 +08:00
MurphyZhao 98b10877e7 [components/utilities/utest] 修复 gcc 编译警告
[components/utilities/utest] 移除组件的版本号
[components/utilities/utest] 优化 basename 函数的处理

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-08 14:48:54 +08:00
chenchaoqun@rt-thread.com 5098c934d3 [add] DMA choice of serial 2018-12-08 11:37:13 +08:00
HubretXie 7ac5bd992f
Update at_socket.c 2018-12-07 19:05:24 +08:00
MurphyZhao 51b17a15e4 [components/utilities/utest] 完善代码,增加注释
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-06 18:59:13 +08:00
MurphyZhao 8824b2ca77 [components/utilities] [Kconfig] 增加 kconfig RT_USING_UTEST 配置
[components/utilities] [utest] 增加 testcase 运行超时时间参数

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-06 17:13:14 +08:00
Bernard Xiong 538923d34e
Merge pull request #2038 from enkiller/181206
[components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题
2018-12-06 11:33:45 +08:00
tangyuxin 353792b626 [components][drivers][wlan] 更正表意错误的返回值类型 2018-12-06 10:47:00 +08:00
tangyuxin 5f0bf58069 [components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题 2018-12-06 09:50:17 +08:00
HubretXie cd0521d7d2
Update spi_flash_sfud.c 2018-12-05 19:59:06 +08:00
MurphyZhao 0759b66eb9 【更新】components/utilities/utest 增加 SConscript depend
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-05 18:07:03 +08:00
MurphyZhao 1ecf6cbc7c 【更新】utest gcc 链接符
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-12-05 14:53:37 +08:00
HubretXie 81cd4d4f4b
Update ulog.h
增加LOG_HEX
2018-12-04 09:10:52 +08:00
HubretXie fa06299637
Update ulog_def.h
增加log_hex
2018-12-04 09:09:58 +08:00
HubretXie 889afa7b04
Update dfs_elm.c
fatfs: mkfs时增加FM_SFD参数,减少文件系统对flash空间的占用
2018-12-03 18:09:52 +08:00
MurphyZhao 85d275b399 [components/utilities][add] 增加测试框架 utest 代码
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-30 16:13:17 +08:00
Bernard Xiong bcd591c5f5
Merge pull request #2018 from dogandog/master
Update serial.h
2018-11-30 12:48:04 +08:00
Owen a3e4d57a54
Update serial.h
correct definition of struct serial_configure
2018-11-30 11:07:56 +08:00
Bernard Xiong 5bcd30c5a0
Merge pull request #2015 from Lawlieta/at
[net][at] Fix at_recvfrom() select event issue
2018-11-30 09:54:25 +08:00
geniusgogo d168f2ac74 fixed pm tick adjust 2018-11-29 23:40:04 +08:00
chenyong 37a3a03e33 [net][at] Fix at_recvfrom() select event issue
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-29 18:55:14 +08:00
MurphyZhao 7556ab89da [components/drivers/audio] [修复] audio 中枚举类型不匹配的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-28 18:56:40 +08:00
MurphyZhao 3cf808921d [components/drivers/audio] [修复] 编译警告
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-28 18:56:39 +08:00
Bernard Xiong a87914b535
Merge pull request #2006 from armink/fix_sfud
Update sfud
2018-11-26 18:20:20 +08:00
armink 7a6034fdf7 [DeviceDriver] Add RT_USING_QSPI macro. 2018-11-26 13:34:33 +08:00
armink c19848d63e [DeviceDriver] Update SFUD readme.md . 2018-11-24 22:10:59 +08:00
aozima 669eb13ed9 [DeviceDriver] update RT_USING_DEVICE_OPS.
1. fixed audio_pipe.c compile error.
2. update pwm driver: support RT_USING_DEVICE_OPS.
2018-11-24 17:29:50 +08:00
armink 31fc754805 [DeviceDriver] Fix a build error for SFUD. 2018-11-24 16:42:43 +08:00
armink 3a3da42738 [DeviceDriver] Add QSPI device driver support for SFUD. 2018-11-24 15:11:24 +08:00
armink 3b20db1903 [DeviceDriver] Update SFUD (Serial Flash Universal Driver) library to latest version. 2018-11-24 15:08:47 +08:00
armink 15b2feb60d [DeviceDriver] Update QSPI driver framework. 2018-11-24 15:02:53 +08:00
Bernard Xiong 2ca5995160
Merge pull request #1987 from enkiller/dev
[components][drivers][wlan] Modify wlan device registration interface
2018-11-23 17:27:07 +08:00
Bernard Xiong 70bfe427e6
Merge pull request #2001 from armink/fix_rbb
[DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_…
2018-11-23 17:17:46 +08:00
Bernard Xiong 6445328acc
Merge pull request #1999 from jesven/smp_4.0
Smp 4.0
2018-11-22 22:44:46 +08:00
Bernard Xiong 8cc81af1f6
Merge pull request #1998 from SummerGGift/Remove_code
[components][driver]: Remove the extra spi reinitialization code
2018-11-22 20:26:07 +08:00
shaojinchun 2a57ba9f96 统一getcwd和chdir的加锁方式 2018-11-22 18:21:45 +08:00
shaojinchun fc6bc1ad39 Add smp support to RT-Thread 4.0 2018-11-22 18:16:47 +08:00
armink 74232f2de4 [DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_buf API.
Signed-off-by: armink <armink.ztl@gmail.com>
2018-11-22 18:08:12 +08:00
SummerGift e9c0964061 [components][driver]: optimized code 2018-11-22 16:33:32 +08:00
SummerGift fac430805f [components][driver]: change to new spi API 2018-11-22 16:26:29 +08:00
SummerGift 92fac771b1 [components][driver]: Store SPI configuration information to msd device 2018-11-22 14:52:02 +08:00
SummerGift 025951939a [components][driver]: spi sd card, remove the extra reinitialization code 2018-11-22 13:57:28 +08:00
zylx 257ce972d0 [DeviceDrivers][spi]:add qspi support 2018-11-22 13:54:37 +08:00
Bernard Xiong 46dae3f35f
Merge branch 'master' into dev-4.0.x 2018-11-20 23:13:45 +08:00
tangyuxin 3df952d34c [components][drivers][wlan] Modify wlan device registration interface 2018-11-20 11:15:34 +08:00
chenchaoqun@rt-thread.com 049944529f [add] adc framework 2018-11-20 10:08:31 +08:00
chenyong beaff7c09d [net][sal] Add SAL components TLS features support
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-15 14:48:20 +08:00
Bernard Xiong 45960a8d14
Merge pull request #1977 from SummerGGift/sfud
[component][sfud]: fix bug when probe device more than once
2018-11-14 19:23:41 +08:00
chenyong 739e8a8438 [drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-14 18:26:53 +08:00
SummerGift dc704b1828 [component][sfud]: fix bug when probe device more than once 2018-11-14 17:58:57 +08:00
Bernard Xiong ea17191127
Merge pull request #1972 from Dahua1992/master
修复syslog.c缺少#include <sys/time.h>
2018-11-13 11:59:20 +08:00
Dahua1992 0df270bfc5
add #include <sys/time.h>
原因tm = gmtime_r(&now, &tm_tmp);报错
2018-11-13 10:55:05 +08:00
Dahua1992 c71828fb33
add #include <sys/time.h>
原因 tm = gmtime_r(&now, &tm_tmp);报错
2018-11-13 10:22:53 +08:00
chenyong 270c39708a [net][at] Modify AT CLI configuration 2018-11-13 09:51:18 +08:00
Bernard Xiong 00a655ac1c [Kernel] Add ARCH_CPU_STACK_GROWS_UPWARD option 2018-11-11 15:56:02 +08:00
Bernard Xiong e108dfe4a5 [libc] Fix the _EXFUN issue in newlib 2018-11-10 16:58:07 +08:00
Bernard Xiong d8ca5e0185
Merge pull request #1961 from armink/fix_ulog
[component][ulog] Fix a input parameter check error.
2018-11-10 12:12:09 +08:00
armink 106e6b77b2 [component][ulog] Fix a input parameter check error. 2018-11-10 09:49:21 +08:00
Bernard Xiong d04730710a
Merge pull request #1955 from armink/fix_ulog
Fix ulog
2018-11-10 06:51:36 +08:00
armink f28b9d83f7 [component][ulog] Fix a compile error when timestamp is enable. 2018-11-09 17:31:40 +08:00
Bernard Xiong cb93510dc3 [Components] Remove GDB stub from kernel. 2018-11-09 09:41:19 +08:00
armink acfe61b501 [component][ulog] Fix some comments. 2018-11-09 09:19:44 +08:00
Bernard Xiong ad42abb933 [Libc] Disable ENV when disable DFS. 2018-11-09 09:18:05 +08:00
armink 6a165e5cb1 [component][ulog] Update version to 0.1.1 . 2018-11-08 11:27:18 +08:00
armink c990f0a026 [component][ulog] Add tag filter to hexdump function. 2018-11-08 11:23:03 +08:00
armink 2ff67c932f [component][ulog] Add show filter settings shell command 'ulog_filter'. 2018-11-08 11:22:02 +08:00
armink ad602f5b90 [component][ulog] Add filter get API. 2018-11-08 11:20:42 +08:00
armink 2fe79faf3d [component][ulog] Fix a memory leak problem. 2018-11-08 10:59:25 +08:00
chenchaoqun@rt-thread.com 931cdb1f6f [finsh/shell] compatible definition for cube package 2018-11-07 14:31:32 +08:00
armink 4e6f13e0da [component] fix Kconfig warning in at and ulog. 2018-11-06 11:41:44 +08:00
Bernard Xiong c7d9daefaa
Merge pull request #1868 from jg1uaa/master
change hello.mo building process, compile and link separately
2018-11-05 09:14:02 +08:00
flyingcys 39c0ba3df2 fix wlan_dev bug 2018-11-03 16:24:30 +08:00
Bernard Xiong 1946de1104
Merge pull request #1943 from zhaojuntao/ADD-LWIP210
Add lwip210
2018-11-02 20:14:09 +08:00
MurphyZhao 2d18b4ad08 [components][net] 移除 SAL 中 LWIP_NETCONN_FULLDUPLEX 的判断
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 18:27:04 +08:00
MurphyZhao f3abe00d60 [components][net] 更新 LWIP210 注释
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 16:59:37 +08:00
MurphyZhao c3cc7a29c8 [components][dfs] 移除冗余代码
[components][net] 修复 Kconfig
[components][net][sal] 还原对 SAL 框架的修改,在 proto_ops 结构体实例赋值位置修改

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-02 10:26:37 +08:00
armink 83b7b763b7 The dbg_log API is DISCARDED. Change all dbg_log to LOG_X. 2018-11-02 10:20:30 +08:00
armink 5a70247898 [components][DeviceDriver] Update log tag from [SDIO] to SDIO. 2018-11-02 10:15:29 +08:00
Bernard Xiong 3dc6334b2a
Merge pull request #1944 from armink/add_ulog
[component][ulog] Update ulog hexdump format.
2018-11-02 09:44:04 +08:00
Bernard Xiong 198e108bcd
Merge pull request #1941 from HubertXie/master
Update at_socket.c
2018-11-01 19:48:05 +08:00
armink 9ceecb4d95 [component][ulog] Update ulog hexdump format. 2018-11-01 19:39:08 +08:00
HubretXie 61bb8a05d2
Update at_socket.c
at socket 接收数据正常时清除错误标识
2018-11-01 18:43:04 +08:00
MurphyZhao 58a6b51236 [components][dfs] AND [components][net][sal] 适配 LWIP210
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:21:41 +08:00
MurphyZhao f08039ff6f [components][net] 更新 Kconfig 和 SConscript,支持 LWIP210
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:16:29 +08:00
MurphyZhao 8455ad8797 [components][net][add] 增加 lwip-2.1.0 组件
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-01 18:15:07 +08:00
armink c336099a93 [component][ulog] Reduce thread stack usage when using ulog. 2018-11-01 14:51:50 +08:00
HubretXie b9d6336526
Update at_socket.c
at接收超时 添加   EAGAIN  类型返回
2018-11-01 14:23:30 +08:00
armink e588dfa633 [component][ulog] Add newline param for ulog_output API. 2018-10-31 10:54:12 +08:00
armink 12a803bcc9 [component] Add ulog logger basic component. 2018-10-30 09:11:42 +08:00
Bernard Xiong 7fd434e2f7
Merge pull request #1935 from armink/add_pm
[DeviceDriver][pm] Update pm driver.
2018-10-29 19:44:20 +08:00
armink f05baecc5a [DeviceDriver][pm] Update pm driver. 2018-10-29 19:02:31 +08:00
Bernard Xiong 8c1c6516b3 [Components] Change license to Apache License v2.0 2018-10-29 11:06:58 +08:00
Bernard Xiong fbac6c8be7 Remove lwIP 1.3.2 and yaffs2 from RT-Thread Platform. 2018-10-29 11:05:33 +08:00
Bernard Xiong 98fc1cb4cf
Merge pull request #1933 from armink/add_pm
[DeviceDriver] Add power management device driver.
2018-10-29 10:27:38 +08:00
Bernard Xiong 05b58271b0
Merge pull request #1930 from zhang-peter/master
Add RT_VCOM_TX_TIMEOUT and some configure to Kconfig
2018-10-29 10:25:22 +08:00
armink 2d59fe0310 [DeviceDriver] Add power management device driver. 2018-10-29 09:54:52 +08:00
Bernard Xiong 125195c870
Merge pull request #1925 from qgyhd1234/gmtime_r
[kernel][kservice] add rt_gmtime_r api
2018-10-27 14:28:40 +08:00
hichard 6d2be00b9c 修复IAR dlib的时间映射,从rtt历史版本找到iar支持64bit时间的起始版本 2018-10-26 20:36:17 +08:00
zylx 920d6ecec7 [Libc] move gmtime_r api to rt-thread\components\libc\compilers\common 2018-10-26 15:21:31 +08:00
Peter Zhang 4f14dc9186 [components][drivers][usb_common]: Fix typo for 'ifndf' in usb_common.h 2018-10-26 14:33:21 +08:00
Peter Zhang 328a697c1d [components][drivers][usb][usb_device][cdc_vcom]: Add 'RT_VCOM_TX_TIMEOUT' to configure TX_TIMEOUT whick may block vcom tx thread for a long time. Add 'RT_VCOM_TASK_STK_SIZE', 'RT_VCOM_TX_USE_DMA', 'RT_VCOM_SERNO', 'RT_VCOM_SER_LEN', 'RT_VCOM_TX_TIMEOUT' to Kconfig 2018-10-26 14:29:22 +08:00
zyh d950ffc485 [Components][USB]修复拼写错误 2018-10-26 11:41:54 +08:00
zylx 3bf68f2f42 [Libc][dlib][armlibc] add gmtime_r api 2018-10-26 11:17:41 +08:00
Bernard Xiong 95fde46d18
Merge pull request #1923 from uestczyh222/usb
[Components][drivers][usb]修复非对齐访问异常
2018-10-26 07:08:24 +08:00
Bernard Xiong 484afe9d2c [Kernel] Add 64bit CPU support. 2018-10-26 06:35:42 +08:00
liruncong d3764db892 解决以下问题:
1) usb驱动中时间未与RT_TICK_PER_SECOND关联问题,RT_TICK_PER_SECOND变化时,这些时间将发生变化
解决: 增加USB_TIMEOUT_BASIC/USB_TIMEOUT_LONG/USB_DEBOUNCE_TIME
2) 修正rt_usbh_detach_instance函数使用device->cfg_desc前未判断是否有效. 可导致abort
3) rt_usbh_hub_port_change增加device->port初始化,否则struct uhcd_ops相关函数无法直接得到端口号
2018-10-23 20:04:51 +08:00
zyh c2539db38e [Components][drivers][usb]修复非对齐访问异常 2018-10-22 12:08:43 +08:00
Bernard Xiong 2ae638e22d
Merge pull request #1909 from slyant/mydev-change
修改at_client.c 传入参数timeout单位是ms,此处需要转换为tick
2018-10-19 19:09:32 +08:00
Bernard Xiong 1699a12b15
Merge pull request #1908 from enkiller/wlan-lwip
[components][wlan] 兼容lwip1.4
2018-10-18 21:35:06 +08:00
slyant a6b51ada1e 修改at_client.c 传入参数timeout单位是ms,此处需要转换为tick 2018-10-18 21:01:30 +08:00
Bernard Xiong ce2313d2d3
Merge pull request #1906 from enkiller/wlan-dev
[components][wlan] 修复某些情况下模式初始化两遍的bug
2018-10-18 15:59:31 +08:00
Bernard Xiong 29b49f46dd
Merge pull request #1905 from enkiller/dev
[components][net] dhcpd Support LWIP2.0 and LWIP1.4
2018-10-18 15:58:35 +08:00
tangyuxin a7956e5ec9 [components][wlan] 兼容lwip1.4 2018-10-18 14:24:15 +08:00
tangyuxin 1e0e221dd7 [components][wlan] 修复某些情况下模式初始化两遍的bug 2018-10-18 14:19:32 +08:00
tangyuxin e05cdc69a0 [components][net] dhcpd Support LWIP2.0 and LWIP1.4 2018-10-18 11:57:15 +08:00
Bernard Xiong 9c255e7d2f
Merge pull request #1899 from hichard/master
修复iar dlib时间映射函数的函数声明,适应不同版本的iar
2018-10-18 00:35:22 +08:00
armink e2b5fcd074 [component][at] Add some #ifdef on source code. 2018-10-16 10:31:21 +08:00
armink 8cae067452 [component][sal] Add some #ifdef on source code. 2018-10-16 10:31:06 +08:00
hichard 61656e23f2 修复iar dlib时间映射函数的函数声明,适应不同版本的iar 2018-10-15 19:45:16 +08:00
eddylin83 65340e46e3 fix at socket issue,online AT package might be fixed too(at_socket_device_register spell mistake) 2018-10-15 13:02:33 +08:00
Bernard Xiong 070248bb04
Update spi_flash_w25qxx.c 2018-10-15 09:23:58 +08:00