Use a macro for HAL header redirection (#10380)

This commit is contained in:
Chris Pepper
2018-04-13 02:25:08 +01:00
committed by Scott Lahteine
parent 12785583d0
commit cc6d41e1d3
51 changed files with 152 additions and 285 deletions

View File

@ -25,14 +25,16 @@
#include "MarlinConfigPre.h"
#include "../HAL/HAL.h"
#include "../HAL/platforms.h"
#include HAL_PATH(../HAL, HAL.h)
#include "../pins/pins.h"
#if defined(__AVR__) && !defined(USBCON)
#define HardwareSerial_h // trick to disable the standard HWserial
#endif
#include "Conditionals_post.h"
#include "SanityCheck.h"
#include "../HAL/HAL_SanityCheck.h"
#include HAL_PATH(../HAL, SanityCheck.h)
// Include all core headers
#include "../core/enum.h"