Commit Graph

9403 Commits

Author SHA1 Message Date
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
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
Bernard Xiong b0102830e2
Merge pull request #3521 from DeclanHuaChen/master
Fix some spelling mistakes
2020-04-11 18:14:55 +08:00
DeclanHuaChen 9545529b33 Fix some spelling mistakes 2020-04-11 16:06:32 +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
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
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
luanxueguang a1dc525859 [update] 修复拼写错误 2020-04-02 13:50:09 +08:00
thread-liu a68f142ac6 [update] bsp/stm32/stm32h743-st-nucleo 2020-04-02 08:49:45 +08:00
thread-liu 0b61ac03ee [update] bsp/stm32/stm32/stm32f429-st-disco 2020-04-01 17:52:55 +08:00
thread-liu 8d15d2b681 [update] bsp/stm32/stm32h743-st-nucleo 2020-04-01 17:50:56 +08:00
roger a3d6d47225 祛除了不必要的格式修改 2020-03-31 09:35:13 +08:00
Bernard Xiong 0f57faa591
Merge pull request #3484 from qz721/master
修复USB不能正常识别composite设备的bug
2020-03-30 21:20:02 +08:00
Bernard Xiong 0930683a3f
Merge pull request #3489 from greed-island/mem
fix bug in rt_realloc of mem.c,  which may cause memory leak
2020-03-30 20:45:39 +08:00
roger 63a82cac47 在posix_termios.c中引用termios.h 2020-03-30 15:59:44 +08:00
roger 8601850a21 first commit 2020-03-30 15:21:58 +08:00
greed-island b082876c9b
Update mem.c
rt_realloc may cause <lfree> change, if we don't change <lfree> timely, it may cause memory leakage
2020-03-27 18:57:29 +08:00
Bernard Xiong 7f6755c622
Merge pull request #3472 from DavidLin1577/patch-2
[components/usb]Fixed a stack overflow bug
2020-03-26 22:06:23 +08:00
Bernard Xiong c1a3de7b8a
Merge pull request #3478 from SummerLife/optimize_uart
[stm32/driver] optimize uart driver
2020-03-26 22:04:45 +08:00
qz721 a49ddaef96
修复USB不能正常识别composite设备的bug 2020-03-26 16:24:10 +08:00