This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: first post, perplexed by printf()


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 05/10/2014 22:43, Dave McGuire wrote:
> 
> Ok, I will hack on this a bit today and see how far I get.  The
> linker script and startup code I'm using are the ones distributed
> by SiLabs for this family of processors.  At first glance, your
> linker script and startup code are very different from those.
> 

Hi,
This is just a guess, as I have not seen the SiLabs linker script, but
have you tried if malloc works on your platform, such as trying to
allocate some blocks, writing into them and seeing if it makes the
system crash? I've seen some linker script in the past, provided by
chip manufacturers, which fail to set up a working heap, and printf
calls malloc internally.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iF4EAREIAAYFAlQyUx8ACgkQbTKLH9en/LsZ9gD/Ri+4qk3Ne20e/RSsfOQ+DNeO
uycjcGKNHMZKYTyyV/sA/1EtrO02I+z+LicJT/V++fso+3wFtVSl5iCvRbZlA/3A
=3XfA
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]