-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
RX and TX in use on QTPY ESP32S2 #5904
Comments
This should only be the case on DEBUG=1 builds. Did you try a DEBUG=0 build? |
That is with latest from S3. It doesn't look like there is any condition other than the pins definitions existing in circuitpython/supervisor/shared/serial.c Lines 62 to 74 in 5010170
Should the pins definition for the QT PY be conditioned by the DEBUG level, or should it be changed in serial.c with something like that ? #define CIRCUITPY_DEBUG_UART CIRCUITPY_DEBUG && defined(DEBUG_UART_TX) && defined(DEBUG_UART_RX) |
Ah, you are right. Yes, I expect it to be conditioned on whether it is a debug build. I'm not sure where the best place is to do that. |
Trying to use board.TX or board.RX, or board.UART raises a pin in use error. For example like this:
I assume that comes from #5894
circuitpython/ports/espressif/boards/adafruit_qtpy_esp32s2/mpconfigboard.h
Lines 53 to 54 in eeeef38
The text was updated successfully, but these errors were encountered: