Seeing the C code
is there way see actual "c" code arduino produces during upload process? helpful newbies.
thanks.
thanks.
the c code write. the sketch language c++ or c.
the compiler reads c code , makes object files.
the object files linked executable file (called elf file).
the bytes in elf ready uploading. there's stuff don't need, strip down , put in convenient upload form called hex. it's hex file upload.
given elf file, can run avr-objdump disassembly listing mixes original c/c++ code listing of assembler/machine instructions implement each statement.
the arduino ide, default, deletes elf files save space , clutter. you can grab them after sketch verified (built), visiting sketch's subdirectory.
the compiler reads c code , makes object files.
the object files linked executable file (called elf file).
the bytes in elf ready uploading. there's stuff don't need, strip down , put in convenient upload form called hex. it's hex file upload.
given elf file, can run avr-objdump disassembly listing mixes original c/c++ code listing of assembler/machine instructions implement each statement.
the arduino ide, default, deletes elf files save space , clutter. you can grab them after sketch verified (built), visiting sketch's subdirectory.
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Seeing the C code
arduino
Comments
Post a Comment