Add ftpd as a service. Add rtems-bsd-config.h for app libbsd set up.

This commit is contained in:
Chris Johns
2016-06-28 13:32:01 +10:00
parent c2ec5f188b
commit 90873cc802
10 changed files with 446 additions and 57 deletions

View File

@@ -73,14 +73,19 @@ rtems_task Init(
assert( 0 );
}
#include <machine/rtems-bsd-sysinit.h>
/*
* Configure LibBSD.
*/
#define RTEMS_BSD_CONFIG_NET_PF_UNIX
#define RTEMS_BSD_CONFIG_NET_IF_LAGG
#define RTEMS_BSD_CONFIG_NET_IF_VLAN
#define RTEMS_BSD_CONFIG_INIT
SYSINIT_NEED_NET_PF_UNIX;
SYSINIT_NEED_NET_IF_LAGG;
SYSINIT_NEED_NET_IF_VLAN;
#include <bsp/nexus-devices.h>
#include <machine/rtems-bsd-config.h>
/*
* Configure RTEMS.
*/
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_STUB_DRIVER