參考資訊:
https://github.com/paragonRobotics/ec2-new
https://ec2drv.sourceforge.net/quickstart.html
$ cd $ git clone https://github.com/paragonRobotics/ec2-new $ mkdir ec2-new/build $ cd ec2-new/build $ vim ../src/ec2drv/ec2drv.c 2255 //#ifdef HAVE_USB_DETACH_KERNEL_DRIVER_NP 2256 // On linux we force the inkernel drivers to release the device for us. 2257 // can't do too much for other platforms as this function is platform specific 2258 // lets hope they don't try and claim this device. 2259 // on linux "usbhid" claims the device. 2260 r = usb_detach_kernel_driver_np( obj->ec3, 0); 2261 // if( r<0 && r!=-ENODATA ) 2262 // USB_ERROR("usb_detach_kernel_driver_np",r); 2263 //#endif $ make -j4 $ sudo cp bin/* /usr/local/bin/ $ ec2adapters List of Silicon Labs USB debug adapters found: port Device Manufacturer Friendly Name USB:EC600MCU123 USB Debug Adapter Silicon Laboratories EC3 debugger