Fwd: [arm-gnu] printf problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [arm-gnu] printf problem



Hi Lanchon,

i am new to gnu toolchain .plese tell the write where to put?
can i use display.print? is ther any changes in compiler options?
let me know what changes should be do?

Thanks in advance
Regards
nagendra


---------- Forwarded message ----------
From: Lanchon <lanchon@xxxxxxxxxxx>
Date: Thu, Mar 20, 2008 at 5:22 PM
Subject: Re: [arm-gnu] printf problem
To: arm-gnu@xxxxxxxxxxxxxxxx


hi Nagendra,

this may or may not help you. you're using a deprecated version of my
build environment, get the current one here:

   http://www.st.com/mcu/forums-cat-6445-23.html

I'm using printf with no problems, just add something like:

extern "C" int _write(int file, char* ptr, int len)
{
   display.print(ptr, ptr + len);
   return len;    // or -1
}




-