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
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05: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
Meco Man 958d940575 [lpcxxx] auto formatted 2021-03-17 02:26:35 +08:00
yangjie dc09f3760f 更新 stm32 工程,nxp 工程 2020-12-28 15:02:17 +08:00
Bernard Xiong 786eb5ae9c [C++] rename the Thread/Mutex to cxx_Thread/Mutex to avoid same name issue 2020-04-30 21:08:04 +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
misonyo e5ed62251a [bsp/lpc54608]write high to scl and sda pin after init 2019-05-22 15:04:55 +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
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +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
misonyo a454393994 [BSP][all NXP]change license to Apache-2.0 2018-10-22 11:02:50 +08:00
chenyong 1b906876dd [bsp] update keil/iar project for sal 'af_inet.h' error 2018-09-07 17:15:22 +08:00
Bernard Xiong 7dc042e6b9 [dlmodule] Simply remove the module.c file from the project file. 2018-09-01 11:03:29 +08:00
chenyong e46b16be34 [bsp] Adapt to SAL framework change 2018-07-18 13:42:16 +08:00
liang yongxiang b085393cde [bsp] add ck802 bsp 2018-06-11 09:45:07 +08:00
zheng-chow ed75173cac Fix the SD Card and EMAC issue:
1. The issue concerns sdmmc library bug (I finally solved) in SD_Init() in the file sdmmc/src/fsl_sd.c:SD_SelectBusTiming()
calls SD_SwitchFunction() which sets block size to 64bytes (512bits).Therefore SD_SetBlockSize(card, FSL_SDMMC_DEFAULT_BLOCK_SIZE)
should be called again before SD_Init() exits.
2. The issue is wrong variable in drv_emac.c:lpc_emac_tx(), and the wrong data length of send packet
to cause the send failure.

Signed-off-by: zheng-chow <sernia.zhou@foxmail.com>
2018-06-04 18:14:59 +08:00
liang yongxiang 9c051e4fd1 [bsp][lpc54608-LPCXpresso] add README.md 2018-05-30 21:43:33 +08:00
Bernard Xiong 3aa582bc17 [BSP] Add Kconfig for lpc408x/stm32f10x/stm32f20x/stm32f40x etc 2018-03-04 22:35:07 +08:00
Bernard Xiong bb2eb41b44
Merge pull request #1250 from valeriyvan/fixmemcpy
Fix wrong memcpy parameter
2018-03-04 17:38:44 +08:00
Bernard Xiong 8b36b57a11 [UIEngine] move UI engine as a package 2018-03-03 16:34:01 +08:00
Valeriy Van a3bac3cb61 Fix wrong memcpy parameter 2018-03-02 11:46:40 +01:00
MurphyZhao 472491e7ca Fix IAR Version Problem
[bsp/lpc54608-LPCXpresso/applications/SConscript]
[bsp/imxrt1052-evk/applications/SConscript]
2018-01-10 15:10:02 +08:00
Bernard Xiong 0f3563fd64 [BSP] Update project files 2017-12-31 21:45:32 +08:00
tangyuxin ded66869c6 [bsp]54608更新GUI引擎宏定义 2017-12-07 19:09:23 +08:00
Bernard Xiong 7bc87e4ae8 [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +08:00
tanek liang 50de6eedf5 [bsp] fix lpc54608 printf bug 2017-11-29 18:35:13 +08:00
tanek liang f7b434481c [bsp] fix bug: emac hardfault when RJ45 not inserted 2017-11-25 21:10:40 +08:00
tanek liang 02693a2051 [bsp] fix scons + armcc build error
- add --c99 flag for c code
- add --cpp flag for cpp code
2017-11-24 20:20:12 +08:00
tanek liang e2b5f7a722 [bsp] update emac driver
- fix 10 or hard duplex not work
- rewrite tx/rx function
- update emac init function
2017-11-24 20:20:11 +08:00
tangyuxin a702dde0c7 [bsp]Add SOC type 2017-11-22 20:02:11 +08:00
tanek liang 40d0ff9960 [bsp] add iar support for lpc54608 and fix sdram bug 2017-11-16 11:05:32 +08:00
tanek liang a0c2e50e36 [bsp] support GCC for RT_USING_MODULE 2017-11-16 11:05:32 +08:00
tanek liang 37bb0e96e2 [bsp] update template and project after enable RT_USING_MODULE 2017-11-16 11:05:32 +08:00
tanek liang 249c3d471c [bsp] enable RT_USING_MODULE 2017-11-16 11:05:32 +08:00
tanek liang 71818e8da1 [bsp] lpc54608 update MDK scatter file 2017-11-16 11:05:32 +08:00
tanek liang 6e3c629cde [bsp] lpc54608 update CMSIS lib to V5.0.3 2017-11-16 11:05:32 +08:00
tanek liang dcce8489db [bsp] add gcc support 2017-11-16 11:05:32 +08:00
DengQilong 7df2b52826 update bsp_lpc54608 2017-11-14 16:48:36 +08:00
DengQilong e79f9e6b02 fix bsp for lpc54608 2017-11-13 14:18:05 +08:00