Commit Graph

9668 Commits

Author SHA1 Message Date
Jonne 204376f0ec Modify the return code with using macro 2020-04-13 08:46:51 +08:00
David Lin e9d930070d
Update pipe.c 2020-04-13 07:20:29 +08:00
majianjia 2014663660 Export file examples to MSH
also:
- change static buffer to dynamiclly allocated buffer.
- replace Chinese comment to English comment in some files.
- add apache-2 license
2020-04-12 23:56:43 +01:00
Keyun-Johan 63e855d78a socket_new()成功后,后续函数不成功返回-1,没有删除socket 2020-04-12 19:22:19 +08:00
David Lin ff09587d23
[components/drivers] update pipe.c
Fixed stackover flow bug when create pipe->fifo
2020-04-12 11:58:33 +08:00
Bernard Xiong 5b300113f7
Merge pull request #3522 from bigmagic123/fix_redefinition
remove redefinition 'mode_t'
2020-04-11 23:17:24 +08:00
bigmagic 3d29ac8953 remove redefinition 'mode_t' 2020-04-11 22:35:02 +08:00
Jonne e5fac04e7d Add gpio and interrupt settings for uart1 uart2 2020-04-11 21:14:12 +08:00
Bernard Xiong b0102830e2
Merge pull request #3521 from DeclanHuaChen/master
Fix some spelling mistakes
2020-04-11 18:14:55 +08:00
Jonne 0227b5823e 1. Remove unuseful function(rt_system_module_init)
2. Modify the return code to -1 when failed
3. Change the mounting filesystem from ramfs to sdcard
4. Replace RT_USING_RTGUI with PKG_USING_GUIENGINE and remove RT_USING_FTK
2020-04-11 17:56:06 +08:00
whj4674672 32d13e389b sppport stm32h743-atk-apollo pcf8574 and uart2(485) 2020-04-11 17:27:46 +08:00
DeclanHuaChen 9545529b33 Fix some spelling mistakes 2020-04-11 16:06:32 +08:00
Jonne b3c7bc964b 更新mini2440 bsp包:
1、加入Kconfig以支持图形化菜单配置
2、编译脚本中添加动态模块编译参数
3、开启自动初始化机制支持
4、重构串口驱动以解决开启posix支持后终端无响应问题
5、解决dm9000网卡驱动link up问题
6、添加mnt.c文件用来挂载文件系统
2020-04-10 23:28:36 +08:00
Bernard Xiong 00f5094150
Merge pull request #3514 from uselessboard/master
MIPS: fix FPU compile error for ls1bdev
2020-04-10 20:52:04 +08:00
Bernard Xiong 446091fc10
Merge pull request #3516 from yangjie11/yj_dev
[components][serial]关闭uart时,反初始化tx_dma->data_queue,防止内存泄漏
2020-04-10 20:13:05 +08:00
yangjie cb9bc38ec9 [components][serial]关闭uart时,反初始化tx_dma->data_queue,防止内存泄漏 2020-04-10 18:41:59 +08:00
Bernard Xiong 6375094569
Merge pull request #3503 from yangjie11/yj_dev
[components][dataqueue]add rt_data_queue_deinit
2020-04-10 15:41:32 +08:00
duhuanpeng ab8e5e5a17 MIPS: ls1bdev: add .gitignore
Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:52 +08:00
duhuanpeng a705e5e389 MIPS: ls1bdev: fix a compile error
rt_hw_fpu_init() is defined in mips_fpu.h,
in board.c refered it without including mips_fpu.h.

Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:47 +08:00
duhuanpeng 7f04500a92 MIPS: ls1bdev: default instruction set MIPSr2
-mips32 will break the compilation if FPU enabled.

Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:42 +08:00
duhuanpeng f295149f20 MIPS: fix inline assembly for FPU
Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:39 +08:00
duhuanpeng ee61d78b18 MIPS: inline routine should be static here
gcc will remove this "unused" routine and cause a linking error.
symbol not found when linking.

Signed-off-by: duhuanpeng <548708880@qq.com>
2020-04-10 15:07:34 +08:00
Bernard Xiong 08ef236308
Merge pull request #3513 from jch12138/master
为FINSH添加clear命令
2020-04-10 11:14:33 +08:00
xupenghu_huaweipc 36eb783fc7 add bsp/stm32/stm32l010-st-nucleo 2020-04-10 09:36:53 +08:00
Bernard Xiong 5599bc73fa
Merge pull request #3425 from DavidLin1577/patch-1
Fixed wrong output information
2020-04-10 00:48:38 +08:00
Bernard Xiong 234cd0e9b2
Merge pull request #3509 from wangyq2018/bugfix
fixed i2c bug, change i2c_dbg() to LOG_E().
2020-04-10 00:37:36 +08:00
Bernard Xiong 310517b818 [Kernel] Code cleanup 2020-04-10 00:02:57 +08:00
Bernard Xiong e0bc6b86ea [kernel] Remove named comments. 2020-04-10 00:02:24 +08:00
Bernard Xiong b1eb3943a3 [Kernel] Add rt_object_get_length/rt_object_get_pointers APIs. 2020-04-10 00:01:58 +08:00
xph ca7f01d79b
Merge pull request #1 from RT-Thread/master
sync rtt
2020-04-09 16:35:28 +08:00
wangyq2018 00b10f7ded fixed i2c bug, change i2c_dbg() to LOG_E() 2020-04-09 16:09:04 +08:00
yangjie 1d7b34f471 [components][dataqueue]修改is_init为magic数 2020-04-08 11:05:37 +08:00
Bernard Xiong baa3145bfe
Merge pull request #3504 from bigmagic123/add_ls2k_bsp
Add ls2k bsp
2020-04-07 21:23:05 +08:00
jch12138 ebfba4974c add clear 2020-04-07 20:19:33 +08:00
bigmagic c27f13c6c9 [mips]fix a bug 2020-04-07 19:01:54 +08:00
yangjie dfcd38b74d [components][dataqueue]add rt_data_queue_deinit 2020-04-07 17:36:56 +08:00
bigmagic c79f947fff [bsp/ls2k]modified readme 2020-04-07 16:39:08 +08:00
Bernard Xiong e382ae08da
Merge pull request #3491 from GitHubIDforRoger/posix_termios.h头文件找不到pid_t定义的bug
posix_termios.h头文件修改
2020-04-07 16:36:32 +08:00
Bernard Xiong e28bb9f662
Merge pull request #3496 from luanxg/lxg_dev
[update] 修复拼写错误
2020-04-07 16:17:58 +08:00
Bernard Xiong 946749f8ba
Merge pull request #3495 from thread-liu/slave
[update] 更新 bsp/stm32 不规范
2020-04-07 15:33:35 +08:00
Bernard Xiong 1210a611de
Merge pull request #3498 from bigmagic123/add_soc_cntp
add soc timer cntpct
2020-04-07 15:32:44 +08:00
Bernard Xiong fc728ad721
Merge pull request #3499 from bigmagic123/fix_x1000_bug
fix x1000 memory use bug
2020-04-07 15:32:19 +08:00
bigmagic dff04ffdc6 fix mips stackframe point 2020-04-07 14:49:20 +08:00
bigmagic 3c5329a9b7 mips repair constraint 2020-04-07 14:43:20 +08:00
bigmagic 8b4e365935 add ls2k readme 2020-04-07 14:39:33 +08:00
bigmagic c024e2e485 add ls2k bsp config 2020-04-07 14:39:20 +08:00
bigmagic 990f731b77 fix mips64 some bug 2020-04-07 14:39:12 +08:00
bigmagic 0f26ffa7a2 add ls2k bsp 2020-04-07 14:38:58 +08:00
bigmagic b45d2326c9 fix x1000 memory use bug 2020-04-03 20:26:50 +08:00
bigmagic efbb5490d7 add soc timer cntpct 2020-04-03 20:18:18 +08:00