Commit Graph

2313 Commits

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