Unable to configure USB_DEVICE on STM32F070F6PX in STM32Cubemx.
STM32CubeMx version 4.22.1
Attempting to build a Virtual com.
Created cube project, configured USB port and Uart.
Added USB_DEVICE virtual com Middleware.
Basically everything you need to get a virtual com started.
Created and Iar EWARM project and compiled.
Looked at map file, project does not fit in ram memory.
Size of ram in map file is > 0x1800 the ram size of the part.
If I leave the middleware out it fits.
How would I use the USB as any of the device profiles without the middleware?