This question was brought to death, and I agree that transfers are the way to go. However, I am curious how the enums are listed in the final code - #defines are just string replacements, but do the enumerations list anything in a compiled binary? Or they are both equivalent at this stage. When writing firmware and memory it is very limited, is there any advantage, no matter how small, to use #defines?
Thanks!
EDIT: according to the comment below, built-in, I mean a digital camera.
Thanks for answers! I'm all for transfers!
c enums embedded firmware
Alexander Kondratskiy
source share