Aligagago
|
250b3cbc16
|
使用 AStyle.exe 统一代码格式
|
2022-07-27 11:45:29 +08:00 |
Meco Man
|
a924da830e
|
[libc] 修复difftime函数在IAR下的编译错误
|
2022-07-20 10:07:03 +08:00 |
liuxianliang
|
a305edd4db
|
[fix] memory leak when the value of posix semaphore is zero.
|
2022-07-07 16:05:49 +08:00 |
Meco Man
|
9623706eff
|
Revert "解决将RT_NULL当做数字0使用的问题"
This reverts commit 6a05ddf63d .
|
2022-07-01 15:51:28 +08:00 |
Meco Man
|
6a05ddf63d
|
解决将RT_NULL当做数字0使用的问题
|
2022-07-01 11:39:28 +08:00 |
xiangxistu
|
c2cdce970d
|
[fix] use atomic operation to protect pthread conditional variable. (#6113)
* [fix] use atomic operation to protect pthread conditional variable.
|
2022-07-01 09:36:18 +08:00 |
Man, Jianting (Meco)
|
e1e1596cbd
|
[iar] 修复编译错误 (#6126)
|
2022-07-01 09:15:29 +08:00 |
Man, Jianting (Meco)
|
8275e90203
|
[libc][newlib] format (#6104)
|
2022-06-23 14:38:26 +08:00 |
Man, Jianting (Meco)
|
d5afcd7f0d
|
fix the error return (#6097)
|
2022-06-22 11:51:49 +08:00 |
Man, Jianting (Meco)
|
8bee7a0c23
|
[libc] implement extension standard C functions (#6044)
* implement extension standard C functions
|
2022-06-19 21:56:24 +08:00 |
Meco Man
|
c9878aacd2
|
[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
将路径更新为IAR最新版本的路径
|
2022-06-09 07:01:59 +08:00 |
Meco Man
|
83b3aadaa3
|
[Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
|
2022-06-09 07:01:59 +08:00 |
Meco Man
|
50f041f5c2
|
[Scons] 将GCC判断条件改为列表方式,方便后续增加新的编译工具链
|
2022-06-09 07:01:59 +08:00 |
chunyexixiaoyu
|
37d0be3290
|
[libc][time] solve the problem which the os tick can be calculated wrongly because the local variable was not initialized.
|
2022-06-08 14:34:04 +08:00 |
Tangyuxin
|
f5c88add37
|
Fix compiler warnings (#6023)
|
2022-06-08 01:21:50 +08:00 |
gbcwbz
|
ecde6d2dcf
|
[libc][time] Fix clock_gettime for CLOCK_CPUTIME_ID (#6029)
|
2022-06-05 22:51:22 +08:00 |
Man, Jianting (Meco)
|
fb3f835089
|
[libc] remove strdup from rtthread.h (#6026)
add __STDC_LIMIT_MACROS macro in Keil
add RT_USING_LIBC in simulator
add _DLIB_ADD_EXTRA_SYMBOLS=0 in IAR
|
2022-06-04 17:02:35 +08:00 |
Meco Man
|
c8c24ae7ab
|
[libc] revert back difftime
|
2022-05-25 10:05:59 +08:00 |
Man, Jianting (Meco)
|
c147ff417c
|
[rtdef][libc] solve the conflicts between libc data types and rtdef data types (#5961)
|
2022-05-19 10:35:32 +08:00 |
liuxianliang
|
6dd6929b8e
|
[fix] return "EINVAL" if "count" is zero.
|
2022-05-18 08:44:30 +08:00 |
liuxianliang
|
9f5a9b6bc8
|
[modify] the recycle logic about resource of pthread.
|
2022-05-18 08:44:30 +08:00 |
Meco Man
|
b793b6427a
|
[sal] add draft for docking winsock
|
2022-05-16 10:02:22 +08:00 |
Meco Man
|
19abf927d2
|
[simulator] avoid conflicts between winsock.h and sys/time.h
|
2022-05-16 10:02:22 +08:00 |
陈迎春
|
f977f07ddf
|
[fix] fix dlmodule compile 'SEEK_END' undeclared eror (#5909)
|
2022-05-09 09:37:17 +08:00 |
Man, Jianting (Meco)
|
6295ec108e
|
[kernel] remove the register keyword (#5888)
|
2022-04-29 06:34:42 +08:00 |
Man, Jianting (Meco)
|
6ce4a87492
|
[fcntl] create new fcntl.h file for vs (#5860)
* [fcntl] create new fcntl.h file for vs
|
2022-04-24 10:52:57 +08:00 |
Meco Man
|
5e8871e1a2
|
[iar] add CLOCKS_PER_SEC
https://www.iar.com/knowledge/learn/programming/using-c-standard-library-time-and-clock-functions/
|
2022-04-22 22:32:27 +08:00 |
Meco Man
|
2774343d97
|
[libc][time] 修复IAR版本判断逻辑错误
|
2022-04-22 22:32:27 +08:00 |
Man, Jianting (Meco)
|
43484a201d
|
[libc] 优化armcc armclang处理 (#5858)
|
2022-04-22 13:39:44 +08:00 |
guozhanxin
|
7a717b094e
|
[fix] building error.
|
2022-04-21 14:35:11 +08:00 |
thewon86
|
f5b0bfd3f4
|
uniform code writing-disable interrupt
|
2022-04-20 14:22:43 +08:00 |
Man, Jianting (Meco)
|
a0f8d43744
|
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM (#5802)
* [gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
|
2022-04-20 09:56:04 +08:00 |
Tangyuxin
|
20f5d934a9
|
[libc][time] Fix bug (#5831)
|
2022-04-19 22:47:14 +08:00 |
Meco Man
|
5e9f525c41
|
[kernel] enable RT_DEBUG_DEVICE by default and move weak rt_hw_dealy_us in kservice.c
|
2022-04-19 11:26:41 +08:00 |
tyx
|
87046a1abf
|
[libc][io] Remove definitions that are not in use
|
2022-04-19 11:22:58 +08:00 |
Meco Man
|
bda32cdedb
|
[libc] fix that some function cannot be found in unistd.h
|
2022-04-15 15:40:20 +08:00 |
Man, Jianting (Meco)
|
de6d7eca5a
|
[libc] fix the sys/select.h problem (#5790)
|
2022-04-09 08:46:18 +08:00 |
Man, Jianting (Meco)
|
03823b5016
|
[kconfig] add 64bit default value for stack size. set tick HZ as 1000 by default (#5778)
* [kconfig] add 64bit default value for stack size. set tick HZ as 1000 by default
* 用RT_KSERVICE_USING_STDLIB_MEMXXX代替RT_KSERVICE_USING_STDLIB_MEMCP/MEMSET
将RT_KSERVICE_USING_STDLIB设置为默认开启
* 优化rt_kprintf支持longlong的能力,默认在64位CPU为开启状态
RT_PRINTF_LONGLONG命名不规范,更改为RT_KPRINTF_USING_LONGLONG
* fix commit error
* fix error
* 优化 system 函数
* RT_KSERVICE_USING_STDLIB_MEMXXX->RT_KSERVICE_USING_STDLIB_MEMORY
|
2022-04-09 00:40:36 +08:00 |
Man, Jianting (Meco)
|
084bb1c956
|
[libc] improve sconscript (#5789)
|
2022-04-08 23:15:27 +08:00 |
Man, Jianting (Meco)
|
c318dfa964
|
improve libc time and MSVC simulator (#5775)
- [libc] 解决由于类unix操作系统发展历史原因fcntl.h定义的标志位在不同编译器中定义不同的问题
- [simulator] 部分宏定义转为全局宏定义以确保vs内置文件可以正确配置
- [simulator] 取消自欺欺人式的警告消除处理方式
- [libc][time] 优化time相关结构体在不同编译器下的包含
|
2022-04-07 14:24:11 +08:00 |
tyx
|
b80f581562
|
[compilers] Fix c/c++ compilation warnings and errors
|
2022-04-06 10:27:38 +08:00 |
Man, Jianting (Meco)
|
b8bb6a4a87
|
[poll][select] 修复select死循环的问题 (#5740)
|
2022-03-30 10:47:05 +08:00 |
Man, Jianting (Meco)
|
be892de35a
|
[posix] add RT_USING_POSIX_SOCKET (#5731)
|
2022-03-29 13:39:55 +08:00 |
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 |