chao_king
ae90273b68
Fix bug for drv_enet.c
...
源文件主要存在以下问题:
1> rt_hw_gd32_eth_init函数中对MAC初始化完成后并没有修改PHY的连接状态,这会导致测试TCP例程时无法建立TCP链接,应在初始化完成后将PHY的连接状态修改成linkup;
已在GD32450Z-EVAL开发板上测试,修改后没有再出现以上问题。
2019-12-26 19:03:46 +08:00
chao_king
728e1d995d
Fix bug for synopsys_emac.c
...
源文件主要存在以下两点问题:
1> EMAC_init函数中对MAC进行配置时直接对寄存器进行操作,然而寄存器名称与官方文档中的寄存器名称不符,另外并没有对基于的gd32f450z开发板使用的PHY芯片DP83848进行配置,直接使用了其上电自协商的模式,而且直接配置了MAC为百兆全双工的工作模式,这里应该通过读取PHY的自协商结果来设置MAC,所以替换了GD官方的初始化函数;
2> 使用原文件编译下载至开发板后复位有概率ping不通,这是由于在初始化过程中清空发送FIFO的操作没有增加延迟导致的,所以换成了GD官方的enet_txfifo_flush函数;
已在GD32450Z-EVAL开发板上测试,修改后没有再出现以上问题。
2019-12-26 18:58:22 +08:00
tyustli
00fa2e2d78
solve gcc build err
2019-12-26 14:10:06 +08:00
tonyzheng-rockchip
121366d6c8
Fix dlmodule must depends on file system issue
...
解决dlmodule只能依赖于文件系统的问题;
增加dlmodule扩展接口,以适应更多需求;
2019-12-26 11:03:56 +08:00
Bernard Xiong
8d0ca47526
Merge pull request #3292 from lymzzyh/ecm
...
[Components][USB][ECM] fix build error
2019-12-26 08:33:38 +08:00
ZYH
a4dba7b583
[Components][USB][ECM] fix build error
2019-12-25 13:15:10 +08:00
Bernard Xiong
20d1c13be6
Merge pull request #3287 from rgw5267/fix_ulog
...
ulogbuffer增加1,为\0预留空间
2019-12-24 11:17:41 +08:00
任光伟
9893f64610
ulogbuffer增加1,为\0预留空间
...
Signed-off-by: RGW <rgw5267@gmail.com>
2019-12-23 10:49:01 +08:00
Bernard Xiong
dd23a36713
Merge pull request #3284 from BernardXiong/remove_files
...
[bsp] Remove unnecessary files.
2019-12-22 03:34:14 +08:00
Bernard Xiong
c2f23fd1e8
Merge pull request #3278 from xiangxistu/master
...
[net][lwip] add personalized RT-Thread sign into lwip protocol stack
2019-12-22 03:33:51 +08:00
liuxianliang
f9ef8c7ed9
[net][lwip] modified hostname, support lwIP 1.4.1 ,lwIP 2.0.2 and lwIP 2.1.2
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-21 17:43:32 +08:00
Bernard Xiong
df933cf8c7
Merge pull request #3283 from a1012112796/writing/correct_ram_config
...
[BSP/stm32f427-robomaster-a] Correct RAM configuration information
2019-12-21 07:35:35 +08:00
Bernard Xiong
5ef1bfc878
[bsp] Remove unnecessary files.
2019-12-21 07:25:12 +08:00
a1012112796
15ceaad6e4
[BSP/stm32f427-robomaster-a] Correct RAM configuration information
2019-12-20 22:02:11 +08:00
tyustli
0135c7bd8b
port usb host driver to stm32 new series
2019-12-20 14:35:26 +08:00
Bernard Xiong
64945ba882
[Kernel] Update version number.
2019-12-20 08:24:45 +08:00
Bernard Xiong
9111aca176
Merge pull request #3279 from armink/fix_rbb
...
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19 14:59:29 +08:00
Bernard Xiong
01fa184f9a
Merge pull request #3275 from BernardXiong/delayUtil
...
Delay until
2019-12-19 11:04:40 +08:00
armink
6228ff5e98
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
2019-12-19 10:39:55 +08:00
liuxianliang
a9cad2b95b
[net][lwip] rename hostname, change "RT-Thread_xx" into "RTTHREAD_xx"
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-19 10:36:40 +08:00
Bernard Xiong
2c1f7b73a7
[Kernel] fix typo in rthread_delay
2019-12-19 09:45:58 +08:00
Bernard Xiong
c05d9dfee6
Merge pull request #3276 from BernardXiong/fix_signal_minilibc
...
[Kernel] Fix the signal compiling issue when using minilibc
2019-12-19 08:52:10 +08:00
Bernard Xiong
df57b9014c
Update thread.c
2019-12-19 08:06:53 +08:00
Bernard Xiong
7a00b42e97
Update pipe.c
2019-12-18 23:19:54 +08:00
Bernard Xiong
b5e4aa58e0
[Kernel] Fix the signal compiling issue when using minilibc
2019-12-18 23:06:36 +08:00
Bernard Xiong
4a14b8f59a
[Kernel] Add delay_util implementation.
2019-12-18 21:38:26 +08:00
Bernard Xiong
055061a639
[DeviceDrivers] Fix pipe memory issue.
2019-12-18 21:38:05 +08:00
Bernard Xiong
78d42efd22
[DFS] cleanup the log in dfs.
2019-12-18 21:37:42 +08:00
Bernard Xiong
a87c2ef970
Merge pull request #3234 from fmkong/spi_flash_sfud
...
[drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function.
2019-12-18 20:03:28 +08:00
liuxianliang
3557d8f8a1
[net][lwip] add personalized RT-Thread sign into lwip protocol stack as hostname.
...
Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
2019-12-18 14:20:55 +08:00
Bernard Xiong
c73c349113
Merge pull request #3257 from FlyGoat/mips-refine-v1
...
MIPS Base Code Refine v1
2019-12-17 19:51:38 +08:00
Bernard Xiong
4e295d00cd
Merge pull request #3270 from BernardXiong/fix_ymodem
...
[Util] fix the dependence of file feature in ymodem
2019-12-17 19:30:53 +08:00
Fanming
7e9d54d87a
[drivers/spi_flash_sfud] accept the error from spi read or write in spi_write_read function.
2019-12-17 17:46:43 +08:00
Bernard Xiong
457759ded7
[Util] fix the dependence of file feature in ymodem
2019-12-17 13:38:49 +08:00
Jiaxun Yang
c236e8c5d5
[bsp] Adapt ls{1b,1c}dev to new mips common code
...
LS1C selfboot feature have been rewiritten, and we changed
bare boot base to 0x80000000 to better utilize memory.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-17 11:09:59 +08:00
Bernard Xiong
75a3f3dd3a
Merge pull request #3265 from BernardXiong/comments_cleanup
...
[kernel] code and comments cleanup
2019-12-17 07:54:51 +08:00
Bernard Xiong
b9052a52e7
Merge pull request #3264 from Steven-LiuSF/ymodem
...
[components]: utilities: ymodem: Add ymodem send protocol and ry_sy application.
2019-12-17 07:35:53 +08:00
Bernard Xiong
992d3af3ae
[kernel] code and comments cleanup
2019-12-16 13:59:46 +08:00
Steven Liu
3c5f46468c
[components]: utilities: ymodem: Add ry_sy function.
...
Use "ry" to receive files and use "sy file_path" to
send files. Default console uart and you can choose
any other uart if you want.
Signed-off-by: Steven Liu <steven.liu@rock-chips.com>
2019-12-13 11:49:53 +08:00
Bernard Xiong
bb9a55817c
Merge pull request #3237 from qiyongzhong0/stm32l4r5-st-nucleo
...
add stm32l4r5-st-nucleo BSP
2019-12-13 07:19:37 +08:00
Bernard Xiong
4b27738264
Merge pull request #3260 from HubertXie/master
...
[bsp][stm32] fix the hardware timer issue
2019-12-13 07:17:27 +08:00
HubretXie
ad397a63a8
[bsp][stm32]修复硬件定时器bug
2019-12-12 14:56:40 +08:00
HubretXie
aa52a30b82
Merge pull request #9 from RT-Thread/master
...
sync
2019-12-12 14:54:04 +08:00
Jiaxun Yang
4584054e17
[bsp] Add mipssim bsp
...
This bsp is used for test MIPS base code in simutator,
implemented basic MIPS cpuport and serial port driver.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:25:31 +08:00
Jiaxun Yang
9ef986929c
[libcpu] mips: Merge loongson_1 into gs232
...
Previously Loongson 1B and Loongson 1C have their own libcpu
implemention, but they're almost identical. So we merge them
into gs232 and adapt to new common code.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:24:42 +08:00
Jiaxun Yang
7c66501861
[libcpu] Refine MIPS common code
...
MIPS common code was highly duplicated, This commit
is a attempt to clean-up and refine these code.
The context and exception handle flow is mostly identical
with Linux, but a notable difference is that when FPU enabled,
we save FP registers in stackframe unconditionally.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
2019-12-11 15:24:04 +08:00
Bernard Xiong
44123368a9
Merge pull request #3256 from armink/fix_eclipse
...
[bsp/stm32] update eclipse project.
2019-12-11 15:13:31 +08:00
armink
6c85182b72
[bsp/stm32] update eclipse project.
2019-12-11 14:38:26 +08:00
Bernard Xiong
b1399d2f37
Merge pull request #3255 from BernardXiong/bsp_x1000
...
[BSP] move libcpu/mips/x1000 to bsp/x1000/cpu
2019-12-11 12:02:59 +08:00
Bernard Xiong
a972fcc0b5
[BSP] move libcpu/mips/x1000 to bsp/x1000/cpu
2019-12-11 11:01:40 +08:00