Commit Graph

60 Commits

Author SHA1 Message Date
Tangyuxin d724eed9fc
分离内存分配接口与内存分配算法 (#5175)
* [kernel][mem] Multiple instances of small memory allocation algorithm

* [kernel][mem] Change small memory management algorithm memory header flag

* [kernel][mem] Fix assertion problem

* [kernel][slab] Multiple instances of slab memory management algorithm

* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces

* [kernel][mem] Clean up memory space of small memory management objects

* [kernel][kservice] Add memory application interface and thread protection interface

* [kernel][kservice] Fix function return value problem

* [kernel][memheap] Optimize memheaptrace print

* [kernel][memheap] Support best mode

* [kernel][memory] Remove semaphore lock

* [kernel][memheap] Add locked flag

* [kernel][memory] Support malloc memory in interrupt

* [kernel][memheap] Add 'memheapcheck' cmd

* [kernel][mem] Fix failure to request full memory

* [kernel][memheap] Fix compilation warning

* [kernel][mem] Fix mem realloc ASSERT

* [examples][testcases] Add small mem testcase

* [examples][mem_tc] Modify test memory size

* [examples][testcases] Add slab memory management algorithm test case

* [examples][testcases] fix small memory management algorithm test case

* [kernel][memory] Adjusting memory allocation algorithm object definition and interface

* [kernel][memory] Fix compilation warning

* [examples][utest] Fix mem test case

* [examples][utest] fix slab test case

* [utest][testcases] Shorten test time

* [kernel][memory] Formatting code

* [examples][utest] Adjust test run time

* [examples][utest] Formatting code

* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -05:00
sunxing 4c42b5bd82 [fix] fix bugs about startup_gd32f4xx 2021-11-21 12:43:36 +08:00
guo cda8caeda0
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
2021-10-15 13:54:46 +08:00
liukangcc 7dc99c1ff4 [update] bsp .config file and rtconfig.h file. 2021-10-14 14:49:53 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
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