nexus: Use a linker set for the devices

This commit is contained in:
Sebastian Huber
2014-10-01 14:20:42 +02:00
parent d43544ef12
commit 6cfc98de31
8 changed files with 28 additions and 56 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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;