Commit Graph

75 Commits

Author SHA1 Message Date
liukangcc ccbd22f493 [update] refresh project 2022-01-26 18:30:23 +08:00
Meco Man 3606065803 [lwip] remove lwip 2.0.2
- 移除2.0.2,该版本存在几个重要的bug,已经在2.0.3中修复,作者强烈建议更新
- 将部分bsp由2.0.2调整为2.0.3
2022-01-20 20:54:51 +08:00
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
Meco Man 879e9d4c54 更新rtconfig.h 2021-12-01 22:02:36 -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
guo 92ea0ec8c7
Merge pull request #5178 from RT-Thread/revert-5171-ccflags
Revert "Fix compiler flags issue"
2021-10-14 15:21:36 +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
guozhanxin 0546b4b524 Merge remote-tracking branch 'remotes/gitee/gitee_master' 2021-10-14 14:07:13 +08:00
liukangcc 3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
Meco Jianting Man ebdf19bf0f
Merge branch 'RT-Thread:master' into part 2021-09-27 21:12:08 -05:00
guo 00d42ef73c
Merge pull request #5030 from junchao98/local-dev
[bsp] Fix missing header file applications in ls2k
2021-09-28 09:36:55 +08:00
Meco Man 8b17d53da7 [libc]新建gcc文件夹,将newlib和partical文件夹并入 2021-09-27 16:40:12 -04:00
BernardXiong d9057a3263 [BSP] fix the formating issue for drv_spi in ls2k 2021-09-25 11:53:23 +08:00
Meco Man f191694b19 [ci][action.yml]CI加入龙芯ls2kdev 2021-09-22 08:24:45 -04:00
Meco Man 9f55c88ddd 刷新龙芯工程 2021-09-15 11:50:53 -04:00
yarra b20f4b0844 [bsp] Fix missing header file applications in ls2k 2021-09-08 10:57:21 +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 86ebf17a23 localtim改为gmtime 2021-02-07 21:49:25 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
Bernard Xiong 59f320783f
Merge pull request #4286 from Michael0066/ls1b-dev
ls1b: fix the count of GPIO IRQ
2021-02-02 07:00:46 +08:00
Bernard Xiong bb35c5d627
Merge pull request #4242 from 0xcccccccccccc/patch-1
[BSP][LS2K][Bug fix]修正龙芯2K平台下SPI分频系数调节不正确的错误
2021-02-02 05:39:15 +08:00
michael 4de8848a8c bsp:ls2k: make uart init more flexible 2021-01-31 23:03:16 +08:00
michael 752238dbe8 bsp:ls2k:make set console device more flexible 2021-01-30 19:47:13 +08:00
马浩然 902fe8bd5e
Update drv_spi.c
Bug Fixed : clock division cannot been adjusted as expected due to wrong register configuration.
2021-01-17 23:33:48 +08:00
bigmagic ce2cafdf41 fix readme file 2020-12-29 18:54:25 +08:00
bigmagic 606ffc5e70 add ls2k lwext4 pkgs support 2020-12-29 18:54:18 +08:00
bigmagic 68689c7c43 add ls2k sata ssd driver 2020-12-29 18:54:12 +08:00
0xcccccccccccc 90560e87c5 - Copyright information added. 2020-12-11 00:45:58 +08:00
0xcccccccccccc edc4028944 - Remove duplicated line feeds and unnecessary annotations.
- Maintainers information is now corrected.
- Withdraw the modification on EXEC_PATH of the gcc toolchain.
2020-12-08 10:13:52 +08:00
0xcccccccccccc e6b5feae7c Merge branch 'rtt-ls2k' of https://github.com/0xcccccccccccc/rt-thread into rtt-ls2k 2020-12-07 20:47:27 +08:00
0xcccccccccccc 5d32b5d2d2 - fix indentations. 2020-12-07 20:40:43 +08:00
马浩然 0fc2211c77
Update drv_uart.c
fix indentataions
2020-12-01 16:52:31 +08:00
0xcccccccccccc 0fc2b13b45 - SPI is now supported on ls2k1000 platform.
- Multi-Port & Adjustable Buadrate of UART controller feature added.
2020-11-30 14:57:21 +08:00
0xcccccccccccc 11132bcb64 - SPI support for ls2k1000 is now avaliable 2020-11-30 14:46:52 +08:00
Bernard Xiong 8302a72243
Merge pull request #3913 from Michael0066/master
MIPS:fix the RT_EXCEPTION_MAX value
2020-09-19 22:11:30 +08:00
michael ab78ea1de1 bsp:ls2k:improved implement of shutdown and reboot command 2020-09-17 20:22:51 +08:00
michael 623bf0abc9 bsp:ls2k:unify code format 2020-09-17 10:39:45 +08:00
michael 93bcc2e0d2 unify code format 2020-09-15 11:34:29 +08:00
michael dd36771801 bsp:ls2k:add reboot and power command 2020-09-15 11:25:37 +08:00
michael b86d608d63 bsp:ls2k: add reboot and shutdown support 2020-09-15 11:20:15 +08:00
bigmagic abe9da6088 gmac address variable 2020-09-14 15:14:10 +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
Bernard Xiong 36cb4349a6
Merge pull request #3897 from yangjie11/yj_dev1
[components][driver/pin.c]pin 框架增加 rt_pin_get
2020-09-11 12:57:59 +08:00
bigmagic a97b0a0d39 code format 2020-09-11 11:44:49 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00