Commit Graph

370 Commits

Author SHA1 Message Date
kenneth ef12c89c7a fix: fix print format compilation warning
fix print format compilation warning by changing 0x%x to 0x%p

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3OFSQ

Signed-off-by: kenneth <459864689@qq.com>
2021-06-10 14:52:47 +08:00
openharmony_ci db89b353e9 !166 修复fatfs文件系统中部分指针访问前未判空、全局变量保护不完全问题。
Merge pull request !166 from JING/fatfs
2021-06-10 13:21:37 +08:00
openharmony_ci 9781662cea !135 添加backtrace for riscv在不打开frame-pointer的提前下
Merge pull request !135 from JerryH/backtrace
2021-06-09 11:46:03 +08:00
JerryH 97a5b6d8dc Merge branch 'master' of gitee.com:openharmony/kernel_liteos_m into backtrace 2021-06-09 10:41:58 +08:00
openharmony_ci 0ba33abcd1 !174 m核上littlefs新增错误码功能
Merge pull request !174 from li_zan/master
2021-06-09 09:48:44 +08:00
li_zan a062378631 fix: m核上littlefs新增错误码功能
close:#I3UVMQ

Signed-off-by: li_zan <371442490@qq.com>
2021-06-08 19:13:44 +08:00
openharmony_ci bd307591b4 !173 fs接口用例补充
Merge pull request !173 from wangchen/testsuit
2021-06-07 23:02:46 +08:00
wangchen 2a95af5bf1 feat: 补充fs相关函数用例
【背景】当前fs部分函数缺少配套用例。

【修改方案】
1. 在unittest目录下新增fopen等17个接口的用例。

【影响】
对现有的产品编译不会有影响。

re #I3UQ4F
Signed-off-by: wangchen <253227059@qq.com>
2021-06-07 21:59:22 +08:00
openharmony_ci 2f6ab80a06 !170 解决fclose等函数工具链重定义问题
Merge pull request !170 from wangchen/master
2021-06-07 21:02:56 +08:00
openharmony_ci f3a3114ac7 !163 mbedtls适配l0
Merge pull request !163 from 野生毛霉君/master
2021-06-07 14:38:27 +08:00
openharmony_ci 7ab7ae7ae7 !137 fix: fix typos
Merge pull request !137 from rtos-lover/los_sched.c
2021-06-05 13:53:35 +08:00
wangchen b244ad4ad0 feat: 解决fclose等函数工具链重定义问题
【背景】当前部分单板编译fclose等函数时与对应的gcc工具链重定义。

【修改方案】
1. fclose等函数新增weak定义,并恢复与musl源码一致。
2.外层添加wrap函数,用于配合gcc的--wrap选项。

【影响】
对现有的产品编译不会有影响,报重定义的工程需单独在自己的build.gn中添加
--wrap=xxx。

re #I3UG6O

Signed-off-by: wangchen <253227059@qq.com>
2021-06-05 11:30:16 +08:00
chenjing bc7a914bce fix: protect from accssing NULL pointer, access g_handle after fslock
close #I3UCX3

Signed-off-by: chenjing <chenjing139@huawei.com>
Change-Id: Ie4d5c1923c2d49e283c77f46d01784bed065a507
2021-06-04 16:20:11 +08:00
mucor 761b86096c fix(mbedtls): mbedtls l0 support
close: #I3UBJA
Signed-off-by: mucor <mucorwang@gmail.com>
2021-06-04 16:07:06 +08:00
openharmony_ci beea9963f7 !161 fix: fix NULL、UNUSED redefined issue
Merge pull request !161 from kenneth/NULL_redefined3
2021-06-04 14:51:52 +08:00
openharmony_ci 3d2a102d35 !160 fix: fatfs中宏FS_LOCK_TIMEMOUT_SEC拼写错误
Merge pull request !160 from zhushengle/fs
2021-06-04 14:47:51 +08:00
openharmony_ci 58c330f594 !159 fix: remove project files
Merge pull request !159 from kenneth/README.md
2021-06-04 14:46:21 +08:00
openharmony_ci af9b9ee7fe !157 fix: comment error
Merge pull request !157 from kenneth/los_backtrace.h2
2021-06-04 14:44:56 +08:00
openharmony_ci 9d77efe6aa !156 fix: correct the counter of exception type
Merge pull request !156 from kenneth/los_arch_interrupt.h2
2021-06-04 14:44:41 +08:00
openharmony_ci 70713c705f !155 fix: fix typo in comment
Merge pull request !155 from kenneth/los_queue_want2
2021-06-04 14:44:09 +08:00
openharmony_ci 162673b546 !154 fix: change cpup retval range
Merge pull request !154 from kenneth/LOS_HistorySysCpuUsage2
2021-06-04 14:43:42 +08:00
kenneth 765bd55199 fix: fix NULL UNUSED redefined issue
change NULL、 UNUSED macro definition

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3E9S3

Signed-off-by: kenneth <459864689@qq.com>
2021-06-04 10:58:43 +08:00
zhushengle 42dc308369 fix: Fixed a spelling error in FS_LOCK_TIMEOUT_SEC.
Close #I3TL66

Change-Id: Id7facf210d7bc3c29c631e2f0b48a332e7f1348c
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-06-04 10:40:44 +08:00
kenneth 4ad01ced93 fix: remove project files
update README.md file to remove the project files

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3U5QQ

Signed-off-by: kenneth <459864689@qq.com>
2021-06-04 09:43:39 +08:00
kenneth a37b73d759 fix: comment error
correct typo in comments

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3SLNU

Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:49:18 +08:00
kenneth bff65877a2 fix: correct the counter of exception type
correct the counter of exception type from 19 to 21

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3SR54

Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:45:12 +08:00
kenneth 811d3fae8a fix: fix typo in comment
The word wantted is misspelled and should be changed to wanted. And expected-size is better than wanted size.

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3RW6C

Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:39:33 +08:00
kenneth d00a35ba92 fix: change cpup retval range
change cpup range from 100 to 1000

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3SXJ7

Signed-off-by: kenneth <459864689@qq.com>
2021-06-03 20:34:28 +08:00
openharmony_ci a9857c8b2f !151 修复littlefs部分缺失功能:1、open接口的flag适配。2、mount功能增强
Merge pull request !151 from li_zan/master
2021-06-03 20:18:46 +08:00
li_zan 51335629d0 Fix: littlefs some bug
Signed-off-by: li_zan <371442490@qq.com>
2021-06-03 19:33:09 +08:00
openharmony_ci d636a6f27c !152 删除MQ内冗余的重复宏定义
Merge pull request !152 from give-me-five/master
2021-06-03 18:27:50 +08:00
give-me-five 6d7291660a fix: 删除MQ内冗余的重复宏定义
【背景】
去除多余宏定义
【修改方案】
宏定义规格有重复定义问题,需要删除。
【影响】
无
re #I3U5BE:删除重复定义的mq宏
2021-06-03 17:42:15 +08:00
openharmony_ci 05937ee49c !144 调整hook类型和位置,提升调试的易用性
Merge pull request !144 from Zhaotianyu/0529hook_fix
2021-06-03 15:18:33 +08:00
openharmony_ci 804f5a809f !130 fix: fix macro typo
Merge pull request !130 from kenneth/STACK_PROTECTION
2021-06-03 15:14:10 +08:00
Zhaotianyu b4cfdcfbf5 Merge branch 'master' of gitee.com:openharmony/kernel_liteos_m into 0529hook_fix 2021-06-03 11:08:31 +08:00
openharmony_ci caba05985b !147 fix: fix readme link issue
Merge pull request !147 from kenneth/readme_update
2021-06-02 17:10:22 +08:00
openharmony_ci 5bd69a9ea6 !143 修复timer_settime接口功能缺陷
Merge pull request !143 from Zhaotianyu/0529timer_fix
2021-06-02 17:06:36 +08:00
openharmony_ci fb2117c598 !146 修复不规范的copyright
Merge pull request !146 from Zhaotianyu/0524copyright
2021-06-02 16:50:56 +08:00
arvinzzz a5f4e37e53 fix: 修复timer_settime只设置第一次到期时间时,到期时间不准的缺陷
close: #I3TCHA

Change-Id: Ie5c2ab74a8cbbd86dce913b53ae791f8f2da5133

Signed-off-by: arvinzzz <fcykztyu@163.com>
Change-Id: I571b0a3577026011aabcb0235985ea3e9be4441c
2021-06-02 16:37:53 +08:00
kenneth 9e332c69a5 fix: fix readme link issue
update links to docs

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3TX4Q

Signed-off-by: kenneth <459864689@qq.com>
2021-06-02 15:37:34 +08:00
openharmony_ci d4409bfba4 !142 fix: update arch_spec.md
Merge pull request !142 from rtos_shang/arch_spec_md
2021-06-02 15:34:41 +08:00
arvinzzz 2d9bbd2769 fix: 修复不规范的copyright
close: #I3SPJ1
Change-Id: I6cb01024ef342a0190f5dc9f6cb3a1e815692832

Signed-off-by: arvinzzz <fcykztyu@163.com>
Change-Id: I45c63592b08d29587778209de6af17f932dc86d0
2021-06-02 11:07:59 +08:00
arvinzzz 369320de37 fix: 调整hook类型和位置,方便调试
close: #I3TGZS
Change-Id: Idba021ec7595d2f25a23102b6610e0f29cdd1209
Signed-off-by: arvinzzz <fcykztyu@163.com>

Change-Id: I9f1f745c6389de8bd8ca589bd1a3dc5311962527
2021-06-02 10:28:24 +08:00
arvinzzz e4b5d4ebe9 fix: 修复timer_settime只设置第一次到期时间时,到期时间不准的缺陷
close: #I3TCHA

Change-Id: Ie5c2ab74a8cbbd86dce913b53ae791f8f2da5133
Signed-off-by: arvinzzz <fcykztyu@163.com>
2021-06-02 09:44:20 +08:00
YOUR_NAME ca1792aa4b feat(liteos_m): support backtrace for riscv
Support backtrace for riscv when the compilation option(-fno-omit-frame-pointer) is not turned on.

fix #I3RVXY

Change-Id: Ie7d8a223167e5c540367bc96db646b821dae9fd0
2021-05-25 11:10:28 +08:00
rtos_shang 2a2ef7d708 change according to comments 2021-05-25 10:12:19 +08:00
rtos_shang 0752400a10 change according to review comments 2021-05-25 10:08:42 +08:00
rtos_shang cf43988523 fix: update arch_spec.md
update arch_spec.md, add Chinese edition of arch_spec_zh.md and add link to readme files

close https://gitee.com/openharmony/kernel_liteos_m/issues/I3QQ93 https://gitee.com/openharmony/kernel_liteos_m/issues/I3J7RS
2021-05-21 11:33:24 +08:00
openharmony_ci 6e1fb96998 !139 修复hook模块在c99编译标准下编译出错
Merge pull request !139 from Zhaotianyu/0520hook_fix
2021-05-20 17:07:39 +08:00
openharmony_ci 8856114e62 !134 M核littlefs支持多分区挂载
Merge pull request !134 from li_zan/master
2021-05-20 16:26:16 +08:00