forked from OpenAstroTech/OpenAstroTracker-Firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LocalConfiguration.hpp
21 lines (19 loc) · 970 Bytes
/
LocalConfiguration.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include "Constants.hpp"
#if defined(NO_LOCAL_CONFIG)
// Don't load local configuration file
#elif defined(MATRIX_LOCAL_CONFIG)
#include "Configuration_local_matrix.hpp"
#elif BOARD == BOARD_AVR_RAMPS && __has_include("Configuration_local_ramps.hpp")
#include "Configuration_local_ramps.hpp"
#elif BOARD == BOARD_AVR_MKS_GEN_L_V21 && __has_include("Configuration_local_mksgenlv21.hpp")
#include "Configuration_local_mksgenlv21.hpp"
#elif BOARD == BOARD_AVR_MKS_GEN_L_V2 && __has_include("Configuration_local_mksgenlv2.hpp")
#include "Configuration_local_mksgenlv2.hpp"
#elif BOARD == BOARD_AVR_MKS_GEN_L_V1 && __has_include("Configuration_local_mksgenlv1.hpp")
#include "Configuration_local_mksgenlv1.hpp"
#elif BOARD == BOARD_ESP32_ESP32DEV && __has_include("Configuration_local_esp32dev.hpp")
#include "Configuration_local_esp32dev.hpp"
#elif __has_include("Configuration_local.hpp")
#include "Configuration_local.hpp"
#endif