-
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? |
Interesting workaround...glad to see you got it working! |
I am actually planning to implement all concepts from your video for zephry os. I making a lot of demos to put in my CV :) |
If it helps, I'm actually working on an "Intro to Zephyr" series next. My demo code is here if you'd like to take a look: https://github.com/ShawnHymel/introduction-to-zephyr. Only one episode covers RTOS stuff (basic multithreading and queues), so implementing the concepts from this series in Zephyr would be very helpful! Let me know, and I'll link to your work. |
I am not sure, how much will it make sense to abstract with QEMU. This one was focused on SW concepts, just required a running core. That being said I am looking for challenge. |
Added on LinkedIn! No worries on QEMU, I just figured my Intro to Zephyr repo might help getting started with Zephyr (if you have not already). |
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: