adafruit / circuitpython

CircuitPython - a Python implementation for teaching coding with microcontrollers
https://circuitpython.org
MIT License
3.96k stars 1.16k forks source link

ESPNow fails to initialize on ESP32 C6 DevKit C1 N8 board #9276

Open felipejfc opened 1 month ago

felipejfc commented 1 month ago

CircuitPython version

Tested both 9.1.0 beta 3 and 9.0.1

Code/REPL

]0;🐍Wi-Fi: off | REPL | 9.1.0-beta.3\
Adafruit CircuitPython 9.1.0-beta.3 on 2024-05-22; ESP32-C6-DevKitC-1-N8 with ESP32C6
>>> import os
>>> import espnow
>>> espnow.ESPNow()

Behavior

Traceback (most recent call last): ]0;🐍Wi-Fi: No IP | REPL | 9.1.0-beta.3\ File "", line 1, in espidf.IDFError: Generic Failure

Description

Error happen right when trying to initialize espnow driver. board has no problem to use espnow on esp-idf native project

Additional information

No response

tannewt commented 1 month ago

Hi @felipejfc, us Adafruit funded folks haven't done ESP-Now stuff. We're happy to help you debug this. The first step I do is with a debug build DEBUG=1 and then see the UART output for ESP-IDF logging. We're available US work hours on Discord: https://adafru.it/discord in #circuitpython-dev