Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d2bf535696 | |||
| bda25829af | |||
| a1e215f16a | |||
| 5e36b8b599 | |||
| 954aa6fb70 | |||
| 64a73724b3 |
@@ -44,6 +44,10 @@ if (defined(LOSCFG_COMPILER_ICCARM)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare_args() {
|
||||||
|
liteos_build_asm = true
|
||||||
|
}
|
||||||
|
|
||||||
config("arch_config") {
|
config("arch_config") {
|
||||||
cflags = arch_config_cflags
|
cflags = arch_config_cflags
|
||||||
asmflags = arch_config_asmflags
|
asmflags = arch_config_asmflags
|
||||||
@@ -215,4 +219,7 @@ build_ext_component("build_kernel_image") {
|
|||||||
exec_path = rebase_path(root_out_dir)
|
exec_path = rebase_path(root_out_dir)
|
||||||
|
|
||||||
command = toochain_config_command
|
command = toochain_config_command
|
||||||
|
if (liteos_build_asm) {
|
||||||
|
command += toochain_asm_command
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-1
@@ -206,5 +206,6 @@ toochain_config_objdump = "${compile_prefix}objdump$toolchain_cmd_suffix"
|
|||||||
toochain_config_command =
|
toochain_config_command =
|
||||||
"$toochain_config_objcopy -O binary $liteos_name $liteos_name.bin"
|
"$toochain_config_objcopy -O binary $liteos_name $liteos_name.bin"
|
||||||
toochain_config_command += " && sh -c '$toochain_config_objdump -t $liteos_name | sort >$liteos_name.sym.sorted'"
|
toochain_config_command += " && sh -c '$toochain_config_objdump -t $liteos_name | sort >$liteos_name.sym.sorted'"
|
||||||
toochain_config_command +=
|
|
||||||
|
toochain_asm_command =
|
||||||
" && sh -c '$toochain_config_objdump -d $liteos_name >$liteos_name.asm'"
|
" && sh -c '$toochain_config_objdump -d $liteos_name >$liteos_name.asm'"
|
||||||
|
|||||||
+2
-1
@@ -149,4 +149,5 @@ toochain_config_objdump = "${compile_prefix}ielfdumparm$toolchain_cmd_suffix"
|
|||||||
|
|
||||||
toochain_config_command =
|
toochain_config_command =
|
||||||
"$toochain_config_objcopy --bin --verbose $liteos_name $liteos_name.bin"
|
"$toochain_config_objcopy --bin --verbose $liteos_name $liteos_name.bin"
|
||||||
toochain_config_command += " && sh -c '$toochain_config_objdump --source --all $liteos_name -o $liteos_name.asm'"
|
|
||||||
|
toochain_asm_command = " && sh -c '$toochain_config_objdump --source --all $liteos_name -o $liteos_name.asm'"
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ static_library("cmsis_test") {
|
|||||||
"cmsis_msg_func_test.c",
|
"cmsis_msg_func_test.c",
|
||||||
"cmsis_mutex_func_test.c",
|
"cmsis_mutex_func_test.c",
|
||||||
"cmsis_sem_func_test.c",
|
"cmsis_sem_func_test.c",
|
||||||
|
"cmsis_task_func_test.c",
|
||||||
|
"cmsis_task_pri_func_test.c",
|
||||||
"cmsis_timer_func_test.c",
|
"cmsis_timer_func_test.c",
|
||||||
"xts_cmsis.c",
|
"xts_cmsis.c",
|
||||||
]
|
]
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -36,5 +36,7 @@ void CmsisFuncTest(void)
|
|||||||
CmsisMsgFuncTest();
|
CmsisMsgFuncTest();
|
||||||
CmsisMutexFuncTest();
|
CmsisMutexFuncTest();
|
||||||
CmsisSemFuncTest();
|
CmsisSemFuncTest();
|
||||||
|
CmsisTaskFuncTest();
|
||||||
|
CmsisTaskPriFuncTest();
|
||||||
CmsisTimerFuncTest();
|
CmsisTimerFuncTest();
|
||||||
}
|
}
|
||||||
@@ -78,4 +78,12 @@
|
|||||||
#define DELAY_TICKS_5 5
|
#define DELAY_TICKS_5 5
|
||||||
#define DELAY_TICKS_10 10
|
#define DELAY_TICKS_10 10
|
||||||
|
|
||||||
|
#define PRIORITY_COUNT_NOT_MIN 3
|
||||||
|
#define PRIORITY_COUNT_MIN_1 4
|
||||||
|
#define PRIORITY_COUNT_MIN_2 5
|
||||||
|
#define PRIORITY_COUNT_MIN_3 6
|
||||||
|
#define PRIORITY_COUNT_MIN_4 7
|
||||||
|
#define MAX_UINT32 0xFFFFFFFF
|
||||||
|
#define ALIVE_INFO_DIS 10000
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Reference in New Issue
Block a user