TESTMODULES= %w(tools/temperatureswitch) unless defined? EXCLUDE_MODULES
puts "Modules under test: #{TESTMODULES}"
excludes << %w(Kernel.cpp main.cpp) # we replace these with mock versions in testframework
+
frameworkfiles= FileList['src/testframework/*.{c,cpp}', 'src/testframework/easyunit/*.{c,cpp}']
extrafiles= FileList['src/modules/communication/SerialConsole.cpp', 'src/modules/communication/utils/Gcode.cpp', 'src/modules/robot/Conveyor.cpp', 'src/modules/robot/Block.cpp']
testmodules= FileList['src/libs/**/*.{c,cpp}'].include(TESTMODULES.collect { |e| "src/modules/#{e}/**/*.{c,cpp}"}).include(TESTMODULES.collect { |e| "src/testframework/unittests/#{e}/*.{c,cpp}"}).exclude(/#{excludes.join('|')}/)
Kernel* Kernel::instance;
-
-// define some dummies here to satisfy linker
-// Conveyor::Conveyor(){ /*dummy*/ }
-// void Conveyor::wait_for_empty_queue(){ /*dummy*/ }
-//template class HeapRing<Block>;
-
-
// The kernel is the central point in Smoothie : it stores modules, and handles event calls
Kernel::Kernel(){
instance= this; // setup the Singleton instance of the kernel
this->slow_ticker = new SlowTicker();
- // dummies (woul dbe noce to refactor to not have to create a conveyor)
+ // dummies (would be nice to refactor to not have to create a conveyor)
this->conveyor= new Conveyor();
// Configure UART depending on MRI config