Man, Jianting (Meco)
a514b3bd16
[components][kconfig] 整理Kconfig目录名称和结构 ( #5698 )
2022-03-25 23:07:18 +08:00
Man, Jianting (Meco)
8b58577230
[ulog][rtc][time][bug] solve the interference when enable the ulog timestamp ( #5687 )
...
* [ulog] 解决ulog开启时间戳后与libc time以及rtc驱动相关函数干涉的问题
* ulog:当发生递归输出时,后续递归想要输出的内容可能会因为防范递归的判断而无法输出
因此修改输出规则,在发生递归时,采用简单的,无格式的方式直接输出。这样既保证不会发生递归输出,也可以保证递归输出的部分可以正常输出。
* [ulog] size_t->rt_size_t NULL->RT_NULL
2022-03-21 14:06:17 +08:00
Man, Jianting (Meco)
ee10516544
[libc] fix a typo ( #5689 )
2022-03-21 08:57:36 +08:00
xiangxistu
ffae7a2612
[fix] add the header file to avoid compiler error. ( #5643 )
2022-03-08 11:35:11 +08:00
Man, Jianting (Meco)
5ec00a5a1d
[dmodule] 补充头文件 ( #5602 )
...
* add references
* [dmodule] add <fcntl.h>
2022-02-17 12:34:48 +08:00
Meco Man
3e59cfd70e
update posix-info.txt
2022-01-25 13:40:10 +08:00
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
Man, Jianting (Meco)
c89735a357
[libdl] move libdl to posix folder ( #5523 )
2022-01-20 20:55:31 +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
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
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
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
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
Meco Man
5187d75af5
[armclang] 使用__clang__代替__CLANG_ARM
2021-12-29 14:15:38 -05: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
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
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
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
Meco Man
67e14adc4f
[posix] 按照高级unix环境编程整理IO类别
2021-12-05 23:07:41 -05:00
Meco Man
7b1f65a690
[libc][keil] fix the bug of _sys_read and _sys_write
2021-12-01 02:19:15 -05:00
Meco Man
b61cc91d14
[posix] 将posix单独划分为一个Kconfig目录
2021-11-30 14:50:10 -05:00
Meco Man
7973ede5a8
增加RT_USING_POSIX_FS
2021-11-29 00:53:46 -05:00
Meco Man
7c789d4b11
revise some RT_USING_POSIX to RT_USING_POSIX_DEVIO
2021-11-24 09:47:55 -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
64023c38f7
Merge pull request #5283 from mysterywolf/dfs
...
[dfs] move dfs back
2021-11-24 17:37:03 +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
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
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
Meco Man
219d1e20f5
move mmap to src folder
2021-11-09 22:59:31 -05: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
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
2639171885
add RT_USING_POSIX_DELAY
2021-11-07 21:10:29 -05:00
Jianting (Meco) Man
910961c091
Merge branch 'master' into posix
2021-11-07 20:54:16 -05:00
Meco Man
664a1d6a75
增加 RT_USING_POSIX_SELECT RT_USING_POSIX_POLL
2021-11-07 20:53:57 -05:00
Meco Man
f0023fb42c
删除gettid等不符合PSE51的函数
2021-11-07 20:46:17 -05:00
Meco Man
0009d1f393
[posix]将pthread收缩到posix选项之下,将选定DFS后由DFS选定POSIX 改为选择posix后选择dfs
2021-11-06 19:32:57 -04:00
Meco Man
3c232125db
[bsp][simulator] update project
2021-10-29 09:59:45 -04:00
Meco Man
7b43cf9793
[libc][posix] move libc.c/.h to posix folder
2021-10-28 02:54:45 -04:00
Meco Man
4b9fb8f39c
[libc] 消除代码中依赖于RT_LIBC_USING_FILEIO的判断
2021-10-27 21:50:17 -04:00
Meco Man
25bd908fb7
[libc][posix] 解决RT_LIBC_USING_FILEIO范围过大的问题
2021-10-27 03:04:05 -04:00
Meco Man
a9910a780e
[posix][libc] 优化libc中posix结构
2021-10-26 23:09:54 -04:00
guo
50bb6e33d1
Merge pull request #5212 from mysterywolf/posix
...
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
2021-10-26 09:37:43 +08:00
Meco Man
7f619606a1
[stm32l475] improve the structrue of sconscript
2021-10-24 16:21:21 -04:00
Meco Man
f7548b934e
[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folder
2021-10-21 19:05:53 -04:00
Meco Man
3394baedd1
[libc] put getline into posix folder
2021-10-18 17:32:42 -04:00
Meco Man
b513d37cf2
[libc][posix] create 'posix' folder and move related files into it
2021-10-17 17:19:12 -04:00
Jianting (Meco) Man
8c01acc667
Revert "[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFS"
2021-10-14 20:11:01 -04:00
guo
1f28bd89f8
Merge pull request #5174 from mysterywolf/timewarning
...
[libc][time] Ensure the data types are consistent
2021-10-14 13:35:50 +08:00
guo
78db48ba78
Merge pull request #5169 from mysterywolf/libc
...
[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFS
2021-10-14 12:00:15 +08:00
Meco Man
396b7da6fd
[libc][time] Ensure the data types are consistent
2021-10-13 23:24:17 -04:00
Meco Man
8f6260146c
[libc][win32] improve win32 support
2021-10-13 15:29:01 -04:00
Meco Man
a354f846e8
[libc]&[dfs] remove unnecessary RT_USING_POSIX and RT_USING_DFS_DEVFS
2021-10-13 15:21:41 -04:00
Meco Man
b6c2368bef
[libc][keil] remove libc_stdio_read() in __MICROLIB
2021-10-12 23:06:19 -04:00
Meco Man
11d193ea9b
[libc][newlib]在不开启libc的情况下,依然定义RT_USING_NEWLIB和数学库
2021-10-05 10:35:27 -04:00
armink
75e0ec124f
[components][time] Revert the old code.
2021-09-29 18:19:13 +08:00
armink
ff0b6d241b
[DeviceDriver][RTC] Remove RT_DEVICE_CTRL_RTC_GET_TIME_US and RT_DEVICE_CTRL_RTC_SET_TIME_US. Add RT_DEVICE_CTRL_RTC_GET_TIMEVAL and RT_DEVICE_CTRL_RTC_SET_TIMEVAL. The RT_DEVICE_CTRL_RTC_GET_TIMEVAL cmd can get second time and microsecond time.
2021-09-29 17:12:27 +08:00
Meco Man
c80688126a
[libc] 优化system 支持gcc
2021-09-27 22:20:21 -04:00
Meco Jianting Man
ebdf19bf0f
Merge branch 'RT-Thread:master' into part
2021-09-27 21:12:08 -05:00
Meco Man
8b17d53da7
[libc]新建gcc文件夹,将newlib和partical文件夹并入
2021-09-27 16:40:12 -04:00
Meco Man
54e30edd88
[libc] 支持system函数
2021-09-27 16:12:37 -04:00
guo
4c1c946ba3
Merge pull request #5068 from liukangcc/time
...
[update] enable asctime_r function parameter legal.
2021-09-27 21:37:36 +08:00
Meco Man
0a799653df
[libc][syscalls]将在libc初始化之前调用printf的行为下调为警告级别
2021-09-27 07:49:25 -04:00
Meco Man
a74b0ae388
[libc][time]优化警告输出内容
2021-09-27 07:40:24 -04:00
Meco Jianting Man
37d4abb822
Merge branch 'master' into libc_stdio
2021-09-27 06:16:39 -05:00
Meco Man
8e287cfdf7
[libc][newlib][syscalls] fileno(stdout)->STDOUT_FILENO
2021-09-27 07:14:07 -04:00
Meco Man
86bb54fde6
[libc][syscalls] 在标准输入输出前加校验,反正在libc初始化之前调用printf出问题
2021-09-27 06:51:40 -04:00
liukangcc
169b09004e
[update] asctime_r return value.
2021-09-27 14:26:06 +08:00
Bernard Xiong
2be7621330
Merge pull request #5101 from mysterywolf/libcusingtimesss
...
[libc]在开启libc后依然保持RT_LIBC_USING_TIME定义存在
2021-09-27 14:15:03 +08:00
Bernard Xiong
c6a40b77c8
Merge pull request #5098 from mysterywolf/simulator
...
[bsp][simulator] 消除大部分编译错误
2021-09-27 14:14:42 +08:00
Meco Man
df04d97026
[libc]在开启libc后依然保持RT_LIBC_USING_TIME定义存在
2021-09-25 15:03:57 -04:00