[SOLVED] Makefile for the Due

I can confirm that the led is blinking if I remove the serial output. I can also confirm the changes with -DUSBCON do not help.

Differences I can spot between the IDE and the make output:

  • -DUSB_PID=0x003e is 0x03e instead in the makefile version. It should not matter. The flags seem to be in another order, and the binary file is built in another way.
  • -nostdlib is used in the IDE but not in the makefile version
  • -g is used in in the IDE (debug)

Should I post the full output? I have done some simplification for the ide output to make it more readable.