2017-11-20 02:26:53 +00:00
|
|
|
/**
|
|
|
|
* Marlin 3D Printer Firmware
|
2020-02-03 14:00:57 +00:00
|
|
|
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
2017-11-20 02:26:53 +00:00
|
|
|
*
|
|
|
|
* Based on Sprinter and grbl.
|
2019-06-28 04:57:50 +00:00
|
|
|
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
|
2017-11-20 02:26:53 +00:00
|
|
|
*
|
|
|
|
* 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-23 03:20:14 +00:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2017-11-20 02:26:53 +00:00
|
|
|
*
|
|
|
|
*/
|
2018-10-02 09:25:46 +00:00
|
|
|
#pragma once
|
2017-11-20 02:26:53 +00:00
|
|
|
|
2019-09-15 07:26:30 +00:00
|
|
|
#ifndef __MARLIN_FIRMWARE__
|
2018-07-02 15:06:17 +00:00
|
|
|
#define __MARLIN_FIRMWARE__
|
2019-09-15 07:26:30 +00:00
|
|
|
#endif
|
2018-07-02 15:06:17 +00:00
|
|
|
|
2018-10-02 09:25:46 +00:00
|
|
|
//
|
|
|
|
// Prefix header to acquire configurations
|
|
|
|
//
|
2019-09-17 23:16:28 +00:00
|
|
|
#include <stdint.h>
|
2017-11-20 02:26:53 +00:00
|
|
|
|
2020-10-09 21:42:23 +00:00
|
|
|
#ifndef __MARLIN_DEPS__
|
|
|
|
#include "../HAL/platforms.h"
|
|
|
|
#endif
|
2019-07-29 04:55:24 +00:00
|
|
|
|
2017-11-20 02:26:53 +00:00
|
|
|
#include "../core/boards.h"
|
2018-10-03 03:09:41 +00:00
|
|
|
#include "../core/macros.h"
|
2017-11-20 02:26:53 +00:00
|
|
|
#include "../../Configuration.h"
|
2019-07-29 04:55:24 +00:00
|
|
|
|
2019-10-15 17:32:44 +00:00
|
|
|
#ifdef CUSTOM_VERSION_FILE
|
2020-03-22 04:31:02 +00:00
|
|
|
#if __has_include(STRINGIFY(../../CUSTOM_VERSION_FILE))
|
|
|
|
#include STRINGIFY(../../CUSTOM_VERSION_FILE)
|
2019-10-15 17:32:44 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Version.h"
|
|
|
|
|
2017-11-20 02:26:53 +00:00
|
|
|
#include "Conditionals_LCD.h"
|
2020-10-09 21:42:23 +00:00
|
|
|
|
|
|
|
#ifndef __MARLIN_DEPS__
|
|
|
|
#include HAL_PATH(../HAL, inc/Conditionals_LCD.h)
|
|
|
|
#endif
|
2019-07-29 04:55:24 +00:00
|
|
|
|
2018-08-04 02:49:04 +00:00
|
|
|
#include "../core/drivers.h"
|
2017-11-20 02:26:53 +00:00
|
|
|
#include "../../Configuration_adv.h"
|
2019-07-29 04:55:24 +00:00
|
|
|
|
2017-11-20 02:26:53 +00:00
|
|
|
#include "Conditionals_adv.h"
|
2020-10-09 21:42:23 +00:00
|
|
|
|
|
|
|
#ifndef __MARLIN_DEPS__
|
|
|
|
#include HAL_PATH(../HAL, inc/Conditionals_adv.h)
|
|
|
|
#endif
|