makerbot / G3Firmware

The firmware for generation 3 and later RepRap electronics.
89 stars 75 forks source link

Build system bugfixes #90

Closed Winter-Guerra closed 12 years ago

Winter-Guerra commented 12 years ago

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