Browse Source

pins_ARMED overrides STM32 defines (#14587)

Karl Andersson 6 years ago
parent
commit
82cafc9b19
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      Marlin/src/pins/stm32/pins_ARMED.h

+ 5
- 1
Marlin/src/pins/stm32/pins_ARMED.h View File

@@ -25,13 +25,17 @@
25 25
   #error "Oops! Select an STM32F4 board in 'Tools > Board.'"
26 26
 #endif
27 27
 
28
-#define ARMED_V1_1
28
+#ifndef ARMED_V1_0
29
+  #define ARMED_V1_1
30
+#endif
29 31
 
32
+#undef BOARD_NAME // Defined on the command line by Arduino Core STM32
30 33
 #define BOARD_NAME           "Arm'ed"
31 34
 #define DEFAULT_MACHINE_NAME BOARD_NAME
32 35
 
33 36
 #define I2C_EEPROM
34 37
 
38
+#undef E2END // Defined in Arduino Core STM32 to be used with EEPROM emulation. This board uses a real EEPROM.
35 39
 #define E2END 0xFFF // 4KB
36 40
 
37 41
 #if HOTENDS > 2 || E_STEPPERS > 2

Loading…
Cancel
Save