Skip to content

Commit 95adef9

Browse files
committed
[test]测试 git action
1 parent cd50818 commit 95adef9

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

‎Test/shell_symbols.c‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
/**
2-
* @file shell_symbols.c
3-
* @brief 为非嵌入式平台的letter_shell提供链接器符号
4-
*
5-
* 在嵌入式系统中,这些符号通常由链接脚本提供。
6-
* 在Windows/Linux上进行测试时,我们需要显式定义它们。
7-
*/
1+
// /**
2+
// * @file shell_symbols.c
3+
// * @brief 为非嵌入式平台的letter_shell提供链接器符号
4+
// *
5+
// * 在嵌入式系统中,这些符号通常由链接脚本提供。
6+
// * 在Windows/Linux上进行测试时,我们需要显式定义它们。
7+
// */
88

9-
#include "../L2_Core/third_party/letter_shell/inc/shell.h"
9+
// #include "../L2_Core/third_party/letter_shell/inc/shell.h"
1010

11-
/* 为测试定义空的命令和变量段 */
12-
#if defined(__GNUC__) && !defined(__ARMCC_VERSION)
11+
// /* 为测试定义空的命令和变量段 */
12+
// #if defined(__GNUC__) && !defined(__ARMCC_VERSION)
1313

14-
/* 为Windows/Linux上的GCC提供通常由链接脚本提供的符号 */
15-
const unsigned int _shell_command_start __attribute__((weak)) = 0;
16-
const unsigned int _shell_command_end __attribute__((weak)) = 0;
14+
// /* 为Windows/Linux上的GCC提供通常由链接脚本提供的符号 */
15+
// const unsigned int _shell_command_start __attribute__((weak)) = 0;
16+
// const unsigned int _shell_command_end __attribute__((weak)) = 0;
1717

18-
# if SHELL_USING_VAR == 1
19-
const unsigned int _shell_variable_start __attribute__((weak)) = 0;
20-
const unsigned int _shell_variable_end __attribute__((weak)) = 0;
21-
# endif
18+
// # if SHELL_USING_VAR == 1
19+
// const unsigned int _shell_variable_start __attribute__((weak)) = 0;
20+
// const unsigned int _shell_variable_end __attribute__((weak)) = 0;
21+
// # endif
2222

23-
#endif
23+
// #endif

0 commit comments

Comments
 (0)