Changeset d2da1ce in network-demos


Ignore:
Timestamp:
Jun 29, 2010, 12:48:57 PM (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f3d1d96
Parents:
ef619c3
Message:

2010-06-29 Sebastian Huber <sebastian.huber@…>

  • init.c: Update for mount API changes.
Location:
tftpTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tftpTest/ChangeLog

    ref619c3 rd2da1ce  
     12010-06-29      Sebastian Huber <sebastian.huber@embedded-brains.de>
     2
     3        * init.c: Update for mount API changes.
     4
    152009-05-13      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • tftpTest/init.c

    ref619c3 rd2da1ce  
    1717
    1818#include <bsp.h>
    19 #include <rtems/tftp.h>
    2019
    2120#include <stdio.h>
    2221#include <stdlib.h>
    2322#include <rtems/rtems_bsdnet.h>
     23#include <rtems/libio.h>
    2424#include <netinet/in.h>
    2525#include <arpa/inet.h>
     
    3737
    3838        rtems_bsdnet_initialize_network ();
    39         rtems_bsdnet_initialize_tftp_filesystem ();
     39        mount_and_make_target_path(
     40                NULL,
     41                "/TFTP",
     42                RTEMS_FILESYSTEM_TYPE_TFTPFS,
     43                RTEMS_FILESYSTEM_READ_WRITE,
     44                NULL
     45        );
    4046
    4147        hostname = RTEMS_TFTP_TEST_HOST_NAME;
     
    5157#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
    5258#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
     59#define CONFIGURE_FILESYSTEM_IMFS
     60#define CONFIGURE_FILESYSTEM_TFTPFS
    5361
    5462#define CONFIGURE_EXECUTIVE_RAM_SIZE    (512*1024)
Note: See TracChangeset for help on using the changeset viewer.