-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Describe the bug
Hello, I'm trying to use noInterrupts()
on my library and I notice the board stop working for no reason.
I create a simple sketch and the board stops when I call the noInterrupts()
. I tried to call interrupts()
first but nothing.
Does anyone have this problem?
To Reproduce
void setup() {
Serial.begin(115200);
Serial.println("Start noInterrupt test!");
delay(100);
noInterrupts(); // <------------- this makes the board to block and never goes to the loop
}
void loop() {
Serial.println("noInterrupt loop");
delay(100);
}
Desktop
- OS: Windows
- Arduino IDE version: 1.8.8
- STM32 core version: 1.8.0
- Upload method: STLink
Board
- Name: Generic STM32F1 series - BluePill F103C8
Additional context
I tested with other boards and has the same problem.