You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No additional hardware attached. However, to run the example sketch to demonstrate the issue, two digital pins need to be connected together somehow. This was done on a breadboard using a jumper wire.
No debug messages. Sketch runs without issue. However, the expected output is 50, not 100.
count = 100
### Other Steps to Reproduce
This is the same issue reported in this older thread:
https://github.com/espressif/arduino-esp32/issues/832
that was closed claiming it's not a BSP issue.
### I have checked existing issues, online documentation and the Troubleshooting Guide
- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
The text was updated successfully, but these errors were encountered:
portDISABLE_INTERRUPTS(); and portENABLE_INTERRUPTS(); are the equivalent to noInterrupts() and interrupts()
ESP32 runs FreeRTOS, thus, the sketch must be VERY careful using noInterrups() ...
Disabling Interrupts will lead to potential problems for most Arduino sketches such as WDT panic.
The example of this issue results in WDT Panic with a Guru Mediation Error.
count = 50
Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1).
Board
ESP32-PICO-MINI-02
Device Description
Adafruit Feather ESP32 V2
https://www.adafruit.com/product/5400
Hardware Configuration
No additional hardware attached. However, to run the example sketch to demonstrate the issue, two digital pins need to be connected together somehow. This was done on a breadboard using a jumper wire.
Version
v2.0.4
IDE Name
Arduino IDE
Operating System
Ubuntu
Flash frequency
n/a
PSRAM enabled
yes
Upload speed
921600
Description
The Arduino methods for disabling/enabling interrupts are no implemented:
https://www.arduino.cc/reference/en/language/functions/interrupts/nointerrupts/
https://www.arduino.cc/reference/en/language/functions/interrupts/interrupts/
Interrupts are "always on".
Sketch
Debug Message
The text was updated successfully, but these errors were encountered: