This repository has been archived by the owner on Oct 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathadvi3pp_defines.h
60 lines (45 loc) · 2.14 KB
/
advi3pp_defines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
* Marlin 3D Printer Firmware For Wanhao Duplicator i3 Plus (ADVi3++)
*
* Copyright (C) 2017-2019 Sebastien Andrivet [https://github.com/andrivet/]
*
* 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/>.
*
*/
#ifndef ADVI3PP_DEFINES_H
#define ADVI3PP_DEFINES_H
// The preferred way to build ADVi3++ is with PlatformIO. With PlatformIO, you can easily build BLTouch and non-BLtouch releases.
// If for whatever reason, you prefer to use Arduino IDE, uncomment the following line to build a BLTouch release.
// #define ADVi3PP_BLTOUCH
// In a similar way, uncomment the following line to build a Mark II release.
// #define ADVi3PP_MARK2
// In a similar way, uncomment the following line to build a Aldi UK Balco 2018 release
// WARNING: For HE180021 models only (2018). For the 2017 models, do not use any #define
// #define ADVi3PP_HE180021
#ifdef DEBUG
// To log various aspects of ADVi3++
#define ADVi3PP_LOG
// To log the content of frames, uncomment the following line. Very chatty, but useful to debug tough bugs
//#define ADVi3PP_LOG_FRAMES
//#define ADVi3PP_LOG_ALL_FRAMES // Log all the frames, including those that are updating the status
#endif
// Define only when using ADVi3++ Hardware simulator
//#define ADVi3PP_SIMULATOR
// ---------------------------------------------------------------------------
// Do not modify the following definitions
// ---------------------------------------------------------------------------
#if defined(ADVi3PP_BLTOUCH) || defined(ADVi3PP_BLTOUCH3) || defined(ADVi3PP_MARK2)
#define ADVi3PP_PROBE
#endif
#endif // ADVI3PP_DEFINES_H