Closed createskyblue closed 10 months ago
I temporarily fixed this issue by downgrading four files under ./cores/esp32. They are:
esp32-hal-uart.c esp32-hal-uart.h HardwareSerial.cpp HardwareSerial.h
I replaced them with the following files: esp32-hal-uart.zip
I feel confused because the latest releases of these four files in espressif/arduino-esp32 are consistent with those in Jason2866/platform-espressif32's latest releases. However, there is no issue in espressif's version. I believe further investigation is needed.
What are your reasons for wanting to use Tasmota Arduino Core 2.0.14 instead of the espressif Platformio official Core 2.0.14? As you already noticed there is no difference in the Arduino code regarding serial. Tasmota Arduino Core 2.0.14 claims no compability to anything official released. Since we have no issue using serial with Tasmota, there will be no investigation.
What are your reasons for wanting to use Tasmota Arduino Core 2.0.14 instead of the espressif Platformio official Core 2.0.14? As you already noticed there is no difference in the Arduino code regarding serial. Tasmota Arduino Core 2.0.14 claims no compability to anything official released. Since we have no issue using serial with Tasmota, there will be no investigation.
I want to use the NAPT (Network Address and Port Translation) functionality, which is available in Tasmota Arduino Core 2.0.14. This feature is crucial for my use case, and that's why I prefer Tasmota over the official espressif Platformio Core 2.0.14.
In any case, thank you for your response.
Hello everyone,
I've encountered an issue while using the Espressif32 platform in the Tasmota project. I noticed that this problem arises when I reference the latest version of the platform: platform-espressif32.zip. During my attempt to resolve the issue, I initiated a discussion on the issues page of the platformio/platform-espressif32 project, but later realized that this might not be the correct place.
@Jason2866 suggested that I submit the issue on the issues page of the espressif/arduino-esp32 project, but when I tried to reproduce the problem with the latest Arduino ESP32 releases, I was unsuccessful. Unfortunately, it seems like this issue is more related to Tasmota's platform-espressif32 project.
I would appreciate some guidance on whether it is suitable to initiate a discussion regarding this issue on the platform-espressif32 project page of Tasmota, as I am uncertain about the appropriateness of doing so here. Your insights would be valuable.
Problem description
The latest version of the Tasmota branch.
platform = https://github.com/tasmota/platform-espressif32/releases/download/2024.01.00/platform-espressif32.zip
"After customizing the serial Rx pin, data reception is not working properly. Below is the minimal code that reproduces the issue."
Esp32C3_dev_pio_Serial_test.zip
The purpose of this code is to print the data received from the serial port, but it doesn't work properly in this plaofmtio version.
I might not be very familiar with the GitHub platform and the upstream-downstream relationships within the Tasmota project. If any mistakes exist, I kindly request your understanding.Additionally, I'd like to mention that my attempt to raise issues on GitHub has been largely guided by assistance from ChatGPT, and as a result, there might be procedural errors.