-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I was previously able to compile the MK3 firmware with Arduino 1.8.5 but recently it fails with this error message:
Marlin_main.cpp:2414: error: unrecognizable insn:
...
I was able to revert to a previous commit which worked fine, the failure starts from this commit:
67e90b5
I was able to pinpoint to this change:
-//#define DBG(args...) printf_P(args)
-#define DBG(args...)
+#define DBG(args...) printf_P(args)
+//#define DBG(args...)
Up until this commit no issue to compile (Arduino 1.6.12 or 1.8.5), but since this change, it fails.
I was even able to compile (and flash :P) the up-to-date MK3 branch by reverting these 2 lines.
Please revert these lines (or find a better fix!).
Thanks!
PS: I posted more details on this forum post: https://shop.prusa3d.com/forum/others-archive--f66/compiling-mk3-firmware-t15404-s10.html
I'm using macOS High Sierra (not sure if related).