Commit Graph

246 Commits

Author SHA1 Message Date
tonyzheng-rockchip 1f5118f7dd Add priority & stack_size param parsing for dlmodule 2020-01-03 14:31:38 +08:00
tonyzheng-rockchip 04c20bc8ed Revert "Add priority & stack_size parameters for dlmodule custom"
This reverts commit f38b5a9f9f.
2020-01-03 09:18:51 +08:00
tonyzheng-rockchip f38b5a9f9f Add priority & stack_size parameters for dlmodule custom 2020-01-02 08:54:48 +08:00
tonyzheng-rockchip d910372010 Fix dlmodule must depends on file system issue
解决dlmodule只能依赖于文件系统的问题;
    增加dlmodule扩展接口,以适应更多需求;
2019-12-27 14:27:31 +08:00
Bernard Xiong b5e4aa58e0 [Kernel] Fix the signal compiling issue when using minilibc 2019-12-18 23:06:36 +08:00
qinpan1003 b838280d24 fix bug for pthread_create memory leak 2019-10-10 22:42:14 +08:00
zhangjun f7e7170536 [components][libc][compilers][newlib]添加flock接口 2019-09-26 14:34:59 +08:00
zhangjun 8ed3daed5f [components][libc][compilers][newlib]添加getuid和umask函数 2019-09-26 11:27:37 +08:00
liruncong 408bb22af6 [components/libc/compilers]撤销由VS编辑器在键入}后自动引起的缩进 2019-09-15 11:47:11 +08:00
liruncong d76d30cf50 [components/libc/compilers]c++文件引用libc.h支持 2019-09-14 22:52:06 +08:00
zhangjun 3f39059217 [components][libc][compilers][common]移除time.c中未使用的变量timezone 2019-09-11 18:51:10 +08:00
zhangjun a186ada6da [components][libc][compilers]移动time相关头文件到common目录 2019-09-10 09:59:11 +08:00
yangjie 27222e9cd8 [compilers][libc] 在 minilibc 的 math.h 中增加 float_t 与 double_t 的定义 2019-09-07 18:06:03 +08:00
zhangjun dabe951415 [components][libc][common]修改__IAR_SYSTEMS_ICC__宏定义的作用范围 2019-09-02 14:52:32 +08:00
zhangjun 6910a9e97b 修复IAR8.1之后出现的__localtime32等重定义错误 2019-08-27 15:03:01 +08:00
zhangjun 9714b520c4 [components][libc]修改Kconfig选项名 2019-08-22 15:59:51 +08:00
zhangjun 3ede7630c0 [components][libc][compilers][common]拆分armcc和iar的time相关函数到common目录,同时修复原来在使用LIBC时time相关函数的BUG(armcc下使用gmtime、localtime、mktime会导致崩溃) 2019-08-22 15:34:50 +08:00
Bernard Xiong 2844e3d974 [dlib] Add more header files for IAR/dlib 2019-07-08 13:34:57 +08:00
SummerGift e809ced607 【完善】格式化 minilibc/time.c 2019-05-16 08:48:31 +08:00
SummerGift 9f300de9cc 【修改】dlib newlib minilib 中的 gettimeofday() 函数实现 2019-05-16 08:47:47 +08:00
SummerGift ec99faf022 【修改】由于 gettimeofday 函数依赖 rtc 设备才能实现,因此如果无法获取 rtc 设备应当断言 2019-05-16 08:42:01 +08:00
Bernard Xiong ab595cc864 [pthreads] fix the free ptd issue when there is no pthread slot. 2019-05-13 09:19:44 +08:00
Bernard Xiong 7038465d13 [pthreads] Add PTHREAD_NUM_MAX in Kconfig. 2019-05-12 21:48:54 +08:00
Bernard Xiong bb506e8493 [pthreads] Add spinlock declare and fix code issue. 2019-05-12 21:44:28 +08:00
Bernard Xiong 5d36fa78c0 [pthreads] Use pthread table for pthread management. 2019-05-12 17:56:11 +08:00
Bernard Xiong 3638e5129e [pthreads] The fields definition are more like those of newlib/glibc. 2019-05-12 15:04:46 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
MurphyZhao 9596a94a8b [compilers/newlib] 在 syscalls.c 增加 __errno () 函数实现,解决在使用 newlib 编译时 errno 无法重定向到 _rt_errno 的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:24:36 +08:00
Bernard Xiong cfb4a9c323
Merge pull request #2525 from jesven/fix_dlopen
fix dlmodule_load(): return immediately when open file fail
2019-04-01 18:11:13 +08:00
shaojinchun 832fc23b02 fix dlmodule_load(): return immediately when open file fail 2019-03-31 14:24:58 +08:00
ZYH 6b7335a36f [libc]fix size_t ssize_t 2019-03-28 17:18:40 +08:00
liruncong 4f108dbadf [components/libc]armclang支持相关 2019-03-10 10:55:27 +08:00
liruncong ce9629cb57 [components/libc/compilers/armlibc]_sys_exit增加RT_WEAK限定,由具体bsp重新实现,通常需要关闭中断,关闭IO输出等 2019-03-10 10:55:24 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
Bernard Xiong f9f7e6c520 [ptherad] Fix pthread_exit issue
When pthread invokes pthread_exit, it just detach self.
2019-02-14 13:45:25 +08:00
Bernard Xiong c003bdf44f [pthreads] Add _pthread_destroy to release pthread resource. 2019-02-07 23:50:49 +08:00
gztss 11751d60e0 实现_sys_flen()函数 2019-01-24 09:05:41 +08:00
Bernard Xiong 97560dd8e2 [libc] Fix the addr=NULL issue in mmap. 2019-01-21 17:19:07 +08:00
Bernard Xiong 75061a2712 [libc] Fix the result length issue in aio_read_work. 2019-01-21 17:18:48 +08:00
Hao Zhu d3c2cb5845 [components][libc] add extern "C" for header file 2019-01-09 15:13:03 +08:00
Bernard Xiong 56f1a8af4f
Merge pull request #2100 from gbcwbz/vi
Fix stdio fd error when POSIX api is used
2018-12-30 18:31:18 +08:00
Bernard Xiong 38c49099c9 [libc] Fix the printf issue when disable DFS 2018-12-28 21:41:01 +08:00
Bernard Xiong 96e6deac29 [Kernel] Fix the errno definitions in armcc/iar. 2018-12-27 09:11:07 +08:00
gbcwbz 48848c2917 [libc][armlibc] Fix getchar error after exit vi
- _sys_istty() add stdio as tty
 - without this, after exit vi program getchar will return -1, I don't know why it works
2018-12-23 19:15:20 +08:00
Bernard Xiong ad42abb933 [Libc] Disable ENV when disable DFS. 2018-11-09 09:18:05 +08:00
Bernard Xiong c7d9daefaa
Merge pull request #1868 from jg1uaa/master
change hello.mo building process, compile and link separately
2018-11-05 09:14:02 +08:00
Bernard Xiong 125195c870
Merge pull request #1925 from qgyhd1234/gmtime_r
[kernel][kservice] add rt_gmtime_r api
2018-10-27 14:28:40 +08:00
hichard 6d2be00b9c 修复IAR dlib的时间映射,从rtt历史版本找到iar支持64bit时间的起始版本 2018-10-26 20:36:17 +08:00
zylx 920d6ecec7 [Libc] move gmtime_r api to rt-thread\components\libc\compilers\common 2018-10-26 15:21:31 +08:00
zylx 3bf68f2f42 [Libc][dlib][armlibc] add gmtime_r api 2018-10-26 11:17:41 +08:00