Hi Ytai,

thanks for the quick reply, and thanks for the great IOIO, have been flying 
with this a couple of years in my glider.

Your suggestion is actually how I started, but it would not link.

I have the sources in SVN, so just made a fresh checkout with the original 
sources, and compiled all libraries without problems. But when building 
device_bootloader, I get:
c:\programmer\microchip\mplab c30\bin\bin\..\bin/pic30-coff-ld.exe: cannot 
find -lusb

The linker command has the following:
-l"usb",-L"../libusb/dist/PIC24FJ256GB206_CDC/production"

but when examining the libusb project, its active configuration 
is PIC24FJ128DA106
So I don't see how I can build without changing this MPLAB project setting.

Just to be sure, I downloaded the ioio-master.zip file once more, same 
result.

Then tried setting the libusb active conf. to PIC24FJ256GB206_CDC, and 
rebuilding libusb and device_bootloader. Now it links OK.

For the following projects, I also had to change the active configurations 
like this:
AppLayerV1: IOIO0030
libconn, libbtstack and libadb: PIC24FJ256GB206

Recompiling these 3 libs and the AppLayerV1 now results in:
c:\programmer\microchip\mplab c30\bin\bin\..\bin/pic30-coff-ld.exe: cannot 
find -lusb

Having this in the linker command:
-L"../libusb/dist/PIC24FJ256GB206_OTG/production"

So it seems the bootloader and app requires two different libusb configs.
Is this correct?

So changed the libusb conf. now to PIC24FJ256GB206_OTG, and rebuild libusb 
and AppLayerV1, which now succeeds.

The sad thing: When comparing the two hexfiles produced this way, with the 
ones I have build previously, they are identical.

Is it the starting point that is wrong, downloading the ioio-master.zip 
from the https://github.com/ytai/ioio
?

Sorry for the long mail.

Regards, Johny

>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to