-
Notifications
You must be signed in to change notification settings - Fork 126
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
task is blocked #12
Comments
https://github.com/aslansq/freertos_intro_qemu I dunno if you care to look at it :) but I implement all of your tutorials in qemu vanilla freertos. |
Awesome work! I linked to your repo from the README to hopefully help people who don't have the hardware. I don't know QEMU, but my guess is that the appropriate ISR is not implemented. In your code xPortSysTickHandler is declared but never defined (from what I can tell). It also might be related to the SysTick_Handler vs. xPortSysTickHandler naming issue in ARM CMSIS: FreeRTOS/FreeRTOS-Kernel#511 Sorry I don't have more info...maybe those links are helpful? |
That is weird it is stuck at 25. You are correct: taskENTER_CRITICAL should disable interrupts: https://www.freertos.org/Documentation/02-Kernel/04-API-references/04-RTOS-kernel-control/01-taskENTER_CRITICAL_taskEXIT_CRITICAL |
Anyways, I am surprised it worked for you. |
I actually haven't had a chance to try it yet. Did you manage to get it working? |
introduction-to-rtos/11-priority-inversion/esp32-freertos-11-solution-critical-section/esp32-freertos-11-solution-critical-section.ino
Line 102 in f2ae379
Hello
Thank you very much for all these great tutorials. Maybe this stupid question but here it goes:
I thought OS systick also interrupt based. When I run this code in QEMU, ofc it stops in this line forever since systick is never increased. Is this a bug? Sorry I dont have hardware to test it.
The text was updated successfully, but these errors were encountered: