-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ESP32C3 #30
Comments
Thanks for the finding. I have corrected and just uploaded the new version 1.4.16. let me know |
Thanks! |
Hi again, I bought new SPS30 sensors for tests, when these arrived I did some extra tests with my old UART setup using only ESP32 boards, and I found that this validation (
In my library I have a similar block: case SERIALPORT2:
#if SOC_UART_NUM > 2
DEBUG("-->[SLIB] UART COMM port \t: Serial2");
if (pms_type == SENSORS::SSPS30)
Serial2.begin(speed_baud);
else
Serial2.begin(speed_baud, SERIAL_8N1, pms_rx, pms_tx, false);
_serial = &Serial2;
break;
#else
DEBUG("-->[SLIB] Force UART port \t: Serial1");
Serial1.begin(speed_baud, SERIAL_8N1, pms_rx, pms_tx);
_serial = &Serial1;
#endif |
Don't understand the issue. I use In the sketch the right Serial port to use should be provided. As indicated in the Readme, I kept the "old" structure in for backward compatibility. For future implementation with serial, I would rather see that example12 setup for serial communication is used. |
Overview
The library fails with ESP32C3 over Espressif 5.0.0 and also over Espressif 6.0.0. With other variants, like ESP32, 8266 and also
Atmelsam
works fine.Dependencies:
Thanks in advance.
The text was updated successfully, but these errors were encountered: