diff --git a/Makefile-common b/Makefile-common index e7be5eb..19efb5e 100644 --- a/Makefile-common +++ b/Makefile-common @@ -124,6 +124,9 @@ regressiontests: # Generic RAMPS configuration. $(MAKE) -f Makefile-AVR USER_CONFIG=testcases/config.regtest-ramps.h \ MCU=atmega2560 F_CPU=16000000UL EXTRA_CFLAGS=-Werror all + # Nanoheart configuration for ATmega328, I2C and display SSD1306 support. + $(MAKE) -f Makefile-AVR USER_CONFIG=testcases/config.regtest-nanoheart.h \ + MCU=atmega328 F_CPU=16000000UL EXTRA_CFLAGS=-Werror all # Generic Teensy2 configuration, which uses USB_SERIAL and no SD card. $(MAKE) -f Makefile-AVR USER_CONFIG=testcases/config.regtest-teensy2.h \ MCU=atmega32u4 F_CPU=16000000UL EXTRA_CFLAGS=-Werror all diff --git a/config/board.nanoheart-v1.0.h b/config/board.nanoheart-v1.0.h index 85e5cf5..dcb70a3 100644 --- a/config/board.nanoheart-v1.0.h +++ b/config/board.nanoheart-v1.0.h @@ -50,8 +50,8 @@ #define X_STEP_PIN DIO2 #define X_DIR_PIN DIO4 -//#define X_MIN_PIN AIO2 -#define X_MAX_PIN AIO2 +#define X_MIN_PIN AIO2 +//#define X_MAX_PIN AIO2 #define X_ENABLE_PIN AIO0 //#define X_INVERT_DIR //#define X_INVERT_MIN @@ -60,8 +60,8 @@ #define Y_STEP_PIN DIO5 #define Y_DIR_PIN DIO6 -//#define Y_MIN_PIN AIO3 -#define Y_MAX_PIN AIO3 +#define Y_MIN_PIN AIO3 +//#define Y_MAX_PIN AIO3 #define Y_ENABLE_PIN AIO0 //#define Y_INVERT_DIR //#define Y_INVERT_MIN diff --git a/testcases/config.regtest-nanoheart.h b/testcases/config.regtest-nanoheart.h new file mode 100644 index 0000000..9f9bfe8 --- /dev/null +++ b/testcases/config.regtest-nanoheart.h @@ -0,0 +1,6 @@ + +// Configuration for controller board. +#include "../config/board.nanoheart-v1.0.h" + +// Configuration for printer board. +#include "../config/printer.mendel.h"