Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    I realized that i did not need to add #include <avr/io.h> in the motors.c file. I removed that and tried it again. Same error. Commented May 25, 2019 at 6:18
  • 3
    What exactly are you trying to do by the first avr-gcc command line? In that command line I see multiple source files, only one output file and no -c? This looks like a full compile and link, but saving the resultant elf as an .o file. But why? What am I missing? Commented May 25, 2019 at 7:26