Commit Graph

109 Commits

Author SHA1 Message Date
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
guo 2babfedd52
Merge pull request #5397 from liukangcc/cflag
[update] CFLAGS
2021-12-21 17:50:54 +08:00
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
liukangcc b0f6c2fbae [update] CFLAGS 2021-12-17 14:28:40 +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 cdf4a606f2
Update .config 2021-12-13 10:26:57 +08:00
Lyon b25e761712
add stack size to avoid stack overflow when boot 2021-12-12 23:39:01 +08:00
guo b1baf42d4e
Revert "Fix compiler flags issue" 2021-10-14 14:36:18 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
Meco Man 8b17d53da7 [libc]新建gcc文件夹,将newlib和partical文件夹并入 2021-09-27 16:40:12 -04:00
Meco Man 9f55c88ddd 刷新龙芯工程 2021-09-15 11:50:53 -04: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
yangjie 75e4c9dd0a [bsp]update GPL license to Apache-2.0, and format files 2021-04-09 10:52:34 +08:00
Bernard Xiong b204651517
Merge pull request #4333 from mysterywolf/pthread
[pthread][libc][time] 修改pthread与libc的时间函数若干问题
2021-02-20 12:12:56 +08:00
Meco Man cc000b33cd update bsp ls1cdev 2021-02-12 12:24:59 +08:00
Meco Man 86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +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
Bernard Xiong de0bb6f96c
Merge pull request #3883 from bigmagic123/ls2k_add_gmac
Ls2k add gmac
2020-09-11 13:33:16 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
bigmagic 39224e4888 fixed loongson bsp compile flags 2020-09-05 10:28:03 +08:00
bigmagic c66314a8b6 fixed loongson bsp build on windows 2020-09-04 11:57:35 +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
Ernest 7be06b67bb [add] default environment 2019-10-22 16:48:57 +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
liufeilong 9e2dedeff5 实现网络稳定传输以及ADB正常传输文件 2019-08-21 13:43:37 +08:00
liufeilong 1b01546ca0 新增sd初始化以及spi03设备 2019-08-21 13:42:17 +08:00
liufeilong 3ac168c9f6 更正gpio框架中断方式宏定义与1c底层中断方式宏定义不一致问题 2019-08-21 13:40:57 +08:00
sundm75 f74f6e8c55 [bsp][ls1c] Add watchdog library function and driver . 2019-05-08 08:15:20 +08:00
sundm75 7ae6627465 [bsp][ls1c] add uart3 driver; fix net driver for lwip2.1.0; fix drv_t ouch driver; fix display driver; fix can driver. 2019-04-26 21:00:20 +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
sundm75 029e161f59 [BSP][all ls1c]change license to Apache-2.0
[BSP][ls1c] add rtc library
[BSP][ls1c] add pwm ,touch , rtc driver
2018-12-24 18:49:00 +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
Bernard Xiong 9e80680a6c [BSP][ls1c] fix config issue 2018-11-09 17:55:17 +08:00
Bernard Xiong 6bde1c520d
Merge pull request #1738 from zhuangwei123/master
[bsp/ls1cdev]修复以太网驱动发送字节丢失问题
2018-08-26 20:08:04 +08:00
zhuangwei123 1572cda572 [bsp/ls1cdev]astyle格式化 2018-08-26 18:27:38 +08:00
zhuangwei123 efa6eb1dc2 [bsp/ls1cdev]修复以太网驱动发送字节丢失问题 2018-08-26 12:19:20 +08:00
Bernard Xiong 2ec54bab7a
Merge pull request #1709 from zhuangwei123/master
[bsp/ls1cdev]rename kconfig to Kconfig
2018-08-09 17:43:01 +08:00
zhuangwei 67832e4509 rename kconfig to Kconfig 2018-08-09 14:50:00 +08:00
luo jiao ef8398c2bb [components][drivers][pin module]:typo fix for pin_detach_irq 2018-06-26 22:18:58 +08:00
zhuangwei e9c78be947 [bsp/ls1cdev]添加softfp支持,默认配置使用softfp编译 2018-06-14 19:11:13 +08:00
zhuangwei123 e7f78855bd [bsp/ls1cdev]drv_spi.c astyle格式化代码 2018-06-10 10:52:05 +08:00
zhuangwei123 b05a5a6f3d [bsp/ls1cdev]SPI0添加CS0支持,移除drv_spi.c中的msd_init。SPI00可用于注册NORFLASH驱动 2018-06-09 21:09:33 +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 ce6a918316 Merge remote-tracking branch 'upstream/master' 2018-05-11 14:45:16 +08:00
zhuangwei123 cba34bd4d1 [bsp/ls1cdev]drv_gpio add interrupt ops 2018-05-11 14:36:18 +08:00