Downloaded the firmware source from lulzbot under the hibiscus (mini 2) folder. I get 61 pages of warnings for all the lulzbot variables being redefined, and an error that “variable or field ‘tmc_sensorless_homing’ declared void” Why? If this is a source for the firmware I am using right now, why won’t it compile as it was written?
How about an example of a working source for firmware?
The master branch compiled just fine, I used the build script and compiled for every version and toolhead combo this past weekend. There were some benign warnings, nothing that got me worried.
What operating system do you use? We use GNU/Linux exclusively, but you should be able to use the same tools like make and gcc-avr on your operating system.
Start with the latest source from git: https://code.alephobjects.com/diffusion/MARLIN/
Alternatively, grab this zip archive: http://download.lulzbot.com/Software/Marlin/126.96.36.199/Marlin-src_188.8.131.52_193d1f804.zip
We prefer to use the build script to compile the all firmware all at once.
If you’d rather use the Arduino IDE, make sure you have the U8glib library installed. Turning on verbose logging during compilation and upload will be helpful as well.
Take these known-good sources, and compile the stock firmware to know that your build environment works. Once you have successfully compiled, minimize your variables by starting your modifications little by little, compiling after a change or two to make sure you’re on the right track.