-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Open
Labels
Milestone
Description
Port, board and/or hardware
ESP32-C3 Super Mini
MicroPython version
1.26.1
Reproduction
import os
from platform import platform
from espnow import ESPNow
from network import AP_IF, STA_IF, WLAN
print(platform())
print(os.uname())
try:
print(f'INIT start')
if_ap = WLAN(AP_IF)
if_ap.active(False)
if_sta = WLAN(STA_IF)
if_sta.active(True)
if_sta.config(protocol=8) # WIFI_PROTOCOL_LR
esp_now = ESPNow()
esp_now.active(True)
esp_now.config(rate=0x29) # WIFI_PHY_RATE_LORA_250K
print('INIT complete')
except Exception as e:
print(e)Expected behaviour
MPY: soft reboot
MicroPython-1.24.1-riscv-IDFv5.2.2-with-newlib4.3.0
(sysname='esp32', nodename='esp32', release='1.24.1', version='v1.24.1 on 2024-11-29', machine='ESP32C3 module with ESP32C3')
INIT start
INIT complete
MPY: soft reboot
MicroPython-1.25.0-riscv-IDFv5.2.2-with-newlib4.3.0
(sysname='esp32', nodename='esp32', release='1.25.0', version='v1.25.0 on 2025-04-15', machine='ESP32C3 module with ESP32C3')
INIT start
INIT complete
Observed behaviour
MPY: soft reboot
MicroPython-1.26.0-riscv-IDFv5.4.2-with-newlib4.3.0
(sysname='esp32', nodename='esp32', release='1.26.0', version='v1.26.0 on 2025-08-09', machine='ESP32C3 module with ESP32C3')
INIT start
[Errno 1] EPERM: ESP_FAIL
MPY: soft reboot
MicroPython-1.26.1-riscv-IDFv5.4.2-with-newlib4.3.0
(sysname='esp32', nodename='esp32', release='1.26.1', version='v1.26.1 on 2025-09-11', machine='ESP32C3 module with ESP32C3')
INIT start
[Errno 1] EPERM: ESP_FAIL
Additional Information
| micropython | IDF | esp_now.config(rate=0x29) |
|---|---|---|
| ESP32_GENERIC_C3-20241129-v1.24.1.bin | 5.2.2 | ✅ |
| ESP32_GENERIC_C3-20250415-v1.25.0.bin | 5.2.2 | ✅ |
| ESP32_GENERIC_C3-20250809-v1.26.0.bin | 5.4.2 | ❌ |
| ESP32_GENERIC_C3-20250911-v1.26.1.bin | 5.4.2 | ❌ |
Code of Conduct
Yes, I agree