Go Down

Topic: Initialisation source code (Read 659 times) previous topic - next topic

DeonM

Hi all,

Does anyone know where to get the init() called in main.cpp (and for that matter the complete run time library) source code ?

I have downloaded arm-2010q1-188-arm-none-eabi-toolchain-win32.zip and gcc-arm-none-eabi-latest-win32.zip from http://static.leaflabs.com/pub/codesourcery/ but all they have are the same binaries as provided in arduino-1.5.1r2-windows.zip

aethaniel

Hi,

The init() function is in hardware/arduino/sam/variants/arduino_due_x/variant.cpp.

The GCC runtime library is in NewLib libc, which is part of any ARM Embedded GCC distribution.

Go Up