Shellminator  V1.1.1
Simple Terminal
Loading...
Searching...
No Matches
Shellminator-Settings.hpp
Go to the documentation of this file.
1/*
2 * Created on Aug 10 2020
3 *
4 * Copyright (c) 2020 - Daniel Hajnal
5 * hajnal.daniel96@gmail.com
6 * This file is part of the Shellminator project.
7 * Modified 2022.05.08
8*/
9
10/*
11MIT License
12
13Copyright (c) 2020 Daniel Hajnal
14
15Permission is hereby granted, free of charge, to any person obtaining a copy
16of this software and associated documentation files (the "Software"), to deal
17in the Software without restriction, including without limitation the rights
18to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19copies of the Software, and to permit persons to whom the Software is
20furnished to do so, subject to the following conditions:
21
22The above copyright notice and this permission notice shall be included in all
23copies or substantial portions of the Software.
24
25THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31SOFTWARE.
32*/
33
34#ifndef SHELLMINATOR_SETTINGS_HPP_
35#define SHELLMINATOR_SETTINGS_HPP_
36
37#ifdef ARDUINO
38
39#ifndef SHELLMINATOR_USE_ARDUINO_SERIAL
40#define SHELLMINATOR_USE_ARDUINO_SERIAL
41#endif
42
43#if defined(ARDUINO_AVR_LEONARDO)
44#define SHELLMINATOR_USE_ARDUINO_32U4_SERIAL
45#endif
46
47#if defined(ARDUINO_AVR_MICRO)
48#define SHELLMINATOR_USE_ARDUINO_32U4_SERIAL
49#endif
50
51#endif
52
53#ifdef ESP32
54#ifndef SHELLMINATOR_USE_WIFI_CLIENT
55#define SHELLMINATOR_USE_WIFI_CLIENT
56#endif
57#endif
58
59#ifdef ESP8266
60#ifndef SHELLMINATOR_USE_WIFI_CLIENT
61#define SHELLMINATOR_USE_WIFI_CLIENT
62#endif
63#endif
64
65#endif