Marlin_Firmware/Marlin/src/inc/MarlinConfigPre.h

60 lines
1.6 KiB
C
Raw Normal View History

/**
* Marlin 3D Printer Firmware
2019-06-27 23:57:50 -05:00
* Copyright (c) 2019 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
2019-06-27 23:57:50 -05: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 04:25:46 -05:00
#pragma once
2019-09-15 02:26:30 -05:00
#ifndef __MARLIN_FIRMWARE__
2018-07-02 10:06:17 -05:00
#define __MARLIN_FIRMWARE__
2019-09-15 02:26:30 -05:00
#endif
2018-07-02 10:06:17 -05:00
2018-10-02 04:25:46 -05:00
//
// Prefix header to acquire configurations
//
#include <stdint.h>
2019-07-28 23:55:24 -05:00
#include "../HAL/platforms.h"
#include "../core/boards.h"
2018-10-02 22:09:41 -05:00
#include "../core/macros.h"
#include "../../Configuration.h"
2019-07-28 23:55:24 -05:00
#ifdef CUSTOM_VERSION_FILE
#if defined(__has_include)
#if __has_include(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-28 23:55:24 -05:00
#include HAL_PATH(../HAL, inc/Conditionals_LCD.h)
#include "../core/drivers.h"
#include "../../Configuration_adv.h"
2019-07-28 23:55:24 -05:00
#include "Conditionals_adv.h"
2019-07-28 23:55:24 -05:00
#include HAL_PATH(../HAL, inc/Conditionals_adv.h)