2020-07-20 04:42:30 +02:00
|
|
|
/**
|
|
|
|
* Marlin 3D Printer Firmware
|
|
|
|
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|
|
|
*
|
|
|
|
* Based on Sprinter and grbl.
|
|
|
|
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2020-07-17 16:30:41 +02:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2020-07-20 04:42:30 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The purpose of this file is just include Marlin Configuration files,
|
|
|
|
* to discover which FEATURES are enabled, without any HAL include.
|
2020-07-26 04:40:44 +02:00
|
|
|
* Used by common-dependencies.py
|
2020-07-20 04:42:30 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2020-07-26 03:52:44 +02:00
|
|
|
// Include platform headers
|
|
|
|
//#include "../../../../Marlin/src/HAL/platforms.h"
|
|
|
|
|
2020-07-20 04:42:30 +02:00
|
|
|
#include "../../../../Marlin/src/core/boards.h"
|
|
|
|
#include "../../../../Marlin/src/core/macros.h"
|
|
|
|
#include "../../../../Marlin/Configuration.h"
|
|
|
|
|
|
|
|
#include "../../../../Marlin/Version.h"
|
|
|
|
|
|
|
|
#include "../../../../Marlin/src/inc/Conditionals_LCD.h"
|
|
|
|
|
2020-07-26 03:52:44 +02:00
|
|
|
#ifdef HAL_PATH
|
|
|
|
#include HAL_PATH(../../../../Marlin/src/HAL, inc/Conditionals_LCD.h)
|
|
|
|
#endif
|
|
|
|
|
2020-07-20 04:42:30 +02:00
|
|
|
#include "../../../../Marlin/src/core/drivers.h"
|
|
|
|
#include "../../../../Marlin/Configuration_adv.h"
|
|
|
|
|
|
|
|
#include "../../../../Marlin/src/inc/Conditionals_adv.h"
|
2020-07-26 03:52:44 +02:00
|
|
|
|
|
|
|
#ifdef HAL_PATH
|
|
|
|
#include HAL_PATH(../../../../Marlin/src/HAL, inc/Conditionals_adv.h)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//#include "../../../../Marlin/src/pins/pins.h"
|
|
|
|
|
|
|
|
#ifdef HAL_PATH
|
|
|
|
#include HAL_PATH(../../../../Marlin/src/HAL, timers.h)
|
|
|
|
#include HAL_PATH(../../../../Marlin/src/HAL, spi_pins.h)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "../../../../Marlin/src/inc/Conditionals_post.h"
|
|
|
|
|
|
|
|
#ifdef HAL_PATH
|
|
|
|
#include HAL_PATH(../../../../Marlin/src/HAL, inc/Conditionals_post.h)
|
|
|
|
#endif
|