I was trying to get <SD.h> library to work on my Zero Pro with Arduino v1.7.2
Instead of new the File.cpp uses malloc() and free().
This works fine in the AVR libc.a
But the ARM v4.8.3 toolchain does not have a working malloc().
Instead of returning memory or NULL on failure, it always returns 8. Which is a perfectly valid address.
If the libc.a distribution just contains a stub, surely this should always return NULL
Likewise, there is no working rand()
Does malloc() work on the Due ?
Is this a simple startup.s problem?