Explorar el Código

32-bit unless…

Scott Lahteine hace 7 años
padre
commit
fe4f009fdd
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3
    4
      Marlin/src/HAL/HAL.h

+ 3
- 4
Marlin/src/HAL/HAL.h Ver fichero

31
 
31
 
32
 #include "SPI.h"
32
 #include "SPI.h"
33
 
33
 
34
+#define CPU_32_BIT
35
+
34
 #ifdef __AVR__
36
 #ifdef __AVR__
37
+  #undef CPU_32_BIT
35
   #include "HAL_AVR/HAL_AVR.h"
38
   #include "HAL_AVR/HAL_AVR.h"
36
 #elif defined(ARDUINO_ARCH_SAM)
39
 #elif defined(ARDUINO_ARCH_SAM)
37
-  #define CPU_32_BIT
38
   #include "HAL_DUE/HAL_Due.h"
40
   #include "HAL_DUE/HAL_Due.h"
39
   #include "math_32bit.h"
41
   #include "math_32bit.h"
40
 #elif defined(__MK64FX512__) || defined(__MK66FX1M0__)
42
 #elif defined(__MK64FX512__) || defined(__MK66FX1M0__)
41
-  #define CPU_32_BIT
42
   #include "HAL_TEENSY35_36/HAL_Teensy.h"
43
   #include "HAL_TEENSY35_36/HAL_Teensy.h"
43
   #include "math_32bit.h"
44
   #include "math_32bit.h"
44
 #elif defined(TARGET_LPC1768)
45
 #elif defined(TARGET_LPC1768)
45
-  #define CPU_32_BIT
46
   #include "math_32bit.h"
46
   #include "math_32bit.h"
47
   #include "HAL_LPC1768/HAL.h"
47
   #include "HAL_LPC1768/HAL.h"
48
 #elif defined(__STM32F1__) || defined(TARGET_STM32F1)
48
 #elif defined(__STM32F1__) || defined(TARGET_STM32F1)
49
-  #define CPU_32_BIT
50
   #include "math_32bit.h"
49
   #include "math_32bit.h"
51
   #include "HAL_STM32F1/HAL_Stm32f1.h"
50
   #include "HAL_STM32F1/HAL_Stm32f1.h"
52
 #else
51
 #else

Loading…
Cancelar
Guardar