liuxianliang
11d83225d6
[remove] useless variable.
2022-01-24 14:42:22 +08:00
Man, Jianting (Meco)
31c3214faf
[posix][io]整理posix/io文件夹 ( #5539 )
...
* [posix][io]整理posix/io文件夹
- 将select.c移入到poll文件夹
- 将libc.c移入到tty文件夹,isatty函数归并到libc.c中, termios并入tty文件夹中
- 整理Sconscript
Signed-off-by: Meco Man <920369182@qq.com>
* [libc][newlib]调整文件夹结构
2022-01-24 09:16:57 +08:00
Meco Man
e10173daff
[device] rename src folder as ipc
2022-01-22 16:43:51 +08:00
guozhanxin
1aa96f34cd
[lwip]Improve lwip support for 64-bit architecture
2022-01-21 21:48:45 +08:00
Bernard Xiong
b5de986122
Merge pull request #5542 from mysterywolf/keil
...
[sconscript.platform] 优化针对编译器判断
2022-01-20 21:01:00 +08:00
Meco Man
8bf5a28528
[workqueue] 增加rt_work_urgent
2022-01-20 20:58:46 +08:00
Meco Man
36cbc1fd2f
[workqueue] time参数改为ticks,防止误解单位为ms
2022-01-20 20:58:46 +08:00
Meco Man
3a789b3317
[workqueue] improve comment
2022-01-20 20:58:46 +08:00
Meco Man
1874bd25aa
[timer] improve parameter checking
2022-01-20 20:58:46 +08:00
Man, Jianting (Meco)
c89735a357
[libdl] move libdl to posix folder ( #5523 )
2022-01-20 20:55:31 +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
xiangxistu
075e04e344
the support for PSE51 ( #5534 )
...
* [add] the function realization of signal for posix.
* [update] the posix support for armclang.
* [add] the new macro "RT_USING_POSIX_TIMER".
* [modify] select "RT_USING_SOFT_TIMER" when use posix'timer.
* [bug] optimize the logic for the "time_xxx" functions.
* [modify] use "RT_USING_POSIX_TIMER" to protect the macro definition.
* [modify] error code when except happened.
* [delete] the "environ" is useless at this time.
2022-01-20 20:53:47 +08:00
Meco Man
add72f1d7c
[dfs][posix] add creat()
2022-01-20 20:50:24 +08:00
guo
7c403d3587
Merge branch 'master' into keil
2022-01-20 14:20:43 +08:00
Meco Man
884218588a
[sconscript.platform] 优化针对编译器判断的脚本
...
- 删除啰嗦的代码
related: https://github.com/RT-Thread/rt-thread/issues/3046
2022-01-19 23:24:47 -05:00
liukangcc
27511885f3
[update] change ccflags to cflags
2022-01-20 11:50:30 +08:00
Meco Man
169fca84f7
[ymodem] silent warnings
2022-01-18 01:34:55 +08:00
Man, Jianting (Meco)
c3162f373f
[libc][lwip] 修复ioctl与lwip socket定义冲突的问题 ( #5504 )
...
* [lwip] 修复ioctl与lwip socket定义冲突的问题
* format sys/ioctl.h
2022-01-17 11:21:39 +08:00
Meco Man
76cab376ad
[libc] 调整文件结构
2022-01-17 11:18:09 +08:00
Meco Man
8213bbd92e
update
2022-01-14 23:09:32 +08:00
liukangcc
3d2e23ec1c
[update] move dfs_posix.h to legacy/dfs/dfs_posix.h
2022-01-14 23:09:32 +08:00
wangqiang
3842d3749c
modify annotation for sys_arch_mbox_tryfetch
2022-01-13 15:06:37 +08:00
wangqiang
9e89fa158d
fixed the return value for sys_arch_mbox_fetch in lwip stack
2022-01-13 14:50:25 +08:00
Meco Man
f89a162ea3
[core] 使用rt_memcpy rt_memset代替memcpy memset
2022-01-09 00:23:18 +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
tangyuxin
09f439bcc2
[memheap] Fix 64 bit potential risk
2022-01-08 15:50:14 +08:00
Meco Man
29c19f7ffd
[libc] 优化nanosleep函数
2022-01-08 15:46:52 +08:00
Meco Man
8565fe2448
[simulator] 消除vs下的警告
2022-01-08 15:46:52 +08:00
Meco Man
e6fd3ffcd9
[libc]修理一些细节问题
2022-01-05 23:12:41 +08:00
Meco Man
918ee6147c
add RT_USING_POSIX_STDIO
2022-01-05 23:11:58 +08:00
guo
126f80e2e6
Merge pull request #5469 from mysterywolf/simulator
2022-01-04 18:53:26 +08:00
guo
3b942f896b
Merge pull request #5459 from mysterywolf/aaaaa
2022-01-04 18:47:34 +08:00
guo
05c30fde05
Merge pull request #5451 from mysterywolf/armcc
2022-01-04 18:46:03 +08:00
Meco Man
ee93914d78
[libc] 处理在win32平台下的编译问题
2022-01-03 13:33:03 -05:00
Meco Man
09c089d511
[posix] remove getline
2021-12-31 17:06:04 +08:00
nongxiaoming
cec72c92c7
[components][sdio] fix compile warning and optimized code.
2021-12-31 17:05:42 +08:00
Meco Man
9a61b65c13
[lwip] 修复dhcpd没有包含2.0.3版本的问题
2021-12-30 20:02:01 -05:00
Meco Man
5187d75af5
[armclang] 使用__clang__代替__CLANG_ARM
2021-12-29 14:15:38 -05:00
nongxiaoming
57165329ac
[components][usb] fix compile warning in cdc_vcom.c
2021-12-30 01:38:16 +08:00
Meco Man
85276f4535
[libc] 删除compiler_private.c文件
2021-12-30 01:27:25 +08:00
Meco Man
c8dcf7cc68
[libc]rename group name
2021-12-30 01:27:25 +08:00
Meco Man
ed09f38012
[libc] remove RT_USING_LIBC
2021-12-30 01:27:25 +08:00
Meco Man
29b73ecb6f
[newlib] 处理newlib版本不一致导致的问题
2021-12-29 12:10:02 +08:00
guo
dcce9886e9
Update sensor.c
2021-12-24 10:10:59 +08:00
guo
51569a068a
Merge pull request #5418 from mysterywolf/revert-5412-clang-arm
...
Revert "add clang-arm support."
2021-12-24 09:17:41 +08:00
mazhiyuan
a2561a41b9
fix cmd: tail
2021-12-24 05:53:28 +08:00
Wayne Lin
9dc4ca0d31
Remove unused comment.
2021-12-24 05:36:12 +08:00
Wayne Lin
28f91a86f5
Correct sem's name of sd block device.
2021-12-24 05:36:12 +08:00
Wayne Lin
f508d58c05
Strip tailing space.
2021-12-24 05:36:12 +08:00
Wayne Lin
bac75e24bd
[SDIO] Create SD block device.
...
1. New naming rule for multiple cards: sdXpY. Ex: sd0, sd0p0, sd0p1, sd1, sd1p0, sd1p1, .... sdXpY.
2. Always create super-node for backward-compatible and fdisk-like utility. EX: sd0, sd1, ..... sdX.
3. Shrink code.
2021-12-24 05:36:12 +08:00
Wayne Lin
600e67f952
Revert to RT_IPC_FLAG_PRIO.
2021-12-24 05:36:12 +08:00
Wayne Lin
7e6ffd3447
Support multi-partition/-card mounting.
2021-12-24 05:36:12 +08:00
Wayne Lin
c84952d9cd
Fix infinite-loop in rt_mmcsd_blk_remove.
...
1. Issue on traveling latest node in list if multi-partitions on card.
2021-12-24 05:36:12 +08:00
Man, Jianting (Meco)
ed1f8b3f64
Revert "add clang-arm support."
...
This reverts commit a5f6fdc780
.
2021-12-22 18:57:16 -05:00
guozhanxin
acc62c1e3d
【修复】armclang cpp11 内存泄漏及编译警告问题
2021-12-22 13:04:35 +08:00
guozhanxin
a5f6fdc780
add clang-arm support.
2021-12-22 13:03:05 +08:00
guo
f20eef99db
Merge pull request #5401 from mysterywolf/lwip
...
[kservice] remove RT_USING_ASM_MEMCPY RT_USING_ASM_MEMSET
2021-12-22 09:38:27 +08:00
guo
fb7b9f4fb4
Merge pull request #5318 from enkiller/1201
...
[components][src] Optimize interrupt disable time
2021-12-21 17:40:59 +08:00
Meco Man
093b9700c8
[kservice] remove RT_USING_ASM_MEMCPY RT_USING_ASM_MEMSET
2021-12-19 08:45:08 -05: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
chenyingchun0312
417efc370f
[drivers/i2c] optimize i2c driver framework
2021-12-17 10:25:08 +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
guo
6373523c31
Merge pull request #5343 from ousugo/addAnnotation
...
Add pipe.c function annotation
2021-12-15 12:00:42 +08:00
ousugo
9261bab77b
Fix format
2021-12-14 21:17:00 +08:00
ousugo
c9cbc6fb0c
Fix annotation grammatical mistake
2021-12-14 21:17:00 +08:00
ousugo
db32aba3d4
fix format
2021-12-14 21:17:00 +08:00
ousugo
f62bd0373a
add waitqueue.c function annotation
2021-12-14 21:17:00 +08:00
ousugo
3e9757888f
Fix format and mistake
2021-12-14 14:13:02 +08:00
guo
92cf02a34d
Merge pull request #5262 from ShermanShao/master
...
[BSP/RA6M4-CPK] 添加 CAN、RW007 的支持
2021-12-14 11:24:47 +08:00
Sherman
0f0093aa3e
[UPDATE]添加新驱动、完善 BSP
...
- [update] 更新 template 工程配置
- [update] 更新 PLATFORM 配置
- [add] 添加 ra icu 驱动文件
- [add] 增加传感器类型 IAQ、EtOH
- [add] 添加 CAN 驱动
- [add] 添加 RW007 驱动及使用说明
- [fix] GCC 编译问题
- [fix] flash 驱动
- [fix] 修改 scons 脚本配置
2021-12-14 11:04:46 +08:00
ousugo
4820dbb0b3
Merge branch 'master' into addAnnotation
2021-12-14 10:42:18 +08:00
张世争
7455e2487b
[components] PM框架更新
2021-12-14 06:12:55 +08:00
Meco Man
153ab5c238
update poll sconscript
2021-12-14 06:12:04 +08:00
Meco Man
15435b6850
[posix][mmap] create the mman folder
2021-12-14 06:12:04 +08:00
Meco Man
ce8085befa
[posix][ipc] add ipc header files
2021-12-14 06:12:04 +08:00
Meco Man
7ff976dab3
[posix] [pipe] add IPC for POSIX and add pipe for it
2021-12-14 06:12:04 +08:00
jonas
7e06b6c504
[fix]修复AT组件在CLI模式下,指令输入过长导致数组越界的问题
2021-12-09 18:11:55 +08:00
Bernard Xiong
fd9eea2f7f
Merge pull request #5334 from mysterywolf/posix
...
[posix] 按照高级unix环境编程整理IO类别
2021-12-07 23:54:44 +08:00
ousugo
a237f805b9
fix format
2021-12-07 16:08:00 +08:00
ousugo
7f698140e8
Add pipe.c function annotation
2021-12-07 16:05:01 +08:00
Meco Man
67e14adc4f
[posix] 按照高级unix环境编程整理IO类别
2021-12-05 23:07:41 -05:00
liuxianliang
9b1f7c4ffe
[fix] the problem of implicit declaration for "lwip_ip4_route_src".
2021-12-06 10:27:54 +08:00
Meco Man
d7032b9c01
[lwip] solve the conflict between multi BYTE_ORDER(s)
2021-12-05 01:43:53 -05:00
Bernard Xiong
36d5154256
Merge pull request #5320 from mysterywolf/pse-master
...
[POSIX] move PSE branch to master
2021-12-05 13:16:39 +08:00
Bernard Xiong
0453536384
Merge pull request #5331 from recan-li/master_fix
...
【PR】修改bsp/qemu-vexpress-a9的若干问题
2021-12-05 09:58:57 +08:00
Bernard Xiong
6feea35e95
Merge pull request #5313 from aozima/aozima_cputime
...
cputime数据类型修改为64位
2021-12-04 22:57:37 +08:00
recan-li
cf92ae747f
fix: Fix compile warnings on qemu-vexpress-a9 platform (-Wimplicit-function-declaration)
2021-12-04 01:03:26 +08:00
armink
4399aed641
fix build error.
2021-12-03 13:34:03 +08:00
armink
d8d15017bc
[ulog] Add ulog backend filter.
2021-12-03 12:04:20 +08:00
guo
fda37d55f8
Merge pull request #5319 from RT-Thread/master
...
【PSE分支】同步master到PSE分支
2021-12-02 10:09:37 +08:00
aozima
c2fec1bf45
update cputime_cortexm.c support 64bit.
2021-12-01 20:08:32 +08:00
aozima
9a3d0a0ea2
cputime support 64bit.
2021-12-01 20:08:32 +08:00
Bernard Xiong
1cf8370b1b
Merge pull request #5295 from ousugo/addComment
...
Add dataqueue.c function annotation
2021-12-01 18:01:54 +08:00
Meco Man
7b1f65a690
[libc][keil] fix the bug of _sys_read and _sys_write
2021-12-01 02:19:15 -05:00
ousugo
b329611e35
Update annotation
2021-12-01 14:43:53 +08:00
tangyuxin
a77cc81876
[components][drivers] format file
2021-12-01 14:41:13 +08:00
tangyuxin
5128a27c43
[components][src] Optimize interrupt disable time
2021-12-01 14:19:25 +08:00
Meco Man
43ebe094e3
[pipe] 补充注释
2021-12-01 00:29:02 -05:00
Meco Man
b61cc91d14
[posix] 将posix单独划分为一个Kconfig目录
2021-11-30 14:50:10 -05:00
Meco Man
04d3d13081
替换宏定义
2021-11-30 10:39:40 -05:00
Meco Man
7973ede5a8
增加RT_USING_POSIX_FS
2021-11-29 00:53:46 -05:00
Bernard Xiong
e055a00778
Merge pull request #5299 from mysterywolf/rtc
...
modify time.h to sys/time.h
2021-11-27 02:43:21 +08:00
guo
7f194865e0
Merge pull request #5303 from armink/timer
...
Update Timer cmd
2021-11-26 10:46:42 +08:00
Bernard Xiong
1cea0c8c79
Merge pull request #5279 from OpenNuvoton/nuvoton
...
[Nuvoton] Update drivers.
2021-11-25 20:03:58 +08:00
armink
fc72bd1f9b
[shell] update the code format
2021-11-25 15:33:50 +08:00
armink
31714562cc
[shell] update the list_timer cmd.
2021-11-25 15:30:36 +08:00
Meco Man
7c789d4b11
revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
2021-11-24 09:47:55 -05:00
ousugo
2ef0d40aff
Fix space
2021-11-24 21:59:37 +08:00
Meco Man
bd80b7a4a1
对finsh_set_device调用增加宏定义限制
2021-11-24 08:57:12 -05:00
Meco Man
a3284876ff
revise RT_USING_POSIX_STDIO to RT_USING_POSIX_DEVIO
2021-11-24 08:41:10 -05:00
Bernard Xiong
6a6b43fe3e
Merge pull request #5261 from mysterywolf/weak
...
[kernel] prepare to support full functional sprintf-family functions
2021-11-24 17:38:15 +08:00
Bernard Xiong
f11113f557
Merge pull request #5277 from mysterywolf/compatibility
...
implement legacy support
2021-11-24 17:37:25 +08:00
Bernard Xiong
64023c38f7
Merge pull request #5283 from mysterywolf/dfs
...
[dfs] move dfs back
2021-11-24 17:37:03 +08:00
ousugo
02ca44bf1f
Fix annotation grammatical mistake
2021-11-24 15:21:30 +08:00
ousugo
1deaa8fe50
Update annotation format
2021-11-24 14:19:25 +08:00
ousugo
2c2a1fe64e
Update annotation format
2021-11-24 14:14:45 +08:00
Meco Man
a1cc3d43e7
modify time.h to sys/time.h
2021-11-23 22:38:00 -05:00
ousugo
afdbee97ed
fix extra space
2021-11-23 16:40:55 +08:00
ousugo
dc1f2631ee
Add dataqueue.c function annotation
2021-11-23 16:05:17 +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
Bernard Xiong
fede47a7f9
Merge pull request #5282 from xiangxistu/lwip
...
ping cmd with specified netif in lwip-2.1.2
2021-11-17 16:03:38 +08:00
Meco Man
040f05f40d
[sfud][cfg] 取消rt_kprintf声明
2021-11-16 12:12:47 -05:00
Meco Man
973f25901c
[dfs] move dfs back
2021-11-16 00:57:56 -05:00
Bernard Xiong
0bcab2892a
Merge pull request #5268 from mysterywolf/SYSCALL
...
[libc]重新梳理read write桩函数实现
2021-11-15 23:27:27 +08:00
Bernard Xiong
6f297bd2aa
Merge pull request #5267 from mysterywolf/libc-fcntl.h
...
[libc] 修复在fcntl.h中两种不同的宏编码方式导致的bug
2021-11-15 23:18:28 +08:00
Meco Man
4fe93881b0
[dlib][armlibc] 内存函数在HEAP没有开启时增加错误警告
2021-11-15 09:55:47 -05:00
liuxianliang
8e518f234a
[fix] format
2021-11-15 15:58:31 +08:00
yukelab
be2006f325
fix sys_arch.c
2021-11-15 15:30:21 +08:00
yukelab
cda78884aa
ping cmd with specified netif in lwip-2.1.2
...
using LWIP_HOOK_IP4_ROUTE_SRC hook find specified netif route, using
cmd `ping 192.168.xx.xx e0`, ping dest using e0 netif. if not found
netif, using default netif, the effect is same as the cmd `ping 192.168.xx.xx` that only ping with default netif.
2021-11-15 15:30:20 +08:00
Meco Man
c6c1544c84
implement legacy support
2021-11-14 23:51:05 -05:00
Wayne
17cbdda13d
Merge branch 'RT-Thread:master' into nuvoton
2021-11-15 11:28:34 +08:00
Meco Man
9254d1a3af
[iar][syscalls] 补充注释
2021-11-13 10:16:31 -05:00
Meco Man
215d1d4c6e
[libc][kconfig] update Kconfig
2021-11-13 00:17:16 -05:00
Meco Man
3a3b7ee632
完善IAR KEIL的read write桩函数
2021-11-12 16:47:32 -05:00
Meco Man
cb8d5c5d9d
[libc][gcc] 重新梳理fread fwrite桩函数实现
2021-11-10 18:33:43 -05:00
Meco Man
09666e6b99
[libc] 修复在fcntl.h中两种不同的宏编码方式导致的bug
2021-11-10 17:16:33 -05:00
Meco Man
52bbd9d715
[posix] implement delay functions as RT_USING_POSIX_DELAY
2021-11-10 14:12:36 -05:00
Bernard Xiong
e6ae01e332
Merge pull request #5259 from mysterywolf/posix
...
[posix] 优化posix若干
2021-11-10 22:23:43 +08:00
Wayne Lin
9b44e57a60
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into nuvoton
2021-11-10 16:01:38 +08:00
Meco Man
219d1e20f5
move mmap to src folder
2021-11-09 22:59:31 -05:00
Meco Man
2b7d12661e
remove RT_USING_LIBC from dfs_fs.h
2021-11-09 18:40:53 -05:00
guo
7dd686faa7
fix sensor_cmd.c build error.
2021-11-09 20:37:16 +08:00
Jianting (Meco) Man
80750271c9
revert kconfig of pthread
2021-11-08 21:14:01 -05:00
Jianting (Meco) Man
1a9729f45e
[libc][posix] add readme
2021-11-08 14:15:56 -05:00
Meco Man
aa83b929d1
select RT_USING_POSIX_STDIO for RT_LIBC_USING_FILEIO
2021-11-08 14:11:09 -05:00
Meco Man
74669b3f1d
update vexpress-a9
2021-11-08 11:07:54 -05:00
Meco Man
1adcc181aa
add delay.c as default
2021-11-08 10:52:37 -05:00
Meco Man
f8388c572e
add RT_USING_POSIX_STDIO
2021-11-07 23:41:16 -05:00
Meco Man
251e17b41a
调整SAL依赖项
2021-11-07 21:29:28 -05:00
Meco Man
2639171885
add RT_USING_POSIX_DELAY
2021-11-07 21:10:29 -05:00