Commit Graph

54 Commits

Author SHA1 Message Date
JCZou 0369db718c Fix compiler flags issue
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for
gcc to avoid passing gcc flags to g++.
2021-08-19 08:53:27 +02:00
iysheng f2734c0a54 [bsp][gd32450z-eval] Formating files to pass the CI check 2021-06-10 00:06:56 +08:00
iysheng f070d64021 [bsp][gd32450z-eval] Synchronize firmware library updates 2021-06-10 00:06:50 +08:00
iysheng 7b5fd81d06 [bsp][gd32450z-eval] Update firmware library and delete usb relate library codes 2021-06-09 23:49:18 +08:00
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +08:00
Meco Man 2e99d2855b [gd32][drivers] auto formatted 2021-03-12 00:03:36 +08:00
Bernard Xiong a9a004f5b4
Merge pull request #4111 from eYoung8475/master
[bsp][gd32450z-eval]fixed spi driver bug
2020-12-30 09:57:11 +08:00
linyiyang 183f9be898 [bsp][gd32450z-eval]fixed spi driver bug 2020-12-03 08:48:07 +08:00
yangjie11 91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
Bernard Xiong 891e4794c0
Merge pull request #3295 from ChazJin/patch-3
Fix bug for synopsys_emac.c
2020-03-14 15:50:30 +08:00
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
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +08:00
chenyong 74793a53fd [bsp] update project configure file for finsh component change
Signed-off-by: chenyong <1521761801@qq.com>
2019-09-26 15:40:13 +08:00
yangjie 1ef33e66cd [bsp][Kconfig]在bsp的Kconfig中select组件初始化与user main的选项 2019-09-11 12:06:43 +08:00
LinJieqiang d16d78c53e fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE" 2019-09-05 08:33:12 +08:00
chenyong dfa22ae292 [BSP] Update BSP configuration file for IPV6 feature changes 2019-06-24 17:51:31 +08:00
armink 74874fea42 [bsp/gd32450z-eval] Remove the w25qxx driver code. 2019-05-29 14:18:29 +08:00
misonyo 6fe5d13ea1 [travis]add new bsp and fix ci build error 2019-04-22 11:08:16 +08:00
chenyong a6900a2d6f [bsp] Update BSP configuration file for netdev components
Signed-off-by: chenyong <1521761801@qq.com>
2019-04-17 11:00:45 +08:00
tyustli ea8509717e delete C++ support for gcc in the rtconfig.py file 2019-03-26 15:41:06 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
tangyuxin ed725350a9 [tools] 修复命令行使用 iar 工具链,库文件链接不上的问题 2019-01-19 15:16:14 +08:00
misonyo 992e5d6582 [three BSP]fix kconfig file syntax error 2019-01-16 23:30:52 +08:00
misonyo 69cd16e136 [all BSP]fix kconfig file syntax error 2019-01-16 23:23:38 +08:00
chenchaoqun@rt-thread.com 87b407ff18 【修改】.config 中RT_SERIAL_USING_DMA选项 2018-12-17 09:53:44 +08:00
chenchaoqun@rt-thread.com bb8e89e851 【串口】宏定义对应增加 2018-12-17 09:38:53 +08:00
chenyong 1b906876dd [bsp] update keil/iar project for sal 'af_inet.h' error 2018-09-07 17:15:22 +08:00
chenyong e46b16be34 [bsp] Adapt to SAL framework change 2018-07-18 13:42:16 +08:00
liang yongxiang 0cbd41a697 [bps][gd32450z-eval] update lwip to 2.0.2 2018-05-29 10:19:30 +08:00
liang yongxiang e43200fa09 [bsp][gd32450z-eval] update bsp:
- add gcc support
  - update project because GUI had move to packages
  - enable RT_USING_USER_MAIN mode
2018-05-22 22:56:41 +08:00
liang yongxiang 48058683ff [bsp][gd32450z-eval] Update project building error because of GUI engine moved to package. 2018-04-09 12:03:42 +08:00
Bernard Xiong 8b36b57a11 [UIEngine] move UI engine as a package 2018-03-03 16:34:01 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
Bernard Xiong 0f3563fd64 [BSP] Update project files 2017-12-31 21:45:32 +08:00
Bernard Xiong 68a5e7d5a3 [BSP] Update building script 2017-12-31 21:40:20 +08:00
tanek liang d12ea8eb49 [bsp] remove old head file include for RTGUI 2017-11-12 22:20:58 +08:00
SummerGift 6b4750c870 fix bsp/gd32450z-eval for mdk 2017-11-01 19:21:08 +08:00
Bernard Xiong e8c77495b9 [BSP] remove gd32450z-eval from travis-ci. 2017-11-01 09:23:37 +08:00
SummerGift f5486852e1 change dfs_init.h => dfs.h 2017-10-31 16:36:45 +08:00
aozima f75c8f6e81 update SConscript: support scons 3. 2017-10-29 14:32:53 +08:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
tanek liang 09d3599ff9 [bsp] clean code 2017-08-30 17:30:47 +08:00
tanek liang bb6283144c fix warning and update project files 2017-08-30 11:15:34 +08:00
tanek liang d766ababec update uart and spi driver 2017-08-30 11:15:30 +08:00
tanek liang b7cf7c5fc0 update eth driver and clean code 2017-08-30 11:13:55 +08:00
tanek liang 0ecc0f96f5 disable macro for libc 2017-08-30 11:11:11 +08:00
tanek liang c7c0edebba add spi flash driver 2017-08-30 11:10:55 +08:00
tanek liang ea2a9db341 fix eth/lcd io conflict 2017-08-30 11:10:54 +08:00
tanek liang 09f698a209 add eth driver 2017-08-30 11:10:32 +08:00