Commit Graph

30 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 6369e89502
[posix] POSIX standard implementation for PSE51 (#5384)
* [posix] POSIX standard implementation for PSE51

- add some posix's interfaces that we haven't before.
- these PR have passed the interface definition test across gcc platfrom;
- have tested base on qemu-a9 and stm32h750-art-pi.

* [newlib] only enable POSIX.1-1990

* update projects
2021-12-17 15:34:17 +08:00
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
Lyon 0c5f612183
Update rtconfig.h 2021-12-13 10:27:38 +08:00
Lyon b25e761712
add stack size to avoid stack overflow when boot 2021-12-12 23:39:01 +08:00
Meco Man 9f55c88ddd 刷新龙芯工程 2021-09-15 11:50:53 -04:00
Meco Man cc000b33cd update bsp ls1cdev 2021-02-12 12:24:59 +08:00
michael d874ab1109 mips:gs232:LS1C300 have 5 group INTC cells but LS1B have 4 group INTC cells 2021-01-31 21:56:30 +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
LinJieqiang d16d78c53e fix spelling mistake for "RT_IDEL_HOOK_LIST_SIZE" 2019-09-05 08:33:12 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
chenchaoqun@rt-thread.com bb8e89e851 【串口】宏定义对应增加 2018-12-17 09:38:53 +08:00
Bernard Xiong 9e80680a6c [BSP][ls1c] fix config issue 2018-11-09 17:55:17 +08:00
zhuangwei e9c78be947 [bsp/ls1cdev]添加softfp支持,默认配置使用softfp编译 2018-06-14 19:11:13 +08:00
zhuangwei123 9a7caed323 [bsp/ls1cdev]添加自引导特性,添加配置选项
1、添加自引导特性,添加配置选项
2、修复cpuport.c的bug
3、修复ls1c_pin.c不能默认复用的bug
2018-05-12 19:33:32 +08:00
zhuangwei123 6725dfa598 [bsp/ls1cdev]
1、uart驱动重写,采用uart驱动框架
2、添加并修改勤为本ls1c_uart
3、开启main为用户程序入口,删除application.c和startup.c,并对初始化部分做相应调整更新。
4、开启dhcp
2018-05-10 22:20:37 +08:00
sundm75 d507382bbf [bsp][ls1c] delete msd driver, use SD/TF card driver with spi in components 2018-03-18 20:33:57 +08:00
sundm75 d8b85925e7 [BSP][ls1c]Add kconfig. 2018-02-09 09:25:20 +08:00
sundm75 b08ff9eee2 [bsp] Add SmartloongV3 display,touch,msd, hw_i2c driver 2018-01-15 14:56:48 +08:00
勤为本 9af2db092e [BSP][ls1c]新增PIN接口
将龙芯1c库中的gpio接口重新封装为RTT统一标准的pin接口
2017-11-24 17:16:42 +08:00
勤为本 711ad21e30 龙芯1c平台的rtt统一标准的I2C接口 2017-11-22 13:12:11 +08:00
勤为本 1bbe09df94 把龙芯1c的SPI接口改为RTT统一的SPI接口 2017-11-08 00:05:05 +08:00
bernard 6469a748b3 [BSP] remove the old ipaddr settings. 2017-10-29 15:22:18 +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
勤为本 574e22bdbd 在配置文件“rtconfig.h”中增加硬浮点FPU的配置项,
浮点经常会用到,所以默认使用硬浮点。
2017-09-13 15:21:09 +08:00
勤为本 838c63f365 添加龙芯1C片内网卡的驱动(原创作者是chinesebear,https://github.com/chinesebear/rtt-net) 2017-08-23 15:46:51 +08:00
勤为本 5734d52a08 把每秒Tick数从100改为1000(龙芯1c主频252M,改为1000没问题)
把栈从4字节改为8字节对齐(浮点需要8字节对齐)
2017-07-20 17:50:43 +08:00
Bernard Xiong 1368e01470 [BSP] fix RT_DFS_ELM_MAX_LFN to 255. 2017-04-09 19:23:28 +08:00
Bernard Xiong 066ec6dc91 [BSP] remove display_controller.h/c from ls1cdev bsp 2015-10-15 12:22:16 +08:00
pangwei 330ab2ca0d [BSP]fix lslc compiling issue when using RT_USING_LIBC. 2015-08-06 16:12:37 +08:00
chinesebear 4ad1b35537 chinesebear add bsp & libcpu 2015-07-09 07:38:07 +08:00