 |
| Author |
Message |
|
|
Posted: Nov 15, 2010 - 09:06 PM |
|

Joined: Jul 08, 2010
Posts: 10
|
|
Hi,
I am trying to do things like redirect the stdin/stdout to a specific I/O (USART), override the '_gettimeofday()' function and it would be really helpful to have some documentation on the AVR32 port of 'newlib'.
For example, currently it seems that the 'gettimeofday()' function is somehow obtaining the time through the debugger (AVR Dragon), which is clearly of no use to a real project.
If not particular to the AVR32 port it would be great to have information pointing out on how to plug your own system calls to get the standard library working.
If someone can point me in the right direction I would appreciate it!
Thanks a lot!
Diego |
|
|
| |
|
|
|
|
|
Posted: Jul 02, 2012 - 04:34 AM |
|

Joined: Dec 27, 2011
Posts: 27
|
|
| I am trying to find the same information, did you have any luck finding info about the AVR32 newlib? |
|
|
| |
|
|
|
|
|
Posted: Jul 06, 2012 - 12:00 PM |
|

Joined: Dec 11, 2011
Posts: 191
Location: Finland
|
|
Hi,
I do not have idea where to find any specific documentation for the port, but there are only three diff files for the newlib so maybe it can be possible to find the answers there.
Red Hat's documentation can be found from their pages http://sourceware.org/newlib/. Click the docs from the sidebar. AVR Toolchain release notes (version 3.4.0.332) indicate that the toolchain uses the newlib version 1.16.0. The latest one seemed to be 1.20.0 though.
Off topic: newlib version 1.17.0, released a year after the 1.16.0, seemed to have some improvements for "formatted I/O to reduce dependencies when using sprintf/sscanf family of functions". That would be interesting as I have seen lot of trouble when people have tried to use sprintf() in AVR32. |
|
|
| |
|
|
|
|
|
|
|