Hi all,
I'm working on LPC1768 chip of NXP semiconductor with USBCDC protocol, I use KEIL to compile source code and know that USBCDC source code of KEIL have used MicroLib library to decrease capacity of source code instead using Standard library. But recently, I need some functions to using some other targets and MicroLib is no appropriate. how to configure standard library to using USBCDC?
BR,
> and know that USBCDC source code of KEIL have used MicroLib library
Maybe, you are referring to USBCDC example in this code bundle?
"MCB1700 Sample Code Bundle for LPC17xx Peripherals using Keil's MDK-ARM" www.lpcware.com/.../mcb1700-sample-code-bundle-lpc17xx-peripherals-using-keils-mdk-arm
Surely, starting with USBCDC.uvproj on Keil uVision, "Use MicroLIB" check box is checked on the Target tab of the Options dialog. Just disable this check box. That's all.
Tsuneo
Hi Tsuneo Chinzei,
I have already used this sample code,and I have been disable "use MicroLib" box, it built fine, usb driver got fine,too. But it have not transfer data. Because I use one project to transfer data with system and to compare. + test1: I checked "use MicroLib" box,data transfering be good. + test2: I unchecked "use MicroLib" box,data transfering be not good.The seems,my system have no get data. I think have some diffences between this both. Did you test it??
BR, Vui Nguyen
> Did you test it??
It works either with or without "use MicroLib" on my side. Tested on Olimex LPC-1766-STK. Period.