main.c
来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 36 行
C
36 行
/* * Simple test program -- simplified version of sample test hello. */#define TEST_INIT#include <bsp.h>#include <pmacros.h>void test_main( void );rtems_task Init( rtems_task_argument ignored){ test_main(); rtems_test_exit( 0 );}/* configuration information */#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 10#define CONFIGURE_MAXIMUM_TASKS 1#define CONFIGURE_RTEMS_INIT_TASKS_TABLE#define CONFIGURE_INIT#include <confdefs.h>/* end of file */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?