完善mcu的支持
This commit is contained in:
@@ -6,7 +6,7 @@ file(
|
||||
)
|
||||
|
||||
# list(REMOVE_ITEM deps mkrtos_user/server/fs/cpiofs/ram_disk_drv/*.*)
|
||||
|
||||
message(==========="START_SRC:${START_SRC}")
|
||||
add_executable(
|
||||
cpiofs.elf
|
||||
${deps}
|
||||
@@ -59,6 +59,8 @@ add_custom_target(
|
||||
mkdir -p ${CMAKE_SOURCE_DIR}/build/output/cpio
|
||||
COMMAND
|
||||
cp cpiofs.bin ${CMAKE_SOURCE_DIR}/build/output/cpio/cpiofs
|
||||
COMMAND
|
||||
cp cpiofs.elf ${CMAKE_SOURCE_DIR}/build/output/cpiofs.elf
|
||||
)
|
||||
if ((DEFINED CONFIG_ELF_LAUNCH) AND (CONFIG_ELF_LAUNCH STREQUAL "y"))
|
||||
add_custom_target(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include <u_util.h>
|
||||
#if !IS_ENABLED(CONFIG_MMU)
|
||||
#define HEAP_SIZE 512
|
||||
#define HEAP_SIZE 1024
|
||||
#define STACK_SIZE (2048)
|
||||
|
||||
#if defined(__CC_ARM)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#一次读取一行,每行代表启动的应用程序,暂时不支持参数
|
||||
|
||||
# fatfs
|
||||
# cpiofs
|
||||
# dm9000_drv
|
||||
# net
|
||||
# cpiofs
|
||||
sh
|
||||
# lcd_drv
|
||||
@@ -210,7 +210,7 @@ int pm_rpc_run_app(const char *path, int flags)
|
||||
int ret;
|
||||
printf("pm run %s.\n", path);
|
||||
char *args[] = {
|
||||
(char *)path,
|
||||
"xx",/*TODO:*修正参数传递*/
|
||||
"-t",
|
||||
};
|
||||
ret = app_load(path, u_get_global_env(), &pid, args, 2, NULL, 0);
|
||||
|
||||
Reference in New Issue
Block a user