ESP3D  3.0
Firmware for ESP boards connected to 3D Printer
esp3d_config.h
Go to the documentation of this file.
1 /*
2  config.h - ESP3D configuration file
3 
4  Copyright (c) 2014 Luc Lebosse. All rights reserved.
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public
17  License along with this library; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 
21 #ifndef _ESP3D_CONFIG_H
22 #define _ESP3D_CONFIG_H
23 #include <Arduino.h>
24 #include "../include/defines.h"
25 #include "../include/pins.h"
26 #include "../../configuration.h"
27 #include "../include/sanity_esp3d.h"
28 #include "../core/hal.h"
29 #include "../core/debug_esp3d.h"
30 #include "../include/version.h"
31 
32 /************************************
33  *
34  * Additional Flags
35  *
36  * **********************************/
37 
38 //Make Flag more generic
39 #if defined(PIN_RESET_FEATURE) || defined(SD_RECOVERY_FEATURE)
40 #define RECOVERY_FEATURE
41 #endif //PIN_RESET_FEATURE || SD_RECOVERY_FEATURE
42 
43 #if defined(DISPLAY_DEVICE) || defined(DHT_DEVICE) || defined(RECOVERY_FEATURE) || defined(BUZZER_DEVICE) || defined(CAMERA_DEVICE) || defined(SD_DEVICE)
44 #define CONNECTED_DEVICES_FEATURE
45 #endif //DISPLAY_DEVICE || DHT_DEVICE , etc...
46 
47 #endif //_ESP3D_CONFIG_H