win32_CODE = \
fusb_win32.cc \
- fusb_sysconfig_win32.cc
+ fusb_sysconfig_win32.cc \
+ usrp_prims_libusb.cc \
+ usrp_basic_libusb.cc
+
linux_CODE = \
fusb_linux.cc \
* Boston, MA 02110-1301, USA.
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+//#ifdef HAVE_CONFIG_H
+//#include "config.h"
+//#endif
#include <fusb.h>
int block_size = 0, int nblocks = 0) = 0;
// ACCESSORS
- libusb_device_handle *get_libusb_device_handle () const { return d_udh; }
+ libusb_device_handle *get_usb_dev_handle () const { return d_udh; }
};
static const int FUSB_BUFFER_SIZE = 2 * (1L << 20); // 2 MB
fusb_devhandle *
-fusb_sysconfig::make_devhandle (usb_dev_handle *udh)
+fusb_sysconfig::make_devhandle (usb_dev_handle *udh, libusb_context *ctx)
{
return new fusb_devhandle_win32 (udh);
}
* Boston, MA 02110-1301, USA.
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+//#ifdef HAVE_CONFIG_H
+//#include "config.h"
+//#endif
#include <fusb_win32.h>
#include <usb.h>
* Boston, MA 02110-1301, USA.
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+//#ifdef HAVE_CONFIG_H
+//#include "config.h"
+//#endif
#include "usrp/usrp_basic.h"
#include "usrp/usrp_prims.h"
* Boston, MA 02110-1301, USA.
*/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+//#ifdef HAVE_CONFIG_H
+//#include "config.h"
+//#endif
#include <usrp/usrp_basic.h>
#include "usrp/usrp_prims.h"