Describe the bug
This bug only appears in STM32 boards and runs fine on AVR boards.
the problem is that when a simple global variable is added to the sketch, it seems to somehow messes with the PIN interrupt of
rc-switch library. also note that I'm including STM32Freertos.h. if you comment it out the bug is gone. I have no idea why this happens but in earlier versions of the board manager I never had this problem
To Reproduce
Steps to reproduce the behavior:
1- compile with line 17 commented.
2- upload to board and after pressing any remote button you should get some output
3- compile with line 17 UNcommented
4- upload to board and after pressing any remote button we don't get anything.
Expected behavior
adding the global variable should not have any effect.
Screenshots

Desktop (please complete the following information):
- OS: [Windows 10 22H2 Enterprise]
- Arduino IDE version: [2.2.1]
- STM32 core version: [2.6.0]
- Tools menu settings if not the default: [e.g. Newlib Standard, No Serial]
- Upload method: [HID Bootloader]
Board (please complete the following information):
- Name: [Bluepill]
- Hardware Revision: [NA]
- Extra hardware used if any: [433 rf receiver]
Attached sketch
test_irq.zip
Describe the bug
This bug only appears in STM32 boards and runs fine on AVR boards.
the problem is that when a simple global variable is added to the sketch, it seems to somehow messes with the PIN interrupt of
rc-switch library. also note that I'm including STM32Freertos.h. if you comment it out the bug is gone. I have no idea why this happens but in earlier versions of the board manager I never had this problem
To Reproduce
Steps to reproduce the behavior:
1- compile with line 17 commented.
2- upload to board and after pressing any remote button you should get some output
3- compile with line 17 UNcommented
4- upload to board and after pressing any remote button we don't get anything.
Expected behavior
adding the global variable should not have any effect.
Screenshots

Desktop (please complete the following information):
Board (please complete the following information):
Attached sketch
test_irq.zip