Hi - Tried compiling with my modified Configuration.h (Pi4 image - for a Delta printer) and got the following error:
src/HAL/HAL_PANDAPI/HAL.cpp: In function ‘int freeMemory()’:
src/HAL/HAL_PANDAPI/HAL.cpp:69:14: error: cast from ‘void*’ to ‘int’ loses precision [-fper missive]
if ((int)__brkval == 0)
^~~~~~~~
src/HAL/HAL_PANDAPI/HAL.cpp:70:28: error: cast from ‘int*’ to ‘int’ loses precision [-fperm issive]
free_memory = ((int)&free_memory) - ((int)&__bss_end);
^~~~~~~~~~~
src/HAL/HAL_PANDAPI/HAL.cpp:70:50: error: cast from ‘char*’ to ‘int’ loses precision [-fper missive]
free_memory = ((int)&free_memory) - ((int)&__bss_end);
^~~~~~~~~
src/HAL/HAL_PANDAPI/HAL.cpp:72:28: error: cast from ‘int*’ to ‘int’ loses precision [-fperm issive]
free_memory = ((int)&free_memory) - ((int)__brkval);
^~~~~~~~~~~
src/HAL/HAL_PANDAPI/HAL.cpp:72:49: error: cast from ‘void*’ to ‘int’ loses precision [-fper missive]
free_memory = ((int)&free_memory) - ((int)__brkval);
^~~~~~~~
make: *** [Makefile:36: src/HAL/HAL_PANDAPI/HAL.o] Error 1
Any pointers appreciated as my initial making line-by-line config changes hasn't got me anywhere so far (still trying ...). Anybody got a Delta working ?
Ps. also a lot of "warning: "S_FMT" redefined" whatever I compile which I'm guessing is normal
Oops - quiet right. Didn't even notice I'd done that 😚. Thanks for the speedy response.