This depends upon the tools that you are using - so you are going to have to study the manuals for your compiler, linker, etc,...
Keil call this ''retargetting''...
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
I think I am not doing retargetting. Instead, I am modifying the Virtual COM port demo given by ST to transfer the data to and from USB instead of transferring the data to and from USB to USART and vice versa...
If any one has done this, can any one confirm first this works?
olimex STM32-H107 board -> Just connect it to the PC/laptop through mini-USB connector and open a terminal software like putty/Teraterm. You will get printfs..
i am posting code here...It is Crossworks based one..
I'm using Olimex STM32-H107 board for my graduation project. I can't find any attachment to above posts that contains USB vcom source. Could you please provide pointer for it?