Firmware2/Marlin/src/inc/MarlinConfigPre.h

59 lines
1.6 KiB
C
Raw Normal View History

/**
* Marlin 3D Printer Firmware
2020-02-03 15:00:57 +01:00
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
2019-06-28 06:57:50 +02:00
* 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
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
2018-10-02 11:25:46 +02:00
#pragma once
2019-09-15 09:26:30 +02:00
#ifndef __MARLIN_FIRMWARE__
2018-07-02 17:06:17 +02:00
#define __MARLIN_FIRMWARE__
2019-09-15 09:26:30 +02:00
#endif
2018-07-02 17:06:17 +02:00
2018-10-02 11:25:46 +02:00
//
// Prefix header to acquire configurations
//
#include <stdint.h>
2019-07-29 06:55:24 +02:00
#include "../HAL/platforms.h"
#include "../core/boards.h"
2018-10-03 05:09:41 +02:00
#include "../core/macros.h"
#include "../../Configuration.h"
2019-07-29 06:55:24 +02:00
#ifdef CUSTOM_VERSION_FILE
#if defined(__has_include)
#if __has_include(XSTR(../../CUSTOM_VERSION_FILE))
#include XSTR(../../CUSTOM_VERSION_FILE)
#endif
#else
#include XSTR(../../CUSTOM_VERSION_FILE)
#endif
#endif
#include "Version.h"
#include "Conditionals_LCD.h"
2019-07-29 06:55:24 +02:00
#include HAL_PATH(../HAL, inc/Conditionals_LCD.h)
#include "../core/drivers.h"
#include "../../Configuration_adv.h"
2019-07-29 06:55:24 +02:00
#include "Conditionals_adv.h"
2019-07-29 06:55:24 +02:00
#include HAL_PATH(../HAL, inc/Conditionals_adv.h)