Skip to content

Circuit Python Compatibility Issue

I was updating to the latest version of Circuit Python. 8.0.4 on an Adafruit M4 Express. I first updated to the latest 8.0.4 uf2, then I downloaded the latest 8.* library bundle: adafruit-circuitpython-bundle-8.x-mpy-20230326 and copied over the Adafruit_esp32spi folder. I downloaded the latest community bundle: circuit python-cummunity-bundle-8.x-mpy-20230324 (2 days earlier than circuit python bundle in name). (all from https://circuitpython.org/libraries) My code failed with:

Traceback (most recent call last):
  File "main.py", line 54, in <module>
  File "bluepad32/bluepad32.py", line 90, in update
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 299, in _wait_response_cmd
  File "adafruit_esp32spi/adafruit_esp32spi.py", line 274, in _wait_spi_char
BrokenPipeError: Error response to command

Line 54 in my code is b32.update()

Then I copied back over a bit older version of bluepad32 from circuit python-cummunity-bundle-8.x-mpy-20230223 (that I was using before) and that works. Maybe Adafruit_esp32spi snuck in something different?

If you would like any other help with this, let me know.