#if defined(__CC_ARM) || defined(__CLANG_ARM) /* ARM Compiler /
#define NR_SECTION(x) attribute((section(x)))
#define NR_USED attribute((used))
#elif defined (IAR_SYSTEMS_ICC) / for IAR Compiler */
#define NR_SECTION(x) @ x
#define NR_USED __root
#endif
#define NR_SHELL_CMD_EXPORT_START(cmd, func)
NR_USED const static_cmd_st nr_cmd_start NR_SECTION(".rodata.nr_shell_cmd0.end") = {#cmd, NULL}
#define NR_SHELL_CMD_EXPORT(cmd, func)
NR_USED const static_cmd_st nr_cmd##cmd NR_SECTION(".rodata.nr_shell_cmd1") = {#cmd, func}
#define NR_SHELL_CMD_EXPORT_END(cmd, func)
NR_USED const static_cmd_st nr_cmd_end NR_SECTION(".rodata.nr_shell_cmd1.end") = {#cmd, NULL}