mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 15:39:19 +08:00
libtests/devfs: Use printk()
This avoids problems with console drivers that use generic nodes of the IMFS.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define TESTS_USE_PRINTK
|
||||
#include <tmacros.h>
|
||||
#include "test_support.h"
|
||||
#include <rtems/devfs.h>
|
||||
@@ -37,7 +38,6 @@ rtems_task Init(
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 1
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include "test_support.h"
|
||||
|
||||
#define TESTS_USE_PRINTK
|
||||
#include <tmacros.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
@@ -89,7 +90,6 @@ rtems_task Init(
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 1
|
||||
@@ -97,7 +97,7 @@ rtems_task Init(
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 2
|
||||
|
||||
/* Make sure that we have enough devices for all BSPs */
|
||||
#define CONFIGURE_MAXIMUM_DEVICES 64
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#define TESTS_USE_PRINTK
|
||||
#include <tmacros.h>
|
||||
#include "test_support.h"
|
||||
#include <rtems/devfs.h>
|
||||
@@ -78,14 +79,13 @@ rtems_task Init(
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
#define CONFIGURE_APPLICATION_EXTRA_DRIVERS TEST_DRIVER_TABLE_ENTRY
|
||||
|
||||
/* include an extra slot for registering the termios one dynamically */
|
||||
#define CONFIGURE_MAXIMUM_DRIVERS 3
|
||||
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 2
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 1
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
Reference in New Issue
Block a user