hello:
is there a port of newlib for the STR710? where can i find it?
what platforms are supported by GNUARM's newlib? will it work on the STR710?
thank you for the information,
Aaron
-- snipped-for-privacy@gmail.com
hello:
is there a port of newlib for the STR710? where can i find it?
what platforms are supported by GNUARM's newlib? will it work on the STR710?
thank you for the information,
Aaron
-- snipped-for-privacy@gmail.com
adsouzp ha scritto:
AFAIK STM STR7 are ARM7TDMI cpus, so gcc and newlib will work for them. From the compiler point of view there's no difference between ARM cpus if the core is the same.
GNUARM (gcc + newlib) supports ARM7TDMI core, so I suppose it can work even on STR7 devices.
-- _|/ Francesco Sacchi - Develer S.r.l., R&D dept. |\ http://www.develer.com/ - http://www.bertos.org
You can download a free version of the Raisonance IDE (RIDE) from the raisonance site. It comes with a gnuarm and some extra header files and library code to help one to quickly get going on the ST ARMs as well as the new ST Cortex devices.
Regards Anton Erasmus
hello Francesco:
sorry for the long delay in replying.
On 17 May 2008 8:46, Francesco Sacchi replied:
yes, but if i have to printf to the console that is connected to a UART, wouldn't i need to do some STR71 specific programming?
how would GNUARM's newlib be able to use printf to send characters to the STR710's UART?
i can understand how ARM7 only code will work, of course.
yes, it will, i understand. however, what about the STR710 specific parts such as those that enable printf to send data to UART console?
that's why i wanted to know if someone has a ready newlib for STR710.
Aaron
Often, to use printf() in an embedded application you'll just need to write a putchar() that outputs a single char to your target device: LCD, serial port, FIFO queue, etc. Typically there's a stub for putchar() in the library; the new putchar() included in the application code will then be linked in place of the stub and used by printf().
-- Rich Webb Norfolk, VA
Notwithstanding Rich's good advice, if you really want to get the full newlib implementation you need to implement a set of stub functions. I've done that for the LPC (NXP) series
Robert
** Posted fromElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.