Skip to content
Snippets Groups Projects
Commit d573a2ca authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Fix pins_RAMPS.h for 32-bit platforms

Followup to 436e5b7e
parent f04be05a
Branches
Tags
No related merge requests found
...@@ -44,9 +44,17 @@ ...@@ -44,9 +44,17 @@
* 7 | 11 * 7 | 11
*/ */
#if ENABLED(TARGET_LPC1768)
#error "Oops! Set MOTHERBOARD to an LPC1768-based board when building for LPC1768."
#elif defined(__STM32F1__)
#error "Oops! Set MOTHERBOARD to an STM32F1-based board when building for STM32F1."
#endif
#if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768)
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__) #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
#error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
#endif #endif
#endif
#ifndef BOARD_NAME #ifndef BOARD_NAME
#define BOARD_NAME "RAMPS 1.4" #define BOARD_NAME "RAMPS 1.4"
...@@ -539,6 +547,10 @@ ...@@ -539,6 +547,10 @@
#define ADC_KEYPAD_PIN 12 #define ADC_KEYPAD_PIN 12
#elif ENABLED(AZSMZ_12864)
// Pins only defined for RAMPS_SMART currently
#else #else
// Beeper on AUX-4 // Beeper on AUX-4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment