MKFirmware / MarlinKimbra4due

MK4due firmware for Arduino DUE
22 stars 14 forks source link

ADVANCE doesn't work #18

Closed ghost closed 8 years ago

ghost commented 8 years ago

if enable ADVANCE in Configuration_Feature.h, it causes compiling error.

error message: In file included from AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\base.h:38:0,

             from MarlinKimbra4due.git\trunk\MK4due\MK4due.ino:197:

AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module/sanitycheck.h:378:8: error: #error DEPENDENCY ERROR: Missing setting STEPS_MM_E

   #error DEPENDENCY ERROR: Missing setting STEPS_MM_E

    ^

if I set the STEPS_MM_E(ex. #define STEPS_MM_E 836) in Configuration_Feature.h, it still causes compiling error.

error message: AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\motion\stepper.cpp: In function 'void TIMER0_COMPA_vect()':

AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\motion\stepper.cpp:800:5: error: 'OCR0A' was not declared in this scope

 OCR0A = old_OCR0A;

 ^
MagoKimbra commented 8 years ago

Ok Chek!!

MagoKimbra commented 8 years ago

I fixed!!

ghost commented 8 years ago

thanks for quick fix, but still error occures. error message: AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\motion\stepper.cpp: In function 'void TIMER0_COMPA_vect()':

AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\motion\stepper.cpp:800:5: error: 'OCR0A' was not declared in this scope

 OCR0A = old_OCR0A;

 ^