Bare Minimum?

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
clubcard
 
Posts: 31
Joined: Sun Dec 29, 2013 10:28 am

Bare Minimum?

Post by clubcard »

Hi,
I have found questions on what is 'bare minumum?' on several code-related sites but the answers do not match up to the results when compiling in verbose mode. Quite a few .c.o (C object files I presume?) are linked in. Are all of these required just for the USB driver for uploading as the multiple answers suggest? It looks like the stdio.c file usually accompanied by minimal C files. I'm looking to use 100% asm and the size of the footprint is sensitive. I'm certainly glad that the source code of these items are available to all but what is the minimum just to ensure the device can be debugged? I would presume that for asm, it's the size of the compiled code and not a byte (well 2 bytes) more? I'm just confused by many wise heads saying it IS the minimum when in fact it looks like the minimum so you don't have to deal with the underlying hardware. I appreciate your thoughts.

pulse_asm.S.o
WInterrupts.c.o
cortex_handlers.c.o
delay.c.o
hooks.c.o
iota.co.o
pulse.c.o
startup.c.o
wiring.c.o
wiring_analog.c.o
wiring_digital.c.o
wiring_private.c.o
wiring_shift.c.o
samd21_host.c.o
dtostrf.c.o
IPAddress.cpp.o
Print.cpp.o
Reset.cpp.o
RingBuffer.cpp.o
SERCOM.cpp.o
Stream.cpp.o
Tone.cpp.o
Uart.cpp.o
WMath.cpp.o
WString.cpp.o
abi.cpp.o
main.cpp.o
new.cpp.o
CDC.cpp.o
PluggableUSB.cpp.o
USBCore.cpp.o

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”