Question
How to not compile USB device ?
Hi ,
I have added usb functionality in my code using stm32cubemx.
Now i don't want to compile it using #if or #ifdef
How to do it ?
I tried following:
I used #if to remove usb initializing function and not used usb in any code , but when i saw .map file still following files are getting compiled
usbd_conf.o
usbd_core.o
usbd_ctlreq.o
usbd_ioreq.o
