优化静态堆&stm32f4编译修复

This commit is contained in:
zhangzheng
2025-03-10 22:45:24 +08:00
parent aa35027fa7
commit dc7a0675fa
82 changed files with 645 additions and 191 deletions

View File

@@ -37,4 +37,13 @@ int shell_test_sig(int argc, char *argv[])
return ret;
}
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0) | SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), test_sig, shell_test_sig, shell_test_sig command);
int shell_float_test(int argc, char *argv[])
{
float a = 1.1, b = 1.2;
printf("%f\n", a + b);
return 0;
}
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0) | SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN), ftest, shell_float_test, ftest command);
#endif