bigtreetech / BIGTREETECH-SKR-V1.3

32bit board with LPC1768, support marlin2.0 and smoothieware, support lcd2004/12864, On-board TMC2130 SPI interface and TMC2208 UART interface no additional wiring is required
999 stars 1.15k forks source link

marlin not compiling when I change TEMP_SENSOR_BED #569

Closed brunatort1101 closed 1 year ago

brunatort1101 commented 1 year ago

Hello, I just started compiling marlin for a SKR 1.4 turbo, and after some mistakes and learning finally managed to install marlin on the board. Everything works fine except the hotbed temperature reading, which is always 0 and the bed won't heat. Went to marlin and found that TEMP_SENSOR_BED was set at 0, changed it to 1 and marlin won't compile. it returns a "region RAM overflowed with stack collect2.exe: error: ld returned 1 exit status *** [.pio\build\LPC1769\firmware.elf] Error 1" I spent all the day searching a way to solve this problem. I even tested the solution comented in this post: https://github.com/bigtreetech/BIGTREETECH-SKR-V1.3/issues/387 but had no luck. I put here mi configs, I hope somebody can find what is going wrong configuration adv h.txt configuration h.txt

radek8 commented 1 year ago

Why are you compiling such an old version of Merli? Why don't you compile the latest versions?

brunatort1101 commented 1 year ago

Why are you compiling such an old version of Merli? Why don't you compile the latest versions?

I tried with the lastest with the same luck, it just happens that this version is the las one I tried and pick it up. I don't know what is happening to cause that error only when I select the bed sensor

brunatort1101 commented 1 year ago

Sooo..., it seems that the flash memory was really filled up to the roof. Tried to disable extra features and the problem dissapeared when I disabled SD_SUPPORT, so, now the board read the bed temp, it heats ok and everything seems to work ok. coming from ramps I though that sdsupport was necessary to read a car from the screen, but it is only to be able to print from the board itself. since I am ok with using the screen as the card reader, this problem is solved. I hope this can help others