4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 08:53:31 +08:00

77 Commits

Author SHA1 Message Date
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
greedyhao
8a85ff4ebe [bsp/bluetrum] formatting code 2021-11-30 17:26:39 +08:00
greedyhao
26310fe254 [bsp/bluetrum] add flash support 2021-11-30 14:38:51 +08:00
Meco Man
df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
greedyhao
8e0c469d0c [bluetrum] Remove unnecessary comments 2021-11-08 09:58:25 +08:00
greedyhao
6a975ff9ed [bluetrum] fix formatting issues 2021-11-06 10:14:03 +08:00
greedyhao
bae4de3b1b add ble support 2021-11-05 17:16:44 +08:00
Meco Man
30abf0ecb9 [bsp] remove empty rt_hw_us_delay 2021-10-28 16:27:31 -04:00
Meco Man
a9910a780e [posix][libc] 优化libc中posix结构 2021-10-26 23:09:54 -04: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
liukangcc
3ac36a3107 [update] Fix compiler flags issue 2021-10-14 10:32:22 +08:00
Bernard Xiong
98404184b1
Merge pull request #5128 from liukangcc/action
[update] add riscv toolchain for ci.
2021-10-13 15:37:26 +08:00
liukangcc
791ec32926 [update] add riscv toolchain for ci. 2021-10-12 10:49:26 +08:00
greedyhao
9fc0c75506 [bsp][bluetrum] convert uintxx_t to rt_uintxx_t 2021-10-11 15:56:02 +08:00
Meco Man
1997113fbc FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS 2021-08-28 16:48:08 -04:00
Meco Man
29828dc94f [finsh] finsh组件可以选择是否包含内置命令 2021-08-25 19:48:15 -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
greedyhao
4b4ec3e789 [bsp][bluetrum] Adding RT_USING_CONSOLE judgment 2021-08-12 17:12:52 +08:00
greedyhao
e6afb03d14 [bsp][bluetrum] remove .a file 2021-08-12 17:06:26 +08:00
greedyhao
65cade5b7e TAB converts to Spaces 2021-08-08 16:38:25 +08:00
greedyhao
1e7290231e [bsp][bluetrum] Optimizing the uart driver 2021-08-08 16:31:00 +08:00
ZHU Hao
a3db13b0a2
Update link.lds 2021-06-22 14:15:06 +08:00
ZHU Hao
d0a9402583
Update drv_sound.c 2021-06-22 14:12:05 +08:00
greedyhao
7c259a05c2 [bsp][bluetrum] Compatible romfs 2021-06-21 21:07:58 +08:00
greedyhao
9d08e9fb12 [bsp][bluetrum] update link.lds 2021-06-21 21:01:05 +08:00
greedyhao
8c5fed62c1 [bsp][bluetrum] stream close 存在问题 2021-06-21 21:00:41 +08:00
greedyhao
3e65ce5d03 [bluetrum] add fmrx support 2021-05-13 10:22:45 +08:00
greedyhao
74f6a0ba7d [bluetrum] Fix the cache mechanism 2021-05-13 10:22:09 +08:00
greedyhao
ada0570b47 [ab32vg1] add irda support 2021-04-13 10:28:47 +08:00
Meco Man
f1d45a184a 优化main函数 2021-04-12 11:51:59 +08:00
greedyhao
849e7728db [ab32vg1] Enable RT_USING_LIBC 2021-04-09 17:41:28 +08:00
greedyhao
42dc1c9c3e [ab32vg1] rewrite drv_xx.c 2021-04-09 17:35:26 +08:00
iysheng
7f738d9f3a [bsp][ab32vg1] Add alarm and 1 second interrupt support 2021-03-26 23:38:40 +08:00
iysheng
d8e906e6c8 [bsp][ab32vg1] Add env config to choose whether use internal clock 2021-03-23 13:50:25 +08:00
iysheng
074ca904a4 [bsp][ab32vg1] Fix sizeof(time_t) no match with this chip 2021-03-23 09:53:54 +08:00
iysheng
a05801911e [bsp][ab32vg1] Add support with uart2 and optimize serial port configuration with env tool 2021-03-18 13:49:01 +08:00
Bernard Xiong
60909301ed
Merge pull request #4443 from mysterywolf/readme
[ab32vg1] update readme
2021-03-15 09:24:43 +08:00
Meco Man
ae75916e62 update 2021-03-12 18:08:37 +08:00
Bernard Xiong
5c4f92126d
Merge pull request #4444 from mysterywolf/wdg
[ab32vg1] 增加看门狗溢出时间宏定义
2021-03-12 08:09:00 +08:00
Meco Man
eb894e88f1 update 2021-03-11 18:22:41 +08:00
Meco Man
1b189ca7fb update board.h 2021-03-11 18:20:09 +08:00
Meco Man
1a06e7ec27 [ab32] update readme 2021-03-11 15:19:36 +08:00
Bernard Xiong
0beaeeef45
Merge pull request #4440 from mysterywolf/hw_delay
[ab32vg1] 增加rt_hw_us_delay()函数防止报错
2021-03-11 14:47:31 +08:00
Meco Man
f18dfa0850 auto formatted 2021-03-11 13:26:54 +08:00
Meco Man
8dfe39b3ac add void rt_hw_us_delay(rt_uint32_t us) 2021-03-11 13:24:28 +08:00
David Lin
79267212ef
[bsp]Mini optimized the drv_sound.c
1.  "tx_fifo = rt_calloc(1, TX_FIFO_SIZE); "  , so deleted the line "rt_memset(tx_fifo, 0, TX_FIFO_SIZE);"
2. " rx_fifo = rt_calloc(1, TX_FIFO_SIZE); "  , so deleted the line "rt_memset(rx_fifo, 0, TX_FIFO_SIZE);"
2021-02-08 11:57:50 +08:00