Using the core's hardware without the cloud functions

Hello

This is not really a Spark question, but a cross compiling gcc question.

I want to use the spark core’s hardware only with the standard C library and the network driver. So I first tried to use some functions like the C stream IO stuff, but didn’t find a way to initialize it. So I wanted to look into the clib’s source code, but I didn’t find it.

I am working on windows. What do I have to install to see the C standard library source for ARM. Is there some documentation of it like the famous WinAVR documentation for AVR microcontrollers?

Thank you
Thorsten

Hi Thorsten,

The C library, new-lib nano, comes with the ARM GCC compiler. You only need to provide low-level _read, _write functions.

Best regards. Teddy