makerbot/G3Firmware — pull request #90 by xtremd (2012-07-15 18:57:41+00:00)
Title: Build system bugfixes

Hey Makerbot folks!

I know this codebase has fallen out of active development, but here's a few small fixes for compilation errors in the scons buildsystem that have proved to be a nuisance to firmware hackers.

Here's a summary of the changes:
-Instead of using preprocessor #ifdef statements to guard blocks of code incompatible with certain boards, everything is now neatly handled directly in the scons build system. This fix in particular squashes compilation errors due to the build system trying to compile interface kit related firmware files when the extruder or motherboard doesn't support it.

-Added a new platform in the SConstruct.extruder file to make compiling and uploading FW for the newer ecv34 extruder board powered by the ATMEL328P a breeze.

-Changed the default upload port that scons will try to use to upload newly compiled firmware. It now uses some shell scripting trickery to autodetect connected arduino-based boards.

Keep it printing!
-Winter