1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-12-01 07:42:37 +00:00
MarlinFirmware/Marlin/src/inc/MarlinConfigPre.h

55 lines
1.5 KiB
C
Raw Normal View History

/**
* Marlin 3D Printer Firmware
2020-02-03 14:00:57 +00:00
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
2019-06-28 04:57:50 +00: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
2020-07-23 03:20:14 +00:00
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
2018-10-02 09:25:46 +00:00
#pragma once
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
//
#include <stdint.h>
2019-07-29 04:55:24 +00:00
#include "../HAL/platforms.h"
#include "../core/boards.h"
2018-10-03 03:09:41 +00:00
#include "../core/macros.h"
#include "../../Configuration.h"
2019-07-29 04:55:24 +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)
#endif
#endif
#include "Version.h"
#include "Conditionals_LCD.h"
2019-07-29 04:55:24 +00:00
#include HAL_PATH(../HAL, inc/Conditionals_LCD.h)
#include "../core/drivers.h"
#include "../../Configuration_adv.h"
2019-07-29 04:55:24 +00:00
#include "Conditionals_adv.h"
2019-07-29 04:55:24 +00:00
#include HAL_PATH(../HAL, inc/Conditionals_adv.h)