<p>I'm trying to enable a lot of features on my custom build of Marlin, and I'm having trouble fitting into a reasonable space limit. I'm compiling through the standard Arduino IDE with Sanguino board set, and I'm barely not fitting -- when I click compile, I get an error informing me my code won't fit.</p>

<p>My understanding is, the IDE is set to assume I'll be uploading through a bootloader, and therefore reserves some space for it. If I'm not planning to use the bootloader, how can I inform the IDE that my program can use more space? </p>

CC BY-SA 4.0
2020-03-19T06:46:44.683Z
Have you tried compiling with Visual Studio Code and the PlatformIO plugin? I'm wondering if this expresses the same issue?
0scar
CC BY-SA 4.0
2020-03-19T09:40:37.267Z
have you looked into compiling into a .hex file and uploading that? You *could* conserve some space by removing unneeded features.
Trish
<marlin><firmware><melzi>
How to compile Marlin for Melzi board without bootloader?
Kravaros
# How to compile Marlin for Melzi board without bootloader?

(Asked by: username_0 on 2020-03-18)

I'm trying to enable a lot of features on my custom build of Marlin, and I'm having trouble fitting into a reasonable space limit. I'm compiling through the standard Arduino IDE with Sanguino board set, and I'm barely not fitting -- when I click compile, I get an error informing me my code won't fit.

My understanding is, the IDE is set to assume I'll be uploading through a bootloader, and therefore reserves some space for it. If I'm not planning to use the bootloader, how can I inform the IDE that my program can use more space?

**Tags:** marlin, firmware, melzi
> **Comments:**
> **username_1**: Have you tried compiling with Visual Studio Code and the PlatformIO plugin? I'm wondering if this expresses the same issue?  
> **username_2**: have you looked into compiling into a .hex file and uploading that? You *could* conserve some space by removing unneeded features.  

---

## 0 answers

