DFU function on mac

New to XMOS and XCore? Get started here.
TonyXiao
Active Member
Posts: 44
Joined: Fri Mar 29, 2019 3:58 am

DFU function on mac

Post by TonyXiao »

Hi all

in windows there are DFU loader to use, but how about in mac ?
follows steps in DFU-loader-for-XMOS-USB-Audio-devices(4).pdf, when enter source setup.sh,
some errors about missing i386 flags,and i don't know how to fix it.i doubt i missed something.

have someone got more detailed steps of dfu on mac?
thanks.


User avatar
akp
XCore Expert
Posts: 562
Joined: Thu Nov 26, 2015 11:47 pm

Post by akp »

Compile xmosdfu.cpp for mac. refer here: https://www.xcore.com/viewtopic.php?t=3572
fabriceo
Active Member
Posts: 51
Joined: Mon Jan 08, 2018 4:14 pm

Post by fabriceo »

make sure you have downloaded libusb-1.0.0-x86_64.dylib

and go with this:

g++ -g -o dfutool dfutool.cpp -I. -IOSX libusb-1.0.0-x86_64.dylib -m64