MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.34k stars 19.25k forks source link

🔨 Simplify generic variants, update DFU tool #27502

Closed thinkyhead closed 3 weeks ago

thinkyhead commented 3 weeks ago
thinkyhead commented 3 weeks ago

Double-checked to make sure files are indeed being included, and it all seems good. Maple can't take the same approach, but maybe it's possible to set extra environment vars or other build flags to sort out #include <...> lines within the Maple variants.

vehystrix commented 2 weeks ago

Since the change in generic_create_variant.py I get build errors. I get as far as this:

Linking .pio\build\MKS_E3_V2\firmware.elf
arm-none-eabi-g++: error: C:/Users/VEH/Documents/3DPrint/Printer: No such file or directory
arm-none-eabi-g++: error: upgrades/Marlin/buildroot/share/PlatformIO/variants/MARLIN_MKS_E3/ldscript.ld: No such file or directory
*** [.pio\build\MKS_E3_V2\firmware.elf] Error 1

Note that I am using the path C:\Users\VEH\Documents\3DPrint\Printer upgrades\Marlin as my marlin source path. When I remove the space in the path, the build completes as it should.