USB objective file library


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2016
    Posts
    33

    Default USB objective file library

    Hello again,

    I keep asking questions but hopefully I get it this time.

    So I am trying to turn hid_desc.bas to a lib or .o file and then use that as a usb library for every project instead of including all .asm files.

    So I edited assembly code in hid_desc.bas and used global directives for USBDeviceInit,USBDeviceTask,and PutUSB in usb_mem.asm.I then used MPASMWIN tool to generate hid_desc.O from hid_desc.asm and then generate a .lib file using MPLib. No I want use the lgenerated file in my main Basic code but I don't know how to get it working.

    I am using USBInit,USBSERVICE,and USBOut for send out data.But I don't know how to declare them as external directive.

    Would appreciate any help.

  2. #2
    Join Date
    May 2016
    Posts
    33


    Did you find this post helpful? Yes | No

    Default Re: USB objective file library

    So I edited assembly code in hid_desc.bas and used global directives for USBDeviceInit,USBDeviceTask,and PutUSB in usb_mem.asm.I then used MPASMWIN tool to generate hid_desc.O from hid_desc.asm and then generate a .lib file using MPLib. Now I want use the generated file in my main Basic code but I don't know how to get it working.

Similar Threads

  1. USB to USB flash Drive File Copier
    By surya089 in forum USB
    Replies: 2
    Last Post: - 16th December 2012, 02:22
  2. USB to USB flash Drive File Copier
    By emildownloads in forum General
    Replies: 222
    Last Post: - 27th October 2011, 02:23
  3. Library tools? Library Specs?
    By PickyBiker in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st May 2010, 03:54
  4. what is objective of this operator "*/" ?
    By iugmoh in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th April 2008, 03:43
  5. read with a PIC one file stored in a USB Pen
    By Pedro Santos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th August 2006, 20:07

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts