mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 22:28:43 +08:00
nexus: Use a linker set for the devices
This commit is contained in:
@@ -272,6 +272,8 @@ Init(rtems_task_argument arg)
|
||||
|
||||
SYSINIT_NEED_NET_PF_UNIX;
|
||||
|
||||
#include <bsp/nexus-devices.h>
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER
|
||||
|
@@ -39,11 +39,6 @@
|
||||
|
||||
#include "swi_test.h"
|
||||
|
||||
const rtems_bsd_device rtems_bsd_nexus_devices[0];
|
||||
|
||||
const size_t rtems_bsd_nexus_device_count =
|
||||
RTEMS_ARRAY_SIZE(rtems_bsd_nexus_devices);
|
||||
|
||||
static void Init(rtems_task_argument arg)
|
||||
{
|
||||
rtems_status_code sc;
|
||||
|
@@ -39,11 +39,6 @@
|
||||
|
||||
#include "timeout_test.h"
|
||||
|
||||
const rtems_bsd_device rtems_bsd_nexus_devices[0];
|
||||
|
||||
const size_t rtems_bsd_nexus_device_count =
|
||||
RTEMS_ARRAY_SIZE(rtems_bsd_nexus_devices);
|
||||
|
||||
static void Init(rtems_task_argument arg)
|
||||
{
|
||||
rtems_status_code sc;
|
||||
|
Reference in New Issue
Block a user