[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)

* [dfs] sync cromfs

* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration

* [format] fix some format issue.
This commit is contained in:
guo
2022-12-16 18:38:28 +08:00
committed by GitHub
parent 3ea5166376
commit 68ca9f07a6
95 changed files with 322 additions and 336 deletions

View File

@@ -11,7 +11,7 @@
#include <rtthread.h>
#include <rthw.h>
#ifdef RT_USING_USERSPACE
#ifdef ARCH_MM_MMU
#include <mmu.h>
#include <page.h>

View File

@@ -13,7 +13,7 @@
#include <lwp.h>
#include <lwp_arch_comm.h>
#ifdef RT_USING_USERSPACE
#ifdef ARCH_MM_MMU
#define USER_VADDR_TOP 0xC0000000UL
#define USER_HEAP_VEND 0xB0000000UL

View File

@@ -215,7 +215,7 @@ arch_ret_to_user:
2:
movs pc, lr
#ifdef RT_USING_LWP
#ifdef RT_USING_SMART
.global lwp_check_debug
lwp_check_debug:
ldr r0, =rt_dbg_ops