Closed ghost closed 8 years ago
Fix!!
I'm grateful for quick disposal, but still error occures. error message: AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\MK_Main.cpp.o: In function `PS_PGM':
AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module../module/communication/communication.h:28: undefined reference to `__brkval'
AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\MK_Main.cpp.o: In function `gcode_M100()':
AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module/MK_Main.cpp:5065: undefined reference to `__brkval'
collect2.exe: error: ld returned 1 exit status
Sorry, but M100 function only 8 bit...
if enable M100_FREE_MEMORY_WATCHER in Configuration_Feature.h, it causes compiling error.
error message: AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\sd\SDFat.cpp:4283:15: error: type mismatch with previous external decl of 'int* SdFatUtil::__brkval' [-fpermissive]
extern int* __brkval;
In file included from AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\sd../../base.h:45:0,
AppData\Local\Temp\build41e4efdcf85178b85a086bd08f467a14.tmp\sketch\module\sd../../module/MK_Main.h:244:16: error: previous external decl of 'void* __brkval' [-fpermissive]
extern void *__brkval;