mirror of https://github.com/arendst/Tasmota.git
66 lines
2.5 KiB
C
66 lines
2.5 KiB
C
/*
|
|
tasmota_configurations_ESP32.h - ESP32 only Configurations for Tasmota
|
|
|
|
Copyright (C) 2021 Theo Arends
|
|
|
|
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 _TASMOTA_CONFIGURATIONS_ESP32_H_
|
|
#define _TASMOTA_CONFIGURATIONS_ESP32_H_
|
|
|
|
#ifdef ESP32
|
|
|
|
/*********************************************************************************************\
|
|
* [tasmota32-webcam.bin]
|
|
* Provide an image with useful supported sensors enabled
|
|
\*********************************************************************************************/
|
|
|
|
#ifdef FIRMWARE_WEBCAM
|
|
|
|
#undef CODE_IMAGE_STR
|
|
#define CODE_IMAGE_STR "webcam"
|
|
|
|
#define USE_WEBCAM
|
|
#undef USE_MI_ESP32 // (ESP32 only) Disable support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
|
|
#endif // FIRMWARE_WEBCAM
|
|
|
|
/*********************************************************************************************\
|
|
* [tasmota32-odroidgo.bin]
|
|
* Provide an image with useful supported sensors enabled
|
|
\*********************************************************************************************/
|
|
|
|
#ifdef FIRMWARE_ODROID_GO
|
|
|
|
#undef CODE_IMAGE_STR
|
|
#define CODE_IMAGE_STR "odroid-go"
|
|
|
|
#undef MODULE
|
|
#define MODULE ODROID_GO // [Module] Select default module from tasmota_template.h
|
|
#undef FALLBACK_MODULE
|
|
#define FALLBACK_MODULE ODROID_GO // [Module2] Select default module on fast reboot where USER_MODULE is user template
|
|
|
|
#define USE_ODROID_GO // Add support for Odroid Go
|
|
#define USE_SDCARD
|
|
#define USE_ADC
|
|
#define USE_SPI
|
|
#define USE_DISPLAY // Add SPI Display Support (+2k code)
|
|
#define USE_DISPLAY_ILI9341 // [DisplayModel 4] Enable ILI9341 Tft 480x320 display (+19k code)
|
|
#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash)
|
|
#endif // FIRMWARE_ODROID_GO
|
|
|
|
#endif // ESP32
|
|
|
|
#endif // _TASMOTA_CONFIGURATIONS_ESP32_H_
|