-
Notifications
You must be signed in to change notification settings - Fork 967
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BluePill Pin Interrupt not executing in this scenario #2175
Comments
Full build log. notice the line In file included from c:\Users\Danial\Documents\Arduino\libraries\STM32duino_FreeRTOS\src\heap.c:25:
|
This seems to be compiler problem. even after managing to use other types like std::string to get it working, adding more functions to the sketch reproduces the problem. it somehow disables the IRQ. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
The text was updated successfully, but these errors were encountered: