diff --git a/Marlin/src/HAL/HAL_LPC1768/HAL.cpp b/Marlin/src/HAL/HAL_LPC1768/HAL.cpp index 4f887ba85032edaca414c42af07578d24d851e45..b2eec4446ff88f1de1d077744fb2a3da094f8895 100644 --- a/Marlin/src/HAL/HAL_LPC1768/HAL.cpp +++ b/Marlin/src/HAL/HAL_LPC1768/HAL.cpp @@ -25,7 +25,7 @@ */ #ifdef TARGET_LPC1768 - +#include "../../../macros.h" #include "../HAL.h" extern "C" { diff --git a/Marlin/src/HAL/HAL_LPC1768/arduino.cpp b/Marlin/src/HAL/HAL_LPC1768/arduino.cpp index 9492d1a57fb7d6f93bef1abcaa68176646c75226..9d1632ca73e4253374a30c08ee2218c2d6b83be4 100644 --- a/Marlin/src/HAL/HAL_LPC1768/arduino.cpp +++ b/Marlin/src/HAL/HAL_LPC1768/arduino.cpp @@ -22,6 +22,7 @@ #ifdef TARGET_LPC1768 #include <lpc17xx_pinsel.h> +#include "../../../macros.h" #include "HAL.h" // Interrupts diff --git a/Marlin/src/HAL/HAL_LPC1768/pinmapping.h b/Marlin/src/HAL/HAL_LPC1768/pinmapping.h index 73fbaefa93c3bef74963b6132943703b17707f89..9df354daaee2fe75decc5b105a9ceb4ebf65ec91 100644 --- a/Marlin/src/HAL/HAL_LPC1768/pinmapping.h +++ b/Marlin/src/HAL/HAL_LPC1768/pinmapping.h @@ -22,6 +22,7 @@ #ifndef __HAL_PINMAPPING_H__ #define __HAL_PINMAPPING_H__ +#include "../../../macros.h" struct pin_data { uint8_t port, pin; }; struct adc_pin_data { uint8_t port, pin, adc; }; diff --git a/Marlin/src/HAL/HAL_spi_pins.h b/Marlin/src/HAL/HAL_spi_pins.h index 0a4c88436c921bf011c4f5b2d62d23a90c4db04c..03607317b42d2885979057159e798b7266452db2 100644 --- a/Marlin/src/HAL/HAL_spi_pins.h +++ b/Marlin/src/HAL/HAL_spi_pins.h @@ -21,7 +21,7 @@ #ifndef HAL_SPI_PINS_H_ #define HAL_SPI_PINS_H_ -#include "MarlinConfig.h" +#include "../../MarlinConfig.h" #ifdef ARDUINO_ARCH_SAM #include "HAL_DUE/spi_pins.h"