mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-16 07:16:30 +00:00
parent
b235dffb29
commit
11a43ea99b
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -7,7 +7,7 @@
|
||||
- [ ] Only relevant files were touched
|
||||
- [ ] Only one feature/fix was added per PR and the code change compiles without warnings
|
||||
- [ ] The code change is tested and works with Tasmota core ESP8266 V.2.7.4.9
|
||||
- [ ] The code change is tested and works with Tasmota core ESP32 V.2.0.7
|
||||
- [ ] The code change is tested and works with Tasmota core ESP32 V.2.0.8
|
||||
- [ ] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla).
|
||||
|
||||
_NOTE: The code change must pass CI tests. **Your PR cannot be merged unless tests pass**_
|
||||
|
@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
|
||||
### Breaking Changed
|
||||
|
||||
### Changed
|
||||
- ESP32 Framework (Core) from v2.0.7 to v2.0.8
|
||||
|
||||
### Fixed
|
||||
- ESP8266 Energy Export Active no update regression from v12.3.1.3
|
||||
|
@ -37,7 +37,7 @@ enum LoggingLevels {LOG_LEVEL_NONE, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_D
|
||||
time_t dos2unixtime(uint32_t dostime)
|
||||
/* Return the Unix time_t value (GMT/UTC time) for the DOS format (local)
|
||||
* time dostime, where dostime is a four byte value (date in most
|
||||
* significant word, time in least significant word), see dostime()
|
||||
* significant word, time in least significant word), see dostime()
|
||||
* function.
|
||||
*/
|
||||
{
|
||||
@ -174,8 +174,6 @@ public:
|
||||
bool setBufferSize(size_t size) {
|
||||
return true;
|
||||
}
|
||||
|
||||
#if ESP_ARDUINO_VERSION > ESP_ARDUINO_VERSION_VAL(2, 0, 5)
|
||||
bool seekDir(long position){
|
||||
if(!_f){
|
||||
return false;
|
||||
@ -189,7 +187,14 @@ public:
|
||||
}
|
||||
return _f.getNextFileName();
|
||||
}
|
||||
#endif
|
||||
String getNextFileName(bool *isDir)
|
||||
{
|
||||
if (!_f) {
|
||||
return "";
|
||||
}
|
||||
return _f.getNextFileName(isDir);
|
||||
|
||||
}
|
||||
|
||||
protected:
|
||||
File _f;
|
||||
@ -300,15 +305,12 @@ public:
|
||||
FileImplPtr openNextFile(const char* mode) {
|
||||
return nullptr; // TODO
|
||||
}
|
||||
|
||||
#if ESP_ARDUINO_VERSION > ESP_ARDUINO_VERSION_VAL(2, 0, 5)
|
||||
bool seekDir(long position){
|
||||
if(!_f){
|
||||
return false;
|
||||
}
|
||||
return _f.seekDir(position);
|
||||
}
|
||||
|
||||
String getNextFileName(void)
|
||||
{
|
||||
if (!_f) {
|
||||
@ -316,8 +318,14 @@ public:
|
||||
}
|
||||
return _f.getNextFileName();
|
||||
}
|
||||
#endif
|
||||
String getNextFileName(bool *isDir)
|
||||
{
|
||||
if (!_f) {
|
||||
return "";
|
||||
}
|
||||
return _f.getNextFileName(isDir);
|
||||
|
||||
}
|
||||
void rewindDirectory(void) {
|
||||
// ignore
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ build_flags = ${esp_defaults.build_flags}
|
||||
|
||||
[core]
|
||||
; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4. Added Backport for PWM selection
|
||||
platform = https://github.com/tasmota/platform-espressif8266/releases/download/2023.03.00/platform-espressif8266.zip
|
||||
platform = https://github.com/tasmota/platform-espressif8266/releases/download/2023.04.00/platform-espressif8266.zip
|
||||
platform_packages =
|
||||
build_unflags = ${esp_defaults.build_unflags}
|
||||
build_flags = ${esp82xx_defaults.build_flags}
|
||||
|
@ -42,7 +42,7 @@ extra_scripts = pre:pio-tools/add_c_flags.py
|
||||
${esp_defaults.extra_scripts}
|
||||
|
||||
[core32]
|
||||
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.02.00/platform-espressif32.zip
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/pre2.0.8/framework-arduinoespressif32.zip
|
||||
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.04.00/platform-espressif32.zip
|
||||
platform_packages =
|
||||
build_unflags = ${esp32_defaults.build_unflags}
|
||||
build_flags = ${esp32_defaults.build_flags}
|
||||
|
@ -108,7 +108,6 @@ public:
|
||||
}
|
||||
|
||||
#ifdef ESP32
|
||||
#if ESP_ARDUINO_VERSION > ESP_ARDUINO_VERSION_VAL(2, 0, 5)
|
||||
bool seekDir(long position){
|
||||
return false;
|
||||
// ignore
|
||||
@ -118,7 +117,11 @@ public:
|
||||
return "";
|
||||
// ignore
|
||||
}
|
||||
#endif
|
||||
String getNextFileName(bool *isDir)
|
||||
{
|
||||
return "";
|
||||
// ignore
|
||||
}
|
||||
#endif // ESP32
|
||||
|
||||
const char* name() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user